Title: [109373] branches/chromium/963
Revision
109373
Author
[email protected]
Date
2012-03-01 11:14:35 -0800 (Thu, 01 Mar 2012)

Log Message

Merge 108311
BUG=114911
Review URL: https://chromiumcodereview.appspot.com/9568022

Modified Paths

Diff

Modified: branches/chromium/963/LayoutTests/html5lib/resources/webkit02.dat (109372 => 109373)


--- branches/chromium/963/LayoutTests/html5lib/resources/webkit02.dat	2012-03-01 19:12:29 UTC (rev 109372)
+++ branches/chromium/963/LayoutTests/html5lib/resources/webkit02.dat	2012-03-01 19:14:35 UTC (rev 109373)
@@ -124,3 +124,18 @@
 | <aside>
 |   <em>
 |     <b>
+
+#data
+<isindex action=""
+#errors
+#document-fragment
+table
+#document
+| <form>
+|   action=""
+| <hr>
+| <label>
+|   "This is a searchable index. Enter search keywords: "
+|   <input>
+|     name="isindex"
+| <hr>

Modified: branches/chromium/963/Source/WebCore/html/parser/HTMLTreeBuilder.cpp (109372 => 109373)


--- branches/chromium/963/Source/WebCore/html/parser/HTMLTreeBuilder.cpp	2012-03-01 19:12:29 UTC (rev 109372)
+++ branches/chromium/963/Source/WebCore/html/parser/HTMLTreeBuilder.cpp	2012-03-01 19:14:35 UTC (rev 109373)
@@ -566,10 +566,8 @@
     notImplemented(); // Acknowledge self-closing flag
     processFakeStartTag(formTag);
     RefPtr<Attribute> actionAttribute = token.getAttributeItem(actionAttr);
-    if (actionAttribute) {
-        ASSERT(m_tree.currentElement()->hasTagName(formTag));
-        m_tree.currentElement()->setAttribute(actionAttr, actionAttribute->value());
-    }
+    if (actionAttribute)
+        m_tree.form()->setAttribute(actionAttr, actionAttribute->value());
     processFakeStartTag(hrTag);
     processFakeStartTag(labelTag);
     RefPtr<Attribute> promptAttribute = token.getAttributeItem(promptAttr);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to