W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2011

Two CSS validator bugs

From: Chris Marks <chris@chrismarks.net>
Date: Tue, 08 Mar 2011 12:40:58 -0500
Message-ID: <4D766A2A.6060500@chrismarks.net>
To: www-validator-css@w3.org
Hi there,

Whenever I validate a page, every error is displayed something like this:

    Property opacity doesn't exist in CSS level 2 but exists in : 0.2 0.2

The first part, "Property opacity doesn't exist in CSS level 2 but 
exists in" is fine except for not having the CSS level in which the 
property exists (that's the first bug). The troubling part is the "0.2 
0.2" entry. It is displaying the CSS value a second time for every 
validated element. When I looked at the HTML for the validation results, 
I saw that it takes the following format:

<tr  class='error'>
  <td  class='linenumber'title='Line ###'>###</td>
   <td  class='codeContext'>  selector</td>

   <td  class='parse-error'>

   description : value

   <span  class="something">


So the value is being displayed twice, and because <span> is an inline 
element, it's just being displayed twice in sequence rather than with 
any kind of formatting.

Incidentally, when I validated the validation page's CSS it threw a 
bunch of "Same colors for color and background-color in two contexts" 
warnings. That amused me.


Received on Tuesday, 8 March 2011 22:36:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:47 UTC