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

Unified Diff: LayoutTests/fast/regions/script-tests/css-regions-disabled.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/css-regions-disabled.js
diff --git a/LayoutTests/fast/regions/script-tests/css-regions-disabled.js b/LayoutTests/fast/regions/script-tests/css-regions-disabled.js
index fa68e193e3efebe168b85eff990afe415538bd9c..abfef80b843a85e2dc9800fc2b563ea5f4d29ecb 100644
--- a/LayoutTests/fast/regions/script-tests/css-regions-disabled.js
+++ b/LayoutTests/fast/regions/script-tests/css-regions-disabled.js
@@ -15,10 +15,10 @@ function testWebKitFlowFrom(declaration) {
return div.style.webkitFlowFrom;
}
-function testWebKitRegionOverflow(declaration) {
+function testWebKitRegionFragment(declaration) {
var div = document.createElement("div");
div.setAttribute("style", declaration);
- return div.style.webkitRegionOverflow;
+ return div.style.webkitRegionFragment;
}
function testComputedStyleWebKitFlowInto(value) {
@@ -39,11 +39,11 @@ function testComputedStyleWebKitFlowFrom(value) {
return computedValue;
}
-function testComputedStyleWebKitRegionOverflow(value) {
+function testComputedStyleWebKitRegionFragment(value) {
var div = document.createElement("div");
document.body.appendChild(div);
- div.style.setProperty("-webkit-region-overflow", value);
- var computedValue = getComputedStyle(div).getPropertyValue("-webkit-region-overflow");
+ div.style.setProperty("-webkit-region-fragment", value);
+ var computedValue = getComputedStyle(div).getPropertyValue("-webkit-region-fragment");
document.body.removeChild(div);
return computedValue;
}
@@ -58,10 +58,10 @@ shouldBeEqualToString('testWebKitFlowFrom("-webkit-flow-from: none")', "");
shouldBeEqualToString('testComputedStyleWebKitFlowFrom("first-flow")', "none");
shouldBeEqualToString('testComputedStyleWebKitFlowFrom("none")', "none");
-shouldBeEqualToString('testWebKitRegionOverflow("-webkit-region-overflow: auto")', "");
-shouldBeEqualToString('testWebKitRegionOverflow("-webkit-region-overflow: break")', "");
-shouldBeEqualToString('testComputedStyleWebKitRegionOverflow("auto")', "auto");
-shouldBeEqualToString('testComputedStyleWebKitRegionOverflow("break")', "auto");
+shouldBeEqualToString('testWebKitRegionFragment("-webkit-region-fragment: auto")', "");
+shouldBeEqualToString('testWebKitRegionFragment("-webkit-region-fragment: break")', "");
+shouldBeEqualToString('testComputedStyleWebKitRegionFragment("auto")', "auto");
+shouldBeEqualToString('testComputedStyleWebKitRegionFragment("break")', "auto");
// Test that region styling rules are not parsed.
var styleElement = document.createElement("style");

Powered by Google App Engine
This is Rietveld 408576698