"Fomafix" posted a comment on MediaWiki.r88118.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88118#c29473

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:

Reported as Bug 33703.

Further examples:

<div style="padding:.5em; background-color:black; color:red">red on black: 
<span style="border-bottom: 1px dotted black">border-bottom: 1px dotted 
black</span>, <span style="border-bottom: 1px dotted">border-bottom: 1px 
dotted</span>.</div>
<div style="padding:.5em; background-color:white; color:red">red on white: 
<span style="border-bottom: 1px dotted black">border-bottom: 1px dotted 
black</span>, <span style="border-bottom: 1px dotted">border-bottom: 1px 
dotted</span>.</div>
<div style="padding:.5em; background-color:black; color:white">white on black: 
<span style="border-bottom: 1px dotted black">border-bottom: 1px dotted 
black</span>, <span style="border-bottom: 1px dotted">border-bottom: 1px 
dotted</span>.</div>

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to