[whatwg] Parsing: should <foo><dd></foo> close the DD?
Simon Pieters
zcorpan at gmail.com
Fri Apr 20 07:27:38 PDT 2007
I sent a bug report to Opera saying that given the markup
"<foo><dd></foo>X", X should be a sibling to FOO instead of a child of DD.
According to Anne the bug report was invalid per the current spec:
On Fri, 20 Apr 2007 09:03:29 +0200, <bug-261248-s1234 at bugs.opera.com>
wrote:
> I think this bug report is invalid. When you hit </foo> <dd> is the
> bottommost node of the stack. <dd> is in neither the formatting nor
> phrasing category (it's in special) and therefore the </foo> end tag is
> ignored.
However, in IE, Firefox and Safari, the DD does get closed at </foo>, so
perhaps this is a bug in the spec?
--
Simon Pieters
More information about the whatwg
mailing list