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 845 - Validator accepts selector ID starting with a number
Summary: Validator accepts selector ID starting with a number
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.0 (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://wolruf.free.fr/mozbug/css/test...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 04:52 UTC by Olivier Cahagne
Modified: 2005-09-08 12:54 UTC (History)
0 users

See Also:


Attachments

Description Olivier Cahagne 2004-08-24 04:52:38 UTC
this follows a bug report http://bugzilla.mozilla.org/show_bug.cgi?id=256684
where Mozilla 1.7 fixed this issue.

The ID starts with a number. Since an ID MUST NOT start with a number it is an
invalid ID. If one selector isn't correct the whole selector rule should be
ignored.

http://www.w3.org/TR/html401/types.html#type-name
http://www.w3.org/TR/2004/CR-CSS21-20040225/syndata.html#q10

Current CSS validator doesn't choke on test:
http://wolruf.free.fr/mozbug/css/test.html
Comment 1 Yves Lafon 2005-09-08 12:54:44 UTC
See on http://qa-dev.w3.org:8001/