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 2919 - Validator passes various kinds of 'escaped' HTML-style comments
Summary: Validator passes various kinds of 'escaped' HTML-style comments
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.0 (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 22:15 UTC by CecilWard
Modified: 2006-04-21 05:38 UTC (History)
0 users

See Also:


Attachments
odd html-style comments in css style sheet (83 bytes, text/css)
2006-04-21 05:36 UTC, Olivier Thereaux
Details

Description CecilWard 2006-02-22 22:15:47 UTC
I assume that none of the following are valid if my reading of the CSS 2.1
grammar is correct -

<\!-- \-->
<\!-- -\->
<\!-- -\\->
<\!-- --\>
<\!-- --\\>
<\\\\\\\\\\\\\\\\!-- --\\>

yet are passed by the CSS validator.

Regards,

Cecil Ward.
Comment 1 Olivier Thereaux 2006-04-21 05:36:58 UTC
Created attachment 425 [details]
odd html-style comments in css style sheet
Comment 2 Olivier Thereaux 2006-04-21 05:38:35 UTC
Fixed in CVS by Jean-Guilhem Rouel.
The validator now should throw a lexical error.