Bug 42106 - HTML tags should break out of foreign content
Summary: HTML tags should break out of foreign content
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Eric Seidel (no email)
URL:
Keywords:
Depends on:
Blocks: 41123
  Show dependency treegraph
 
Reported: 2010-07-12 13:30 PDT by Eric Seidel (no email)
Modified: 2010-07-12 16:17 PDT (History)
1 user (show)

See Also:


Attachments
Patch (10.03 KB, patch)
2010-07-12 13:32 PDT, Eric Seidel (no email)
abarth: review+
abarth: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>