[Webkit-unassigned] [Bug 11389] New: CSS: Attribute selectors should be case-sensitive by default and only be case-insensitive for certain attributes values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 23 03:53:13 PDT 2006
http://bugs.webkit.org/show_bug.cgi?id=11389
Summary: CSS: Attribute selectors should be case-sensitive by
default and only be case-insensitive for certain
attributes values
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
URL: http://www.css3.info/selectors-test/
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: niels.leenheer at gmail.com
Current behavoir:
The values of all attributes are compared by using a case-insensitive method.
Correct behavoir:
The CSS specification says that the case-sensitivity is determined by the
document language. The HTML specification specifically tells us which
attributes are case-sensitive, case-neutral or case-insensitive. Because
attributes values are case-sensitive by default, we should treat unknown
attributes in a case-sensitive way.
The list of case-insensitive attributes is as follows:
lang, dir, http-equiv, text, link, vlink, alink, compact, align, frame, rules,
valign, scope, axis, nowrap, hreflang, rel, rev, charset, codetype, declare,
valuetype, shape, nohref, media, bgcolor, clear, color, face, noshade,
noresize, scrolling, target, method, enctype, accept-charset, accept, checked,
multiple, selected, disabled, readonly, language, defer, type
See also the following bugs:
http://bugzilla.mozilla.org/show_bug.cgi?id=357614
http://bugzilla.mozilla.org/show_bug.cgi?id=356936
http://bugs.kde.org/show_bug.cgi?id=135505
and
http://rakaz.nl/item/css_selector_bugs_case_sensitivity
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list