[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

abarth at webkit.org abarth at webkit.org
Wed Dec 22 13:24:47 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit e8b283ea6eceb8aa65036bcb7646ae38e3a50d34
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Sep 14 19:23:25 2010 +0000

    2010-09-14  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Eric Seidel.
    
            HTML5 spec violation: </><!doctype html> or </x><!doctype html> SHOULD NOT imply standards mode
            https://bugs.webkit.org/show_bug.cgi?id=17722
    
            I believe our behavior matches the HTML5 spec.  When we see a </x>, we
            correctly kick out of standards mode.  In the </> case, however, the
            tokenizer just eats the bytes, without emitting a token, which means we
            don't get kicked out of standards mode.  Our behavior matches Minefield.
    
            * fast/parser/strange-doctype-compatmode-1-expected.txt: Added.
            * fast/parser/strange-doctype-compatmode-1.html: Added.
            * fast/parser/strange-doctype-compatmode-2-expected.txt: Added.
            * fast/parser/strange-doctype-compatmode-2.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index e928c08..1c10b97 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,20 @@
+2010-09-14  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Eric Seidel.
+
+        HTML5 spec violation: </><!doctype html> or </x><!doctype html> SHOULD NOT imply standards mode
+        https://bugs.webkit.org/show_bug.cgi?id=17722
+
+        I believe our behavior matches the HTML5 spec.  When we see a </x>, we
+        correctly kick out of standards mode.  In the </> case, however, the
+        tokenizer just eats the bytes, without emitting a token, which means we
+        don't get kicked out of standards mode.  Our behavior matches Minefield.
+
+        * fast/parser/strange-doctype-compatmode-1-expected.txt: Added.
+        * fast/parser/strange-doctype-compatmode-1.html: Added.
+        * fast/parser/strange-doctype-compatmode-2-expected.txt: Added.
+        * fast/parser/strange-doctype-compatmode-2.html: Added.
+
 2010-09-14  Tony Chang  <tony at chromium.org>
 
         Unreviewed, remove tests that are now passing after Noel Gordon's
diff --git a/LayoutTests/fast/parser/strange-doctype-compatmode-1-expected.txt b/LayoutTests/fast/parser/strange-doctype-compatmode-1-expected.txt
new file mode 100644
index 0000000..46c14ad
--- /dev/null
+++ b/LayoutTests/fast/parser/strange-doctype-compatmode-1-expected.txt
@@ -0,0 +1 @@
+BackCompat
diff --git a/LayoutTests/fast/parser/strange-doctype-compatmode-1.html b/LayoutTests/fast/parser/strange-doctype-compatmode-1.html
new file mode 100644
index 0000000..2b2567d
--- /dev/null
+++ b/LayoutTests/fast/parser/strange-doctype-compatmode-1.html
@@ -0,0 +1,6 @@
+</x><!doctype html>
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+document.write(document.compatMode);
+</script>
diff --git a/LayoutTests/fast/parser/strange-doctype-compatmode-2-expected.txt b/LayoutTests/fast/parser/strange-doctype-compatmode-2-expected.txt
new file mode 100644
index 0000000..ec79cff
--- /dev/null
+++ b/LayoutTests/fast/parser/strange-doctype-compatmode-2-expected.txt
@@ -0,0 +1 @@
+CSS1Compat
diff --git a/LayoutTests/fast/parser/strange-doctype-compatmode-2.html b/LayoutTests/fast/parser/strange-doctype-compatmode-2.html
new file mode 100644
index 0000000..58304a8
--- /dev/null
+++ b/LayoutTests/fast/parser/strange-doctype-compatmode-2.html
@@ -0,0 +1,6 @@
+</><!doctype html>
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+document.write(document.compatMode);
+</script>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list