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

Trumping bad proprietary code.

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Tue, 06 Nov 2012 15:25:08 +0000
Message-ID: <50992BD4.8000102@Rhul.Ac.Uk>
To: css-d@lists.css-discuss.org, "www-validator-css@w3.org" <www-validator-css@w3.org>
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
Received on Tuesday, 6 November 2012 15:25:39 UTC

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