NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 626 - add more event-handler attributes, move event-handler attributes that are not global
add more event-handler attributes, move event-handler attributes that are not...
Classification: Unclassified
Component: HTML5 schema
All All
: P2 normal
Assigned To: Michael[tm] Smith
Depends on:
  Show dependency treegraph
Reported: 2009-07-31 13:22 CEST by Michael[tm] Smith
Modified: 2009-07-31 17:02 CEST (History)
1 user (show)

See Also:

patch with proposed change (9.04 KB, patch)
2009-07-31 16:54 CEST, Michael[tm] Smith

Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2009-07-31 13:22:56 CEST
The whattf schema is currently missing many event-handler attributes that are listed in the spec as global attributes. Also, the schema includes as global attributes the following three attributes that can only be specified on the <body> and <frameset> elements:

  - onbeforeunload
  - onmessage
  - onunload

So, those need to be moved out and included in the schema only as attributes for the <body> element.
Comment 1 Michael[tm] Smith 2009-07-31 14:19:59 CEST
also, onresize is not a global attribute either
Comment 2 Michael[tm] Smith 2009-07-31 16:54:31 CEST
Created attachment 113 [details]
patch with proposed change
Comment 3 Michael[tm] Smith 2009-07-31 17:02:27 CEST
syntax r454