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

Unified Diff: LayoutTests/fast/regions/script-tests/content-webkit-from-flow-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/content-webkit-from-flow-parsing.js
diff --git a/LayoutTests/fast/regions/script-tests/content-webkit-from-flow-parsing.js b/LayoutTests/fast/regions/script-tests/content-webkit-from-flow-parsing.js
deleted file mode 100644
index a1442a5dc6e7dd7901c48f030959caff03690b6e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/script-tests/content-webkit-from-flow-parsing.js
+++ /dev/null
@@ -1,37 +0,0 @@
-description('Tests parsing of -webkit-flow-from property');
-
-function testCSSText(declaration) {
- var div = document.createElement("div");
- div.setAttribute("style", declaration);
- return div.style.webkitFlowFrom;
-}
-
-function testComputedStyle(declaration) {
- var div = document.createElement("div");
- document.body.appendChild(div);
- div.style.setProperty("-webkit-flow-from", declaration);
-
- var contentComputedValue = getComputedStyle(div).getPropertyValue("-webkit-flow-from");
- document.body.removeChild(div);
- return contentComputedValue;
-}
-
-shouldBeEqualToString('testCSSText("-webkit-flow-from: first-flow")', "first-flow");
-shouldBeEqualToString('testCSSText("-webkit-flow-from: none")', "none");
-shouldBeEqualToString('testCSSText("-webkit-flow-from: ")', "");
-shouldBeEqualToString('testCSSText("-webkit-flow-from: \'first-flow\'")', "");
-shouldBeEqualToString('testCSSText("-webkit-flow-from: 1")', "");
-shouldBeEqualToString('testCSSText("-webkit-flow-from: 1.2")', "");
-shouldBeEqualToString('testCSSText("-webkit-flow-from: -1")', "");
-shouldBeEqualToString('testCSSText("-webkit-flow-from: 12px")', "");
-shouldBeEqualToString('testCSSText("-webkit-from-flow: first flow")', "");
-
-shouldBeEqualToString('testComputedStyle("first-flow")', "first-flow");
-shouldBeEqualToString('testComputedStyle("\'first flow\'")', "none");
-shouldBeEqualToString('testComputedStyle("none")', "none");
-shouldBeEqualToString('testComputedStyle("initial")', "none");
-shouldBeEqualToString('testComputedStyle("inherit")', "none");
-shouldBeEqualToString('testComputedStyle("1")', "none");
-shouldBeEqualToString('testComputedStyle("1.2")', "none");
-shouldBeEqualToString('testComputedStyle("-1")', "none");
-shouldBeEqualToString('testComputedStyle("12px")', "none");
« no previous file with comments | « LayoutTests/fast/regions/script-tests/TEMPLATE.html ('k') | LayoutTests/fast/regions/script-tests/css-regions-disabled.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698