Closed Bug 2000 Opened 26 years ago Closed 26 years ago

pseudo-elements allowed at places other than the end of a selector

Categories

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

Other
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ian, Assigned: peterl-retired)

References

()

Details

See test #3 of the uri quoted. This is an error-handling bug. Note, BTW, that supporting P:first-line.three as is being 'supported' in that test is not only a violation of CSS1, it is also nonsensical. After all, how can a pseudo-class have a class? The markup cannot access it to *give* it a class!!! The correct CSS would be: P.three:first-line which is perfectly valid and *does* make sense (and is also supported by NGLayout, no problem there).
*** Bug 2011 has been marked as a duplicate of this bug. ***
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Oops. Misread the spec when adding CSS2 selector support. I thought this was allowed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.