Closed Bug 3460 Opened 26 years ago Closed 26 years ago

whitespace handling in attribute selectors

Categories

(Core :: CSS Parsing and Computation, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: peterl-retired)

References

()

Details

You're not allowing all of the permitted whitespace on attribute selectors. See the grammar of CSS2: http://www.w3.org/TR/REC-CSS2/grammar.html You should allow whitespace on either side of the equality symbol ("=", "~=", or "|=") Specifically, you're missing: H2[ title ~= "Hello" ] H2[title~= "World"] P[lang |=en] P[lang= "en-US" ] DIV[ title= "Test One"]
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Verified fixed.
You need to log in before you can comment on or make changes to this bug.