Test for new support of empty style sheets.
authorbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Aug 2007 20:10:11 +0000 (20:10 +0000)
committerbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Aug 2007 20:10:11 +0000 (20:10 +0000)
        * fast/css/emptyStyleTag-expected.txt: Added.
        * fast/css/emptyStyleTag.html: Added.

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

LayoutTests/ChangeLog
LayoutTests/fast/css/emptyStyleTag-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/emptyStyleTag.html [new file with mode: 0644]

index 97846579f7f33ead1849ee3f13ad4554c00f0487..1cc4e772a0d7473a124b20b873d527544e39e08f 100644 (file)
@@ -1,3 +1,10 @@
+2007-08-15  Beth Dakin  <bdakin@apple.com>
+
+        Test for new support of empty style sheets.
+
+        * fast/css/emptyStyleTag-expected.txt: Added.
+        * fast/css/emptyStyleTag.html: Added.
+
 2007-08-14  Kevin McCullough  <kmccullough@apple.com>
 
         Reviewed by Adam.
diff --git a/LayoutTests/fast/css/emptyStyleTag-expected.txt b/LayoutTests/fast/css/emptyStyleTag-expected.txt
new file mode 100644 (file)
index 0000000..1f3da5a
--- /dev/null
@@ -0,0 +1,2 @@
+This tests that we support empty style sheets.
+Test succeeded!
diff --git a/LayoutTests/fast/css/emptyStyleTag.html b/LayoutTests/fast/css/emptyStyleTag.html
new file mode 100644 (file)
index 0000000..47d3cfc
--- /dev/null
@@ -0,0 +1,15 @@
+<style></style>
+
+This tests that we support empty style sheets.
+
+<div id="result">Test failed.</div>
+
+<script>
+if (layoutTestController)
+    layoutTestController.dumpAsText();
+
+if (document.styleSheets[0]) {
+    var result = document.getElementById("result");
+    result.innerHTML = "Test succeeded!";
+}
+</script>