AddedAttributeOneventname

From HTML WG Wiki
Jump to: navigation, search

New onevent-name attributes can be specified globally on any element

Issue: Justification for adding the "onevent-name" attribute and the other specific events and the other new global event attributes: onabort, onbeforeunload, onblur, onchange, oncontextmenu, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, onload, onmessage, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload.

HTML 5 makes all event handler attributes from HTML 4 that take the form onevent-name global attributes and adds several new event handler attributes for new events it defines, such as the onmessage attribute which can be used together with the new event-source element and the cross-document messaging API.

Rationale: Why this Attribute Should be Added

  1. Provides functionality.
  2. List Rationale
  3. List Rationale
  4. List Rationale
  5. List Rationale
  6. Applicable Design Principles (proposed)
    • Specific Principle
    • Specific Principle
    • Specific Principle
    • Specific Principle

Rationale: Why this Attribute Should Not be Added

  1. List Rationale
  2. List Rationale
  3. List Rationale
  4. List Rationale
  5. List Rationale
  6. Applicable Design Principles (proposed)
    • Specific Principle
    • Specific Principle
    • Specific Principle
    • Specific Principle

Advice From Authorities

Research

Examples

Use Cases

Policies, Guidelines, and Law

Related References

Related E-mail: Month Year

Thread