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

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

Issue 16690004: [CSS Regions] Rename region-overflow to region-fragment (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch Created 7 years, 6 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-overflow-parsing.js
diff --git a/LayoutTests/fast/regions/script-tests/webkit-region-overflow-parsing.js b/LayoutTests/fast/regions/script-tests/webkit-region-overflow-parsing.js
deleted file mode 100644
index 840fee3194d552e8255856839fa012b1227b5845..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/script-tests/webkit-region-overflow-parsing.js
+++ /dev/null
@@ -1,37 +0,0 @@
-description('Tests parsing of webkit-region-overflow property');
-
-var webkitRegionOverflowProperty = "-webkit-region-overflow";
-
-function testCSSText(declaration) {
- var div = document.createElement("div");
- div.setAttribute("style", declaration);
- return div.style.webkitRegionOverflow;
-}
-
-function testComputedStyle(declaration) {
- var div = document.createElement("div");
- document.body.appendChild(div);
- div.style.setProperty(webkitRegionOverflowProperty, declaration);
-
- var contentComputedValue = getComputedStyle(div).getPropertyValue(webkitRegionOverflowProperty);
- document.body.removeChild(div);
- return contentComputedValue;
-}
-
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': auto")', "auto");
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': initial")', "initial");
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': inherit")', "inherit");
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': break")', "break");
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': 0")', "");
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': -1")', "");
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': 12.5")', "");
-shouldBeEqualToString('testCSSText("' + webkitRegionOverflowProperty + ': 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");

Powered by Google App Engine
This is Rietveld 408576698