Title: [123284] trunk/Source/WebCore
Revision
123284
Author
commit-qu...@webkit.org
Date
2012-07-20 19:46:29 -0700 (Fri, 20 Jul 2012)

Log Message

Anything else in the "in table" insertion mode is a parse error
https://bugs.webkit.org/show_bug.cgi?id=91915

Patch by Kwang Yul Seo <sk...@company100.net> on 2012-07-20
Reviewed by Adam Barth.

According to the HTML5 spec, anything else in the "in table" insertion mode is a parse error.

No behavior change because parseError(token) is just a marker.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTagForInTable):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (123283 => 123284)


--- trunk/Source/WebCore/ChangeLog	2012-07-21 02:00:46 UTC (rev 123283)
+++ trunk/Source/WebCore/ChangeLog	2012-07-21 02:46:29 UTC (rev 123284)
@@ -1,3 +1,17 @@
+2012-07-20  Kwang Yul Seo  <sk...@company100.net>
+
+        Anything else in the "in table" insertion mode is a parse error
+        https://bugs.webkit.org/show_bug.cgi?id=91915
+
+        Reviewed by Adam Barth.
+
+        According to the HTML5 spec, anything else in the "in table" insertion mode is a parse error.
+
+        No behavior change because parseError(token) is just a marker.
+
+        * html/parser/HTMLTreeBuilder.cpp:
+        (WebCore::HTMLTreeBuilder::processEndTagForInTable):
+
 2012-07-20  Kent Tamura  <tk...@chromium.org>
 
         Rename ENABLE_DATALIST to ENABLE_DATALIST_ELEMENT

Modified: trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp (123283 => 123284)


--- trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp	2012-07-21 02:00:46 UTC (rev 123283)
+++ trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp	2012-07-21 02:46:29 UTC (rev 123284)
@@ -1962,6 +1962,7 @@
         parseError(token);
         return;
     }
+    parseError(token);
     // Is this redirection necessary here?
     HTMLConstructionSite::RedirectToFosterParentGuard redirecter(m_tree);
     processEndTagForInBody(token);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to