Closed Bug 1812 Opened 26 years ago Closed 26 years ago

CSS // should *not* be treated as comments

Categories

(Core :: CSS Parsing and Computation, defect, P2)

Other
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: peterl-retired)

Details

Two slashes (//) should not start a 1-line comment in CSS. This is a spec conformance issue. See section 7.1 of the CSS1 spec (along with 1.7). The equivalent sections in CSS2 are 4.2 and 4.1.9. ua.css should be changed to use /* and */
troy said he changed ua.css today. Now all that remains is to stop supporting these non-comments. They could be part of selectors someday...
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
QA Contact: 4110
setting chrisd as QA contact
Status: RESOLVED → VERIFIED
Verifying this as fixed based on test nineteenb in http://www.w3.org/Style/CSS/Test/current/sec71.htm
You need to log in before you can comment on or make changes to this bug.