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.
Created attachment 158016 [details]
This patch is just a refactoring, not relevant to speculative parsing.
Comment on attachment 158016 [details]
Clearing flags on attachment: 158016
Committed r126355: <http://trac.webkit.org/changeset/126355>
All reviewed patches have been landed. Closing bug.