https://bugzilla.wikimedia.org/show_bug.cgi?id=54729
Web browser: ---
Bug ID: 54729
Summary: Restrict <abbr> formatting to where a title attribute
is present
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Skin and page rendering
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
The rule currently present in shared.css
abbr,
acronym,
.explain {
border-bottom: 1px dotted;
cursor: help;
}
should become
abbr[title],
.explain[title] {
border-bottom: 1px dotted;
cursor: help;
}
Reasoning:
* It does not make sense to draw attention to an <abbr> element that doesn't
have a title attribute because there is nothing special to see there.
* It matches Gecko's default stylesheet
(http://mxr.mozilla.org/mozilla-central/source/layout/style/html.css) and the
HTML5 style
(http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#phrasing-content-1).
* It does not negatively impact compatibility, as far as I know (IE 6 does not
support the [title] selector, but does not support the <abbr> element either).
* <acronym> elements are currently not allowed and won't be because they are
non-conforming in HTML5 (cf. bug 671, comment 37), so this part of the rule can
be dropped.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l