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 21406 - [editorial] In "Content attributes" for each element, provide a very brief prose description of the purpose of each attribute
Summary: [editorial] In "Content attributes" for each element, provide a very brief pr...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 enhancement
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-26 19:31 UTC by Michael[tm] Smith
Modified: 2013-03-28 23:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael[tm] Smith 2013-03-26 19:31:52 UTC
This is a spec enhancement request.

In the "Content attributes" for each element, provide a (non-normative) prose description of the purpose of each attribute. I'd be glad to provide a spec patch to add it.

To explain what I mean: the "Content attributes" section for the <script> element currently looks like this:

-----
Content attributes:
  Global attributes
  src
  type
  charset
  async
  defer
  crossorigin
-----

...what I propose is that it be made to look like this:

-----
Content attributes:
  Global attributes
  src - address of the external script to use
  type - language of the script, or format of the data
  charset - character encoding of the external script
  async - for scripts that should be executed asynchronously
  defer - for scripts that should be executed after document parsing
  crossorigin - for other-origin scripts, whether error info is exposed
-----

Again, I'm glad to contribute a spec patch that adds this for all elements.
Comment 1 contributor 2013-03-28 23:27:20 UTC
Checked in as WHATWG revision r7780.
Check-in comment: Add more information in the element boxes
http://html5.org/tools/web-apps-tracker?from=7779&to=7780