Closed Bug 1123243 Opened 11 years ago Closed 11 years ago

Allow :not() to take a selector list

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 933562

People

(Reporter: sebo, Unassigned)

References

()

Details

The Selectors Level 4 specification extends the definiton of the :not() pseudo-class by allowing to specify a selector list instead of a simple selector. Example: data:text/html,<!DOCTYPE html><style type="text/css">p:not(.class1.class2){background-color:yellow;} p:not(.class1, .class2){color:blue;}</style><p class="class1 class2">first</p><p class="class2">second</p><p>third</p> In this example the second and third paragraph should have a yellow background and the third paragraph should have a blue text color. Sebastian
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.