HTML/summary: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎summary naming: noted on whatwg wiki)
Line 11: Line 11:
== summary element spec issues ==
== summary element spec issues ==
=== summary naming ===
=== summary naming ===
Issue noted on the WHATWG wiki: http://wiki.whatwg.org/wiki/Summary
* <code>&lt;summary&gt;</code> (inside <code>&lt;details&gt;</code>)  
* <code>&lt;summary&gt;</code> (inside <code>&lt;details&gt;</code>)  
** need a more specific name. summary is too generic sounding of an element name for this special usage.  Similar to the problem with <code>&lt;address&gt;</code> (special use - for contact information for the document, but used as a generic "address" for street addresses).
** need a more specific name. summary is too generic sounding of an element name for this special usage.  Similar to the problem with <code>&lt;address&gt;</code> (special use - for contact information for the document, but used as a generic "address" for street addresses).

Revision as of 20:42, 3 August 2010

Welcome to the Mozilla wiki page on the HTML5 <summary> element. Please feel free to contribute new test pages or new sections. -- Tantek

This article is a stub. You can help MozillaWiki by expanding it.

summary element test pages

  • ...

summary element demo pages

  • ...

summary element spec issues

summary naming

Issue noted on the WHATWG wiki: http://wiki.whatwg.org/wiki/Summary

  • <summary> (inside <details>)
    • need a more specific name. summary is too generic sounding of an element name for this special usage. Similar to the problem with <address> (special use - for contact information for the document, but used as a generic "address" for street addresses).
    • alternatively make a generic <summary> element - make it an actual summary inside <article> or <body>, as well as inside <details>. Another advantage is that this is close to the semantic of the Atom "summary" element, and the hAtom microformat 'entry-summary' property.

I prefer the second solution, make the <summary> element more generic/flexible. Tantek 01:41, 22 July 2010 (UTC)

see also