Bug 93857

Summary: HTMLTreeBuilder::furthestBlockForFormattingElement should belong to HTMLElementStack
Product: WebKit Reporter: Kwang Yul Seo <skyul>
Component: DOMAssignee: Kwang Yul Seo <skyul>
Severity: Normal CC: abarth, eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Kwang Yul Seo 2012-08-13 09:26:09 PDT
HTMLTreeBuilder::furthestBlockForFormattingElement should belong to HTMLElementStack because it traverses the element stack and finds the furthest formatting element. 

Currently, it belongs to HTMLTreeBuilder just because isSpecialNode(const HTMLStackItem*) function used by furthestBlockForFormattingElement is internal to HTMLTreeBuilder. By moving isSpecialNode to HTMLStackItem, we can move furthestBlockForFormattingElement to HTMLElementStack.
Comment 1 Kwang Yul Seo 2012-08-13 09:32:13 PDT
Created attachment 158016 [details]
Comment 2 Kwang Yul Seo 2012-08-13 09:33:01 PDT
This patch is just a refactoring, not relevant to speculative parsing.
Comment 3 WebKit Review Bot 2012-08-22 14:54:48 PDT
Comment on attachment 158016 [details]

Clearing flags on attachment: 158016

Committed r126355: <http://trac.webkit.org/changeset/126355>
Comment 4 WebKit Review Bot 2012-08-22 14:54:51 PDT
All reviewed patches have been landed.  Closing bug.