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

Received on Tuesday, 6 November 2012 15:25:39 UTC