Title: [146904] trunk
- Revision
- 146904
- Author
- rafa...@chromium.org
- Date
- 2013-03-26 10:24:00 -0700 (Tue, 26 Mar 2013)
Log Message
HTMLStackItem should include <template> as a special tag
https://bugs.webkit.org/show_bug.cgi?id=113016
Reviewed by Eric Seidel.
Source/WebCore:
New test added to html5lib suite.
* html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::isSpecialNode):
LayoutTests:
* html5lib/resources/template.dat:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (146903 => 146904)
--- trunk/LayoutTests/ChangeLog 2013-03-26 17:22:13 UTC (rev 146903)
+++ trunk/LayoutTests/ChangeLog 2013-03-26 17:24:00 UTC (rev 146904)
@@ -1,3 +1,12 @@
+2013-03-26 Rafael Weinstein <rafa...@chromium.org>
+
+ HTMLStackItem should include <template> as a special tag
+ https://bugs.webkit.org/show_bug.cgi?id=113016
+
+ Reviewed by Eric Seidel.
+
+ * html5lib/resources/template.dat:
+
2013-03-26 Vsevolod Vlasov <vse...@chromium.org>
Web Inspector: Distinguish breakpoints and breakpoint locations in BreakpointManager API
Modified: trunk/LayoutTests/html5lib/resources/template.dat (146903 => 146904)
--- trunk/LayoutTests/html5lib/resources/template.dat 2013-03-26 17:22:13 UTC (rev 146903)
+++ trunk/LayoutTests/html5lib/resources/template.dat 2013-03-26 17:24:00 UTC (rev 146904)
@@ -1258,3 +1258,15 @@
| <div>
| <body>
| <div>
+
+#data
+<dummy><template><span></dummy>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <dummy>
+| <template>
+| content
+| <span>
Modified: trunk/Source/WebCore/ChangeLog (146903 => 146904)
--- trunk/Source/WebCore/ChangeLog 2013-03-26 17:22:13 UTC (rev 146903)
+++ trunk/Source/WebCore/ChangeLog 2013-03-26 17:24:00 UTC (rev 146904)
@@ -1,3 +1,15 @@
+2013-03-26 Rafael Weinstein <rafa...@chromium.org>
+
+ HTMLStackItem should include <template> as a special tag
+ https://bugs.webkit.org/show_bug.cgi?id=113016
+
+ Reviewed by Eric Seidel.
+
+ New test added to html5lib suite.
+
+ * html/parser/HTMLStackItem.h:
+ (WebCore::HTMLStackItem::isSpecialNode):
+
2013-03-26 Vsevolod Vlasov <vse...@chromium.org>
Web Inspector: Distinguish breakpoints and breakpoint locations in BreakpointManager API
Modified: trunk/Source/WebCore/html/parser/HTMLStackItem.h (146903 => 146904)
--- trunk/Source/WebCore/html/parser/HTMLStackItem.h 2013-03-26 17:22:13 UTC (rev 146903)
+++ trunk/Source/WebCore/html/parser/HTMLStackItem.h 2013-03-26 17:24:00 UTC (rev 146904)
@@ -196,6 +196,9 @@
|| tagName == HTMLNames::tableTag
|| isTableBodyContextElement()
|| tagName == HTMLNames::tdTag
+#if ENABLE(TEMPLATE_ELEMENT)
+ || tagName == HTMLNames::templateTag
+#endif
|| tagName == HTMLNames::textareaTag
|| tagName == HTMLNames::thTag
|| tagName == HTMLNames::titleTag
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes