Bug 42106

Summary: HTML tags should break out of foreign content
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: New BugsAssignee: Eric Seidel (no email) <eric>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 41123    
Attachments:
Description Flags
Patch abarth: review+, abarth: commit-queue-

Description Eric Seidel (no email) 2010-07-12 13:30:19 PDT
HTML tags should break out of foreign content
Comment 1 Eric Seidel (no email) 2010-07-12 13:32:06 PDT
Created attachment 61263 [details]
Patch
Comment 2 Adam Barth 2010-07-12 13:48:33 PDT
Comment on attachment 61263 [details]
Patch

WebCore/html/HTMLTreeBuilder.cpp:1537
 +                  m_tree.openElements()->pop();
This feels like it should be popUntil(xhtmlNamespaceURI)
Comment 3 Eric Seidel (no email) 2010-07-12 14:15:12 PDT
(In reply to comment #2)
> (From update of attachment 61263 [details])
> WebCore/html/HTMLTreeBuilder.cpp:1537
>  +                  m_tree.openElements()->pop();
> This feels like it should be popUntil(xhtmlNamespaceURI)

Yeah, that'd be neat.  I'll look into it.
Comment 4 Eric Seidel (no email) 2010-07-12 16:17:12 PDT
Committed r63135: <http://trac.webkit.org/changeset/63135>