You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The four details elements instead create four localized outlines. I can't figure out how that's more useful than making them transparent for the sake of the outline algorithm.
It seems that the details element should be undesignated as a sectioning root. At a minimum, there should be a note at https://html.spec.whatwg.org/multipage/forms.html#the-details-element describing this element as a sectioning root with a warning about this coding pattern not behaving as expected.
The text was updated successfully, but these errors were encountered:
patrickdark
changed the title
details Element Should Not Be a Sectioning Rootdetails Element Should Not Be a Sectioning Root for Outline Algorithm
Mar 19, 2017
Consider this HTML:
(I'm using XSLT to remodel all
nav
andsection
elements into like structures.)Intuitively, this document has a page title with four page headings.
Per my reading of the spec at https://html.spec.whatwg.org/multipage/semantics.html#sectioning-root, however, this document has a page title and four untitled sections. This seems to be confirmed by the Nu Html Checker at https://validator.w3.org/nu/?showoutline=yes#textarea.
The four
details
elements instead create four localized outlines. I can't figure out how that's more useful than making them transparent for the sake of the outline algorithm.It seems that the
details
element should be undesignated as a sectioning root. At a minimum, there should be a note at https://html.spec.whatwg.org/multipage/forms.html#the-details-element describing this element as a sectioning root with a warning about this coding pattern not behaving as expected.The text was updated successfully, but these errors were encountered: