Closed
Bug 160736
Opened 22 years ago
Closed 22 years ago
The [att~=value] selector does not function properly
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: macarie.neculai, Assigned: dbaron)
References
()
Details
Load the URL and go to "Attribute Selector" section (somewhere in the middle of the page). The [title~="section"] rule is not functioning properly (at least some of the examples should be red).
Comment 1•22 years ago
|
||
The problem is the case. Using this rule it works fine: p[title~="Section"] ->Style System
Assignee: jst → dbaron
Component: DOM Style → Style System
Assignee | ||
Comment 2•22 years ago
|
||
The title attribute is case sensitive, so the selector is. (See the part of CSS2 chapter 4 called "Characters and Case", which says that CSS is case insensitive except where it interacts with case-sensitive languages, which, in this case, HTML is). (See bug 12386, which was fixed a while ago.)
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•