[whatwg] readystatechange for SCRIPT

On 9/9/11 3:40 PM, Ian Hickson wrote:
> Only documents; media elements don't use 'readystatechange' events (they
> have specific events for specific readyState transitions).

Ah, ok.

> This is what I'm leaning towards at the moment. Are there any objections
> to removing the readyState support from<script>  (reverting r6543) and
> moving onreadystatechange to HTMLDocument exclusively?

HTMLDocument, or Document?

If it's put on HTMLDocument exclusively, that would solve the 
XMLDocument.prototype problem as well.  But the readyState property 
seems to be on Document, not HTMLDocument....

In general, I have no objection to the change proposed above; just want 
to clarify where exactly we want to put the inline event handler property.

> Specific event names don't bubble or not bubble, only specific events
> bubble or not.

Well, yes, but in general there is only one kind of event normally 
dispatched for a given name.  But OK, we can wait and see on this.

-Boris

Received on Friday, 9 September 2011 14:09:23 UTC