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

[Bug 3581] Says Parse-Tree error for what im sure is a valid code

From: <bugzilla@wiggum.w3.org>
Date: Sat, 05 Aug 2006 16:53:49 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1G9PPJ-0003pr-I9@wiggum.w3.org>

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

           Summary: Says Parse-Tree error for what im sure is a valid code
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: ot@w3.org
        ReportedBy: cyaneyed@hotmail.co.uk
         QAContact: www-validator-cvs@w3.org


i use windows xp sevice pack 1.

i use the css validator to check whether my code is css compliant.
in my stylesheet i use the opacity codes:

filter:alpha(opacity=75);
-moz-opacity:0.75;
opacity:0.75;
-khtml-opacity:0.75;
padding-top: 10px;

when i test it in IE6 and Firefox 1.5.06 it works pretty well. i use it to make
my text areas semitransparent so that the background image shows through it.

when i check it with cssvalidator it says:
<--------------QUOTE-------------->
To work as intended, your CSS style sheet needs a correct document parse tree.
This means you should use valid HTML.
Errors
URI : http://www.cyaneyed.frih.net/homestyle.css

    * Line: 11 Context : body

      Parse Error - opacity=75)
    * Line: 12 Context : body

      Parse Error - -moz-opacity:0.75;
    * Line: 18

      Parse Error - :0.75; -khtml-opacity:0.75; padding-top: 10px; } 
<------------------END QUOTE---------------------->

but if the browsers interpret it correctly then why is the css validator saying
that its not valid css.
Received on Saturday, 5 August 2006 16:53:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:25 UTC