[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
aestes at apple.com
aestes at apple.com
Wed Dec 22 13:36:21 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b5e597256d9f633ee220edee24d058a80f20be43
Author: aestes at apple.com <aestes at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Sep 21 10:21:06 2010 +0000
2010-09-21 Andy Estes <aestes at apple.com>
Reviewed by Adam Barth.
Test that parser quirks apply when processing both start and end tags.
https://bugs.webkit.org/show_bug.cgi?id=40961
* fast/parser/pre-html5-parser-quirks-expected.txt:
* fast/parser/resources/pre-html5-parser-quirk-after-attribute-name-state.html:
* fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-quoted-state.html:
* fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-unquoted-state.html:
* fast/parser/resources/pre-html5-parser-quirk-attribute-name-state.html:
* fast/parser/resources/pre-html5-parser-quirk-before-attribute-name-state.html:
* fast/parser/resources/pre-html5-parser-quirk-document-fragment.html:
* fast/parser/resources/pre-html5-parser-quirk-tag-name-state.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 39daf49..6d8355e 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,19 @@
+2010-09-21 Andy Estes <aestes at apple.com>
+
+ Reviewed by Adam Barth.
+
+ Test that parser quirks apply when processing both start and end tags.
+ https://bugs.webkit.org/show_bug.cgi?id=40961
+
+ * fast/parser/pre-html5-parser-quirks-expected.txt:
+ * fast/parser/resources/pre-html5-parser-quirk-after-attribute-name-state.html:
+ * fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-quoted-state.html:
+ * fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-unquoted-state.html:
+ * fast/parser/resources/pre-html5-parser-quirk-attribute-name-state.html:
+ * fast/parser/resources/pre-html5-parser-quirk-before-attribute-name-state.html:
+ * fast/parser/resources/pre-html5-parser-quirk-document-fragment.html:
+ * fast/parser/resources/pre-html5-parser-quirk-tag-name-state.html:
+
2010-09-21 Pavel Podivilov <podivilov at chromium.org>
Unreviewed.
diff --git a/LayoutTests/fast/parser/pre-html5-parser-quirks-expected.txt b/LayoutTests/fast/parser/pre-html5-parser-quirks-expected.txt
index a3427d0..32450fa 100644
--- a/LayoutTests/fast/parser/pre-html5-parser-quirks-expected.txt
+++ b/LayoutTests/fast/parser/pre-html5-parser-quirks-expected.txt
@@ -6,40 +6,50 @@ This tests that certain pre-HTML5 parser rules are applied when the WebKitUsePre
Frame: '<!--framePath //<!--frame0-->-->'
--------
AfterAttributeNameState:
-PASS
+Start Tag: PASS
+End Tag: PASS
--------
Frame: '<!--framePath //<!--frame1-->-->'
--------
AfterAttributeValueQuotedState:
-PASS
+Start Tag: PASS
+End Tag: PASS
--------
Frame: '<!--framePath //<!--frame2-->-->'
--------
AfterAttributeValueUnquotedState:
-PASS
+Start Tag: PASS
+End Tag: PASS
+
+
--------
Frame: '<!--framePath //<!--frame3-->-->'
--------
AttributeNameState:
-PASS
+Start Tag: PASS
+End Tag: PASS
--------
Frame: '<!--framePath //<!--frame4-->-->'
--------
BeforeAttributeNameState:
-PASS
+Start Tag: PASS
+End Tag: PASS
--------
Frame: '<!--framePath //<!--frame5-->-->'
--------
Document fragment:
-PASS
+Start Tag: PASS
+End Tag: PASS
+
--------
Frame: '<!--framePath //<!--frame6-->-->'
--------
TagNameState:
-PASS
+Start Tag: PASS
+End Tag: PASS
diff --git a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-name-state.html b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-name-state.html
index a24b449..60d73a3 100644
--- a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-name-state.html
+++ b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-name-state.html
@@ -1,7 +1,13 @@
+AfterAttributeNameState:
+<div>
+ <div style="visibility:hidden">
+ <p attr
+ </div>
+ Start Tag: PASS
+</div>
<div>
- AfterAttributeNameState:
<div style="visibility:hidden">
<p></p attr
</div>
- PASS
+ End Tag: PASS
</div>
diff --git a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-quoted-state.html b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-quoted-state.html
index 0cafee4..f57cfe8 100644
--- a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-quoted-state.html
+++ b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-quoted-state.html
@@ -1,6 +1,11 @@
+AfterAttributeValueQuotedState:
+<div>
+ <div style="visibility:hidden">
+ <p attr="value"</div>
+ Start Tag: PASS
+</div>
<div>
- AfterAttributeValueQuotedState:
<div style="visibility:hidden">
<p></p attr="value"</div>
- PASS
+ End Tag: PASS
</div>
diff --git a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-unquoted-state.html b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-unquoted-state.html
index 831c4f6..e280af3 100644
--- a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-unquoted-state.html
+++ b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-after-attribute-value-unquoted-state.html
@@ -1,13 +1,19 @@
+AfterAttributeValueUnquotedState:
+<div id="console"></div>
<div>
- AfterAttributeValueUnquotedState:
<div style="visibility:hidden">
- <p></p id=unquoted</div>
- FAIL
+ <p id=start</div>
+ Start Tag: FAIL
+</div>
+<div>
+ <div style="visibility:hidden">
+ <p></p id=end</div>
+ End Tag: FAIL
</div>
-<div id="console"></div>
-
<script>
var console = document.getElementById("console");
- if (!document.getElementById("unquoted"))
- console.innerHTML = "PASS";
+ if (!document.getElementById("start"))
+ console.innerHTML += "Start Tag: PASS<br>";
+ if (!document.getElementById("end"))
+ console.innerHTML += "End Tag: PASS<br>";
</script>
diff --git a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-attribute-name-state.html b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-attribute-name-state.html
index 002e7a8..0a45579 100644
--- a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-attribute-name-state.html
+++ b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-attribute-name-state.html
@@ -1,6 +1,11 @@
+AttributeNameState:
+<div>
+ <div style="visibility:hidden">
+ <p attr</div>
+ Start Tag: PASS
+</div>
<div>
- AttributeNameState:
<div style="visibility:hidden">
<p></p attr</div>
- PASS
+ End Tag: PASS
</div>
diff --git a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-before-attribute-name-state.html b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-before-attribute-name-state.html
index d520800..556da57 100644
--- a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-before-attribute-name-state.html
+++ b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-before-attribute-name-state.html
@@ -1,7 +1,13 @@
+BeforeAttributeNameState:
+<div>
+ <div style="visibility:hidden">
+ <p
+ </div>
+ Start Tag: PASS
+</div>
<div>
- BeforeAttributeNameState:
<div style="visibility:hidden">
<p></p
</div>
- PASS
+ End Tag: PASS
</div>
diff --git a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-document-fragment.html b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-document-fragment.html
index 7dd4d8b..d569550 100644
--- a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-document-fragment.html
+++ b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-document-fragment.html
@@ -1,7 +1,6 @@
Document fragment:
-<div id="wrapper">
-</div>
-
+<div id="wrapper"></div>
<script>
- document.getElementById("wrapper").innerHTML = "<div style='visibility:hidden'><p></p</div>PASS";
+ document.getElementById("wrapper").innerHTML += "<div style='visibility:hidden'><p</div>Start Tag: PASS<br>";
+ document.getElementById("wrapper").innerHTML += "<div style='visibility:hidden'><p></p</div>End Tag: PASS<br>";
</script>
diff --git a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-tag-name-state.html b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-tag-name-state.html
index 0950850..baa74ff 100644
--- a/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-tag-name-state.html
+++ b/LayoutTests/fast/parser/resources/pre-html5-parser-quirk-tag-name-state.html
@@ -1,6 +1,11 @@
+TagNameState:
+<div>
+ <div style="visibility:hidden">
+ <p</div>
+ Start Tag: PASS
+</div>
<div>
- TagNameState:
<div style="visibility:hidden">
<p></p</div>
- PASS
+ End Tag: PASS
</div>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list