[whatwg] Scoping elements and nested paragraphs

On Nov 12, 2008, at 1:49 AM, Tommy Thorsen wrote:

> Consider the following markup:
>   <p><object><p>X</p></p>
>
> The html5 parsing algorithm produces the following tree:
>   <html><head></head><body><p><object><p>X</p><p></p></object></p></ 
> body></html>
>
> whereas Firefox and Opera both produce:
>   <html><head></head><body><p><object><p>X</p></object></p></body></ 
> html>
>
> and IE produces:
>   <html><head></head><body><p><object></object></p></body></html>

For what it's worth, WebKit produces a DOM matching the HTML 5 parsing  
algorithm result above.

     -- Darin

Received on Wednesday, 12 November 2008 10:08:55 UTC