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

Unified Diff: LayoutTests/fast/regions/script-tests/webkit-region-fragment-parsing.js

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/script-tests/webkit-region-fragment-parsing.js
diff --git a/LayoutTests/fast/regions/script-tests/webkit-region-fragment-parsing.js b/LayoutTests/fast/regions/script-tests/webkit-region-fragment-parsing.js
deleted file mode 100644
index fa39dfd9d4f102fb8c47ed514dcdeec186cc1003..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/script-tests/webkit-region-fragment-parsing.js
+++ /dev/null
@@ -1,37 +0,0 @@
-description('Tests parsing of webkit-region-fragment property');
-
-var webkitRegionFragmentProperty = "-webkit-region-fragment";
-
-function testCSSText(declaration) {
- var div = document.createElement("div");
- div.setAttribute("style", declaration);
- return div.style.webkitRegionFragment;
-}
-
-function testComputedStyle(declaration) {
- var div = document.createElement("div");
- document.body.appendChild(div);
- div.style.setProperty(webkitRegionFragmentProperty, declaration);
-
- var contentComputedValue = getComputedStyle(div).getPropertyValue(webkitRegionFragmentProperty);
- document.body.removeChild(div);
- return contentComputedValue;
-}
-
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': auto")', "auto");
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': initial")', "initial");
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': inherit")', "inherit");
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': break")', "break");
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': 0")', "");
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': -1")', "");
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': 12.5")', "");
-shouldBeEqualToString('testCSSText("' + webkitRegionFragmentProperty + ': 1px")', "");
-
-shouldBeEqualToString('testComputedStyle("auto")', "auto");
-shouldBeEqualToString('testComputedStyle("initial")', "auto");
-shouldBeEqualToString('testComputedStyle("inherit")', "auto");
-shouldBeEqualToString('testComputedStyle("break")', "break");
-shouldBeEqualToString('testComputedStyle("0")', "auto");
-shouldBeEqualToString('testComputedStyle("-1")', "auto");
-shouldBeEqualToString('testComputedStyle("12.5")', "auto");
-shouldBeEqualToString('testComputedStyle("1px")', "auto");
« no previous file with comments | « LayoutTests/fast/regions/script-tests/webkit-flow-parsing.js ('k') | LayoutTests/fast/regions/select-in-region-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698