W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] Parsing: should <foo><dd></foo> close the DD?

From: Simon Pieters <zcorpan@gmail.com>
Date: Fri, 20 Apr 2007 16:27:38 +0200
Message-ID: <op.tq26gcbi7a8kvn@hp-a0a83fcd39d2>
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>  

> 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
Received on Friday, 20 April 2007 07:27:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC