Commit ae437c10 authored by costan@gmail.com's avatar costan@gmail.com

Remove FIXIT pointing to WONTFIX bug in HTMLTreeBuilder.

BUG=

Review URL: https://codereview.chromium.org/317733008

git-svn-id: svn://svn.chromium.org/blink/trunk@175743 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d25c7475
......@@ -295,9 +295,8 @@ HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, DocumentFragment* f
, m_options(options)
{
ASSERT(isMainThread());
// FIXME: This assertion will become invalid if <http://webkit.org/b/60316> is fixed.
ASSERT(contextElement);
if (contextElement) {
// Steps 4.2-4.6 of the HTML5 Fragment Case parsing algorithm:
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#fragment-case
// For efficiency, we skip step 4.2 ("Let root be a new html element with no attributes")
......@@ -309,7 +308,6 @@ HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, DocumentFragment* f
resetInsertionModeAppropriately();
m_tree.setForm(closestFormAncestor(*contextElement));
}
}
HTMLTreeBuilder::~HTMLTreeBuilder()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment