Closed
Bug 74845
Opened 23 years ago
Closed 23 years ago
W3C CSS2+ class names support underscores (_)
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: jg, Assigned: glazou)
References
()
Details
Attachments
(2 files)
572 bytes,
patch
|
Details | Diff | Splinter Review | |
767 bytes,
text/html
|
Details |
The W3C Errata page at http://www.w3.org/Style/css2-updates/REC-CSS2-19980512-errata now gives support for the underscore (_) character in CSS class names. Example: a.foo-bar { text-decoration: underline; } could now be a.foo_bar { text-decoration: underline; } too. This apparently needs to be done to be conformant with xml 'name'... Needs to be added to Mozilla ASAP to prevent more bugs filed by web authors who are already using _ as IE5 supports it I believe *sigh*.
Reporter | ||
Comment 1•23 years ago
|
||
-> Daniel who says he can do this quickly.
Assignee: pierre → glazman
Keywords: mozilla0.9
Assignee | ||
Comment 3•23 years ago
|
||
Assignee | ||
Comment 4•23 years ago
|
||
Accepting assignment. Easy 1-line fix proposed above. Since this errata derives from the XML spec stating : [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* all NAME identifiers should be able to contain an underscore or start with an underscore. r= and sr= needed please.
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•23 years ago
|
||
Comment 6•23 years ago
|
||
r=bzbarsky@mit.edu testcase looks good with the patch.
Comment 7•23 years ago
|
||
sr=attinasi
Comment 8•23 years ago
|
||
r=pierre
Assignee | ||
Comment 9•23 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•23 years ago
|
||
Verified fixed on Linux, can someone do the same on Mac/Win32 please.
You need to log in
before you can comment on or make changes to this bug.
Description
•