better comments for JS_DOM_EVENT_ATTRS constant
This commit is contained in:
parent
26e89ae6d3
commit
1779f4a374
1 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
const JS_DOM_EVENT_ATTRS: &[&str] = &[
|
||||
// From WhatWG HTML spec 8.1.5.2 Event handlers on elements, Document objects, and Window objects:
|
||||
// From WHATWG HTML spec 8.1.5.2 'Event handlers on elements, Document objects, and Window objects':
|
||||
// https://html.spec.whatwg.org/#event-handlers-on-elements,-document-objects,-and-window-objects
|
||||
// https://html.spec.whatwg.org/#attributes-3 (table 'List of event handler content attributes')
|
||||
|
||||
// Global handlers
|
||||
// Global event handlers
|
||||
"onabort",
|
||||
"onauxclick",
|
||||
"onblur",
|
||||
|
@ -71,7 +71,7 @@ const JS_DOM_EVENT_ATTRS: &[&str] = &[
|
|||
"onwebkitanimationiteration",
|
||||
"onwebkitanimationstart",
|
||||
"onwebkittransitionend",
|
||||
// body and frameset elements
|
||||
// Event handlers for <body/> and <frameset/> elements
|
||||
"onafterprint",
|
||||
"onbeforeprint",
|
||||
"onbeforeunload",
|
||||
|
@ -88,7 +88,7 @@ const JS_DOM_EVENT_ATTRS: &[&str] = &[
|
|||
"onstorage",
|
||||
"onunhandledrejection",
|
||||
"onunload",
|
||||
// html element
|
||||
// Event handlers for <html/> element
|
||||
"oncut",
|
||||
"oncopy",
|
||||
"onpaste",
|
||||
|
|
Loading…
Reference in a new issue