This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6474 - Event handler DOM attributes on HTMLDocument
Summary: Event handler DOM attributes on HTMLDocument
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 10:17 UTC by Simon Pieters
Modified: 2010-10-04 14:30 UTC (History)
3 users (show)

See Also:


Attachments

Description Simon Pieters 2009-01-27 10:17:18 UTC
HTML5 needs to expose event handler DOM attributes on HTMLDocument.

IE8, Firefox, WebKit and Opera support

   <script>document.onclick = function(e) { alert(1) }</script>

and I'm pretty sure Web pages depend on this.