Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Don’t auto-insert <summary> when there isn’t one already #1

Open
mathiasbynens opened this Issue · 0 comments

1 participant

@mathiasbynens

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 <details> 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.

(I hope the spec will change this in the future: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15455)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.