Re: Conformance of documents using IDL attributes outside the spec

Ignoring the HTML 5 aspects of this question (about which
I know too little to comment meaningfully), on what basis
do you believe that including :


> <script>
> document.body.onpaste = function () { alert('No paste!'); return false }
> </script>

in an otherwise-valid HTML document could render it non-
conformant, and similarly on what grounds do you believe
that

> user agents that handle
> onpaste as an event handler [might be] nonconforming

?

Unless I am misunderstanding the whole concept of conformance,
it refers (in this context) to the HTML of which the page is
composed; modifications to the DOM do not affect that HTML,
and therefore a page that was conformant before the script
ran would still be conformant afterwards, would it not ?

Philip Taylor

Received on Friday, 8 November 2013 13:49:16 UTC