This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 328 - Parse error for .not/.only class selector
Summary: Parse error for .not/.only class selector
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.0 (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-30 08:49 UTC by Bj
Modified: 2004-03-30 13:30 UTC (History)
0 users

See Also:


Attachments

Description Bj 2003-08-30 08:49:00 UTC
CSS Validator throws a parse error for selectors referring to a "not" class, 
e.g.

.not { color: red }
Comment 2 Yves Lafon 2004-03-30 08:30:01 UTC
Fixed by defining class as
  < CLASS : "." <IDENT> >
instead of asking for "." <IDENT> (and matching <MEDIARESTRICTOR> for failure)