summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/StyleSheet/script-tests
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/dom/StyleSheet/script-tests')
-rw-r--r--LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html13
-rw-r--r--LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js16
-rw-r--r--LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js8
3 files changed, 0 insertions, 37 deletions
diff --git a/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html
deleted file mode 100644
index 1951c43..0000000
--- a/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href="../../js/resources/js-test-style.css">
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="YOUR_JS_FILE_HERE"></script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js b/LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js
deleted file mode 100644
index 22974e7..0000000
--- a/LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js
+++ /dev/null
@@ -1,16 +0,0 @@
-description("This tests indexing outside the range of the media list object.");
-
-var styleElement = document.createElement('style');
-styleElement.setAttribute('media', 'screen, print');
-document.documentElement.appendChild(styleElement)
-var mediaList = document.styleSheets[document.styleSheets.length - 1].media;
-
-shouldEvaluateTo('mediaList.length', 2);
-shouldBeEqualToString('mediaList[0]', 'screen');
-shouldBeEqualToString('mediaList[1]', 'print');
-shouldBeNull('mediaList[2]');
-shouldBeUndefined('mediaList[-1]')
-
-document.documentElement.removeChild(styleElement);
-
-successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js b/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js
deleted file mode 100644
index 793ed65..0000000
--- a/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js
+++ /dev/null
@@ -1,8 +0,0 @@
-description("This test verifies that a StyleSheet object will be returned instead of a HTMLStyleElement when calling document.styleSheets named property getter.");
-
-var styleElement = document.createElement("style");
-styleElement.setAttribute("id", "test");
-document.head.appendChild(styleElement);
-shouldBe('document.styleSheets["test"]', 'styleElement.sheet');
-
-var successfullyParsed = true;