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

Unified Diff: LayoutTests/fast/regions/region-styling/webkit-region-rule.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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: LayoutTests/fast/regions/region-styling/webkit-region-rule.html
diff --git a/LayoutTests/fast/regions/region-styling/webkit-region-rule.html b/LayoutTests/fast/regions/region-styling/webkit-region-rule.html
deleted file mode 100644
index 94cf8cda2d36c1ae6d2d913b84e28efe07471a1d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/region-styling/webkit-region-rule.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<style>
- @-webkit-region #region1 {
- #p1 { background-color: green; }
- #p2 { background-color: lime; }
- }
- @-webkit-region #region2 {
- p { background-color: blue; }
- }
-</style>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-
-description("This tests the WebKitCSSRegionRule interface.");
-
-if (window.WebKitCSSRegionRule)
- testPassed("WebKitCSSRegionRule exists on Window object");
-else
- testFailed("WebKitCSSRegionRule does not exist on Window object");
-
-if (window.CSSRule.WEBKIT_REGION_RULE)
- testPassed("WEBKIT_REGION_RULE exists on Window.CSSRule object");
-else
- testFailed("WEBKIT_REGION_RULE does not exist on Window.CSSRule object");
-shouldBe("window.CSSRule.WEBKIT_REGION_RULE", "16");
-
-var regionRule1 = document.styleSheets.item(0).cssRules.item(0);
-shouldBe("regionRule1.type", "window.CSSRule.WEBKIT_REGION_RULE");
-var regionRule1CSSRules = regionRule1.cssRules;
-shouldBe("regionRule1CSSRules.length", "2");
-shouldBe("regionRule1CSSRules.item(0).type", "window.CSSRule.STYLE_RULE");
-shouldBe("regionRule1CSSRules.item(0).cssText", "'#p1 { background-color: green; }'");
-shouldBe("regionRule1CSSRules.item(1).cssText", "'#p2 { background-color: lime; }'");
-
-var regionRule2 = document.styleSheets.item(0).cssRules.item(1);
-shouldBe("regionRule2.type", "window.CSSRule.WEBKIT_REGION_RULE");
-var regionRule2CSSRules = regionRule2.cssRules;
-shouldBe("regionRule2CSSRules.length", "1");
-shouldBe("regionRule2CSSRules.item(0).type", "window.CSSRule.STYLE_RULE");
-shouldBe("regionRule2CSSRules.item(0).cssText", "'p { background-color: blue; }'");
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698