This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html Multipage: http://www.whatwg.org/C#optional-tags Complete: http://www.whatwg.org/c#optional-tags Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/ Comment: Rules for omitting </thead> etc don't match the parser Posted from: 90.230.218.37 User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.49 Safari/537.36 OPR/16.0.1196.45 (Edition Next)
[[ A thead element's end tag may be omitted if the thead element is immediately followed by a tbody or tfoot element. A tbody element's start tag may be omitted if the first thing inside the tbody element is a tr element, and if the element is not immediately preceded by a tbody, thead, or tfoot element whose end tag has been omitted. (It can't be omitted if the element is empty.) A tbody element's end tag may be omitted if the tbody element is immediately followed by a tbody or tfoot element, or if there is no more content in the parent element. A tfoot element's end tag may be omitted if the tfoot element is immediately followed by a tbody element, or if there is no more content in the parent element. ]] Should probably list all of thead, tbody and tfoot
Yeah, this is similar to the other bug. The syntax section was trying to only mention conforming elements. Maybe we should leave it like that and instead change the other bug to just remove <dir>?
I prefer including the obsolete elements since it avoids bugs in serializers (e.g. not mentioning <bgsound> as first child of <body> means the serializer would omit <body> and the <bgsound> would be hoisted to head when parsing)
See also bug 22999 and bug 23000.
*** This bug has been marked as a duplicate of bug 22999 ***