Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/script-tests/css-mediarule-parentRule.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/script-tests/css-mediarule-parentRule.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/script-tests/css-mediarule-parentRule.js b/third_party/WebKit/LayoutTests/fast/dom/script-tests/css-mediarule-parentRule.js
deleted file mode 100644
index de4b86676fb8d799dba58ce32c830872488235e2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/script-tests/css-mediarule-parentRule.js
+++ /dev/null
@@ -1,16 +0,0 @@
-description(
-'This tests that calling parentRule on the child rule of MediaRule is equal to that MediaRule.'
-);
-
-if (window.testRunner)
- testRunner.dumpAsText();
-
-var head = document.getElementsByTagName('head')[0];
-head.innerHTML = "<style>@media all { a { border-color: red; } }</style>";
-
-var styleSheetList = document.styleSheets;
-var styleSheet = styleSheetList[0];
-var mediaRule = styleSheet.cssRules[0];
-var childRule = mediaRule.cssRules[0];
-
-shouldBe("childRule.parentRule", "mediaRule")

Powered by Google App Engine
This is Rietveld 408576698