Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mathiasbynens opened this issue Jan 2, 2012 · 0 comments
Open

Comments

@mathiasbynens
Copy link
Owner

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant