[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

ap at apple.com ap at apple.com
Sun Feb 20 23:39:56 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 7153855855b6b5475735ad3e1949136478c5b605
Author: ap at apple.com <ap at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Jan 23 21:08:42 2011 +0000

    2011-01-23  Alexey Proskuryakov  <ap at apple.com>
    
            Reviewed by Eric Seidel.
    
            https://bugs.webkit.org/show_bug.cgi?id=15649
            Empty STYLE elements are not reflected into the document.styleSheets object
    
            Adding a test for a bug that no longer occurs.
    
            * fast/dom/document-stylesheets-empty-style-expected.txt: Added.
            * fast/dom/document-stylesheets-empty-style.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76468 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index a7c038b..58c55ee 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,15 @@
+2011-01-23  Alexey Proskuryakov  <ap at apple.com>
+
+        Reviewed by Eric Seidel.
+
+        https://bugs.webkit.org/show_bug.cgi?id=15649
+        Empty STYLE elements are not reflected into the document.styleSheets object
+
+        Adding a test for a bug that no longer occurs.
+
+        * fast/dom/document-stylesheets-empty-style-expected.txt: Added.
+        * fast/dom/document-stylesheets-empty-style.html: Added.
+
 2011-01-22  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Oliver Hunt.
diff --git a/LayoutTests/fast/dom/document-stylesheets-empty-style-expected.txt b/LayoutTests/fast/dom/document-stylesheets-empty-style-expected.txt
new file mode 100644
index 0000000..e2cfc9b
--- /dev/null
+++ b/LayoutTests/fast/dom/document-stylesheets-empty-style-expected.txt
@@ -0,0 +1,3 @@
+Test for bug 15649: Empty STYLE elements are not reflected into the document.styleSheets object.
+
+SUCCESS
diff --git a/LayoutTests/fast/dom/document-stylesheets-empty-style.html b/LayoutTests/fast/dom/document-stylesheets-empty-style.html
new file mode 100644
index 0000000..c583fcc
--- /dev/null
+++ b/LayoutTests/fast/dom/document-stylesheets-empty-style.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<style></style>
+</head>
+<body>
+<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=15649">bug 15649</a>:
+Empty STYLE elements are not reflected into the document.styleSheets object.</p>
+<script>
+  if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+  document.getElementsByTagName('head')[0].appendChild(document.createElement("style"));
+  document.write(document.styleSheets.length == 2 ? "SUCCESS" : "FAILURE: " + document.styleSheets.length + " stylesheets");
+</script>
+</body>
+</html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list