[Bug 1504] New: Validator chokes on the Tantek Mid Pass Filter (MPF) under specific conditions

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1504

           Summary: Validator chokes on the Tantek Mid Pass Filter (MPF)
                    under specific conditions
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
               URL: http://www.jessemccarthy.net/testing/mid_pass_filter/
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: CSS 2.0
        AssignedTo: ot@w3.org
        ReportedBy: w3bugzilla@jessemccarthy.net
         QAContact: www-validator-cvs@w3.org


The CSS validator chokes on the Tantek Mid Pass Filter (MPF) in certain 
situations.  For some reason it parses the stylesheet incorrectly and get's 
fooled by the escaped quote.  The error reported is "Parse error - 
Unrecognized : @import 'stylesheet.css';".

The example I linked to shows two pages, almost identical, both valid XHTML 
strict, that both link to the same two stylesheets, one of which implements 
the MPF.  The only difference between the pages is the order in which they 
link to the stylesheets.  One passes CSS validation, the other doesn't.

Received on Monday, 20 June 2005 22:06:44 UTC