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

Re: Anomaly that has been around since 2008/9

From: David Dorward <david@dorward.me.uk>
Date: Wed, 10 Oct 2012 17:19:08 +0100
Cc: <www-validator@w3.org>
Message-Id: <7BA99C6E-FBED-4EAF-BD8E-53626732729F@dorward.me.uk>
To: Paul de Freitas <paul@defreitas.info>
On 8 Oct 2012, at 14:53, Paul de Freitas <paul@defreitas.info> wrote:
> The following generates an error  note that onload does not generate an error:

The onload attribute has been defined in HTML for a while. 

> Line 54, Column 101: there is no attribute "onresize"

onresize  hasn't. It is a vendor proprietary extension (as mentioned in the explanation for the error).

> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

Generally speaking, intrinsic event attributes should be avoided anyway.


David Dorward
Received on Wednesday, 10 October 2012 16:19:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:07 UTC