W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2006

[Bug 3313] Validator does not accept comments between tokens

From: <bugzilla@wiggum.w3.org>
Date: Mon, 05 Jun 2006 19:45:52 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1FnL1M-0005Ri-AJ@wiggum.w3.org>


           Summary: Validator does not accept comments between tokens
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
               URL: http://www.mit.edu/~cananian/tsE/
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.1
        AssignedTo: ot@w3.org
        ReportedBy: w3c@cscott.net
         QAContact: www-validator-cvs@w3.org

The CSS2.1 spec says that comments can appear between any two tokens.

In this CSS stylesheet:

The CSS validator complains about the context "ieMacOnly" which is the
following code (an unfortunately necessary workaround for an IE/Mac bug):

/* \*/ ieMacOnly /**/
* html #sidebar { position: absolute; top:175px; left:0; margin-left: 0; }

This should be parsed as the selector:

ieMacOnly * html #sidebar

but the CSS validator is choking on it.

(There's also some CSS which is *actually* invalid in that stylesheet, in the
"#beaver" context, which is an evil microsoft-specific style needed to get
transparent PNGs to work.  That has no impact on the actual bug discussed

The URLs cited in this bug report are temporary; email me if they have
disappeared by the time you are looking at this bug.
Received on Monday, 5 June 2006 19:46:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:17 UTC