W3C home > Mailing lists > Public > www-validator-css@w3.org > May 2010

Option to ignore proprietary properties

From: Pierre Rudloff <tael67@gmail.com>
Date: Sun, 09 May 2010 19:33:38 +0200
Message-ID: <4BE6F1F2.1040504@gmail.com>
To: www-validator-css@w3.org
Hello,
It would be useful to have an option to just ignore rules/properties 
beginning with -moz.
These things have some legitimate use (userContent.css, stylesheets 
associated with XUL).

For example, in the following code, the validator will stop at the first 
rule and will not try to validate what is inside it :
@-moz-document domain(newgrounds.com) {
DIV[CLASS*="adhead"],
DIV[CLASS*="wide_storepromo"],
DIV[CLASS*="onethirdadholder"],
DIV[CLASS*="adfoot"],
A[CLASS*="cpmstarHeadline"],
A[CLASS*="cpmstarText"],
IFRAME[SRC*="server.cpmstar.com"]
{display: none ! important}
}

Couldn't it just ignore the @-rule and validate the rest of the code 
(with a box to check or something like that) ?

Thanks.

-- 
Pierre Rudloff
Received on Sunday, 9 May 2010 17:34:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:26 GMT