"Fomafix" posted a comment on MediaWiki.r88118.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88118#c29360
Commit summary for MediaWiki.r88118:
Fix Bug 28979 — “remove some CSS for abbr and acronym tags”
The <abbr> and <acronym> tags were whitelisted with bug 671, but
there are some CSS rules for them since long, long times. They can
be found in the first versions of chick, monobook and are carried
on to vector skin.
Often these tags are used in links, e.g. [[Normalnull|<abbr
title="meter above see level">NN</abbr>]]. But in here the
color:black; makes the text unrecognizable as a hyperlink
(together with the senseful cursor:help; rule).
When these rules where meant to override some crazy
browserdependent default settings, they should be be changed to
"inherit".
from Bergi
Fomafix's comment:
<syntaxhighlight lang="css">
border-bottom: 1px dotted black;
</syntaxhighlight>
should be replaced by
<syntaxhighlight lang="css">
border-bottom: 1px dotted;
</syntaxhighlight>
to get a border in the same color like the current text color:
# <span style="color:red">red text with <span style="border-bottom: 1px dotted
black">border-bottom: 1px dotted black</span>.</span>
# <span style="color:red">red text with <span style="border-bottom: 1px
dotted">border-bottom: 1px dotted</span>.</span>
* http://www.w3.org/TR/CSS2/box.html#border-color-properties
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview