[Webkit-unassigned] [Bug 14373] CSS1: selectors (classes and IDs) cannot start with a dash or with a digit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 25 11:56:00 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14373





------- Comment #2 from browserbugs at gtalbot.org  2007-06-25 11:55 PDT -------
Latest CSS 2.1 spec seems to suggest that identifiers can start with a hyphen
(-) followed by an alphabetic character [A-Za-z].

Also,
CSS 2.1, section G.3 Comparison of tokenization in CSS 2.1 and CSS1
http://www.w3.org/TR/CSS21/grammar.html#tokenizer-diffs
says 
{
In CSS1, a class name could start with a digit (".55ft")
}
which is not true.

Finally, HTML 4.01 claims that
{
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by
any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons
(":"), and periods (".").
}
http://www.w3.org/TR/html4/types.html#type-id


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list