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)

x86
Windows 2000
defect
Not set
normal

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).
The problem is the case. Using this rule it works fine:
p[title~="Section"]

->Style System
Assignee: jst → dbaron
Component: DOM Style → Style System
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.