mathiasbynens/jquery-details — Issue #1: Don’t auto-insert <summary> when there isn’t one already
Author: mathiasbynens
Created: 2012-01-02 20:41:52+00:00
State: open

http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html#the-details-element:

> If there is no child `summary` element, the user agent should provide its own legend (e.g. “Details”).

Chrome (the only browser with a working `

` implementation) does just that — provide a text legend saying “Details”. This is just a text node, not a child of a `summary` element.

Consider matching this behavior.