2010-09-13 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Sep 2010 17:40:44 +0000 (17:40 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Sep 2010 17:40:44 +0000 (17:40 +0000)
        Reviewed by Darin Adler.

        Fix </sarcasm>
        https://bugs.webkit.org/show_bug.cgi?id=45645

        Test that </sarcasm> works properly.

        * html5lib/resources/webkit02.dat:
2010-09-13  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Fix </sarcasm>
        https://bugs.webkit.org/show_bug.cgi?id=45645

        Umm... Yeah.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67396 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/html5lib/resources/webkit02.dat
WebCore/ChangeLog
WebCore/html/parser/HTMLTreeBuilder.cpp

index 24fddda..33830c7 100644 (file)
@@ -1,3 +1,14 @@
+2010-09-13  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Fix </sarcasm>
+        https://bugs.webkit.org/show_bug.cgi?id=45645
+
+        Test that </sarcasm> works properly.
+
+        * html5lib/resources/webkit02.dat:
+
 2010-09-13  Yury Semikhatsky  <yurys@chromium.org>
 
         Unreviewed. Rebaseline inspector/extensions-events.html
index 450643b..d29d124 100644 (file)
 |         "<strong>A</strong>"
 |       <span>
 |         "B"
+
+#data
+<div><sarcasm><div></div></sarcasm></div>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <div>
+|       <sarcasm>
+|         <div>
index 4d3334f..d5d88b2 100644 (file)
@@ -1,3 +1,15 @@
+2010-09-13  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Fix </sarcasm>
+        https://bugs.webkit.org/show_bug.cgi?id=45645
+
+        Umm... Yeah.
+
+        * html/parser/HTMLTreeBuilder.cpp:
+        (WebCore::HTMLTreeBuilder::processEndTagForInBody):
+
 2010-09-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
         Reviewed by Darin Adler.
index 47bd30a..f569036 100644 (file)
@@ -2010,10 +2010,6 @@ void HTMLTreeBuilder::processEndTagForInBody(AtomicHTMLToken& token)
         m_tree.openElements()->popUntilNumberedHeaderElementPopped();
         return;
     }
-    if (token.name() == "sarcasm") {
-        notImplemented(); // Take a deep breath.
-        return;
-    }
     if (isFormattingTag(token.name())) {
         callTheAdoptionAgency(token);
         return;