W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2012

RE: [css-d] Trumping bad proprietary code.

From: Barney Carroll <barney.carroll@gmail.com>
Date: Tue, 6 Nov 2012 15:33:12 +0000
Message-ID: <2450926960744781350@unknownmsgid>
To: "css-d@lists.css-discuss.org" <css-d@lists.css-discuss.org>, "www-validator-css@w3.org" <www-validator-css@w3.org>, Philip TAYLOR <P.Taylor@rhul.ac.uk>

The position was relative anyway — a new rule matching a selector does not
override all previous rules: it extends them (individual properties will be

The W3C validator takes the sum of all things and statically analyses to
see if there’s anything invalid in there at all. It’s a lexer, not a
parser, so whatever the computed value of things is is no business of
its. The zoom property’s still there somewhere, so it’s still invalid.

Meanwhile, you’ll be pleased to know other browsers are implementing zoom

WebKit is the new Trident!

Sent from Windows Mail

 *From:* Philip TAYLOR <P.Taylor@rhul.ac.uk>
*Sent:* ‎November‎ ‎6‎, ‎2012 ‎3‎:‎25‎ ‎PM
*To:* css-d@lists.css-discuss.org,www-validator-css@w3.org
*Subject:* [css-d] Trumping bad proprietary code.

Wishing (as always) to keep my sites 100% W3C standards compliant,
I am stuck with a bad property in proprietary code.  The offending
rule reads :

        .qmmc {position:relative;zoom:1;}

and so (rather naively) I inserted a later rule in my local
customisations that reads :

        .qmmc {position:relative}

Unfortunately (of course) the Validator still barfs on the earlier
entry.  If it had been a bad property value such as "position:
sideways", I am reasonably confident that a subsequent re-definition
as "position: relative" would have been fine, in that (presumably but
not certainly) the validator evaluates the cascade before deciding
which rules to validate (is this assertion true ?), but given that
it is not a bad property value but a bad property, is there nothing
I can do short of hacking proprietary code to make this site valid ?

Philip Taylor
css-discuss [css-d@lists.css-discuss.org]
List wiki/FAQ --
List policies --
Supported by evolt.org --
Received on Tuesday, 6 November 2012 15:33:42 UTC

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