RESOLVED FIXED 41503
Implement processFakePEndTagIfPInScope
https://bugs.webkit.org/show_bug.cgi?id=41503
Summary Implement processFakePEndTagIfPInScope
Adam Barth
Reported 2010-07-01 22:20:29 PDT
Implement processFakePEndTagIfPInScope
Attachments
Patch (10.92 KB, patch)
2010-07-01 22:22 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2010-07-01 22:22:15 PDT
Eric Seidel (no email)
Comment 2 2010-07-02 00:51:31 PDT
Comment on attachment 60335 [details] Patch WebCore/html/HTMLTreeBuilder.cpp:313 + if (!m_openElements.inScope(pTag.localName())) This is sad. We'll add a QualifiedName version. WebCore/html/HTMLTreeBuilder.cpp:315 + AtomicHTMLToken endP(HTMLToken::EndTag, pTag.localName()); We need an function to handle this token creation for us. I think AtomicHTMLTokens should be copyable and that would simplify a lot of this code.
WebKit Commit Bot
Comment 3 2010-07-02 03:26:38 PDT
Comment on attachment 60335 [details] Patch Clearing flags on attachment: 60335 Committed r62376: <http://trac.webkit.org/changeset/62376>
WebKit Commit Bot
Comment 4 2010-07-02 03:26:43 PDT
All reviewed patches have been landed. Closing bug.
Adam Barth
Comment 5 2010-07-02 18:58:13 PDT
> This is sad. We'll add a QualifiedName version. Ok. > WebCore/html/HTMLTreeBuilder.cpp:315 > + AtomicHTMLToken endP(HTMLToken::EndTag, pTag.localName()); > We need an function to handle this token creation for us. I think AtomicHTMLTokens should be copyable and that would simplify a lot of this code. I don't understand how copyable tokens would help here. The P end tag gets invented out of whole cloth.
Note You need to log in before you can comment on or make changes to this bug.