Title: [109374] branches/chromium/1025
Revision
109374
Author
[email protected]
Date
2012-03-01 11:18:47 -0800 (Thu, 01 Mar 2012)

Log Message

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

Modified Paths

Diff

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


--- branches/chromium/1025/LayoutTests/html5lib/resources/webkit02.dat	2012-03-01 19:14:35 UTC (rev 109373)
+++ branches/chromium/1025/LayoutTests/html5lib/resources/webkit02.dat	2012-03-01 19:18:47 UTC (rev 109374)
@@ -134,3 +134,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/1025/Source/WebCore/html/parser/HTMLTreeBuilder.cpp (109373 => 109374)


--- branches/chromium/1025/Source/WebCore/html/parser/HTMLTreeBuilder.cpp	2012-03-01 19:14:35 UTC (rev 109373)
+++ branches/chromium/1025/Source/WebCore/html/parser/HTMLTreeBuilder.cpp	2012-03-01 19:18:47 UTC (rev 109374)
@@ -586,10 +586,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