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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssCalcLength.html

Issue 2097093002: [Typed OM] Rename cssString methods to cssText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-transformvalue
Patch Set: Update usage in csspaint logging for tests Created 4 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: third_party/WebKit/LayoutTests/typedcssom/cssCalcLength.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssCalcLength.html b/third_party/WebKit/LayoutTests/typedcssom/cssCalcLength.html
index 0af57e79a9df2a6591cd4884a5b69d2476218a42..c309128db1f9c5dea006746f51ce6f8889fdf1b9 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssCalcLength.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssCalcLength.html
@@ -55,17 +55,17 @@ test(function() {
test(function() {
var values = [
- {input: new CSSCalcLength({px: 1}), cssString: 'calc(1px)'},
- {input: new CSSCalcLength({px: -1}), cssString: 'calc(-1px)'},
- {input: new CSSCalcLength({px: 1, percent: 15.6}), cssString: 'calc(15.6% + 1px)'},
- {input: new CSSCalcLength({px: 1, percent: -15.6}), cssString: 'calc(-15.6% + 1px)'},
- {input: new CSSCalcLength({px: -1, percent: -15.6}), cssString: 'calc(-15.6% - 1px)'},
- {input: new CSSCalcLength({px: -1, percent: -15.6, vw: 5}), cssString: 'calc((-15.6% - 1px) + 5vw)'},
- {input: new CSSCalcLength({px: -1, percent: -15.6, vw: -5}), cssString: 'calc((-15.6% - 1px) - 5vw)'},
+ {input: new CSSCalcLength({px: 1}), cssText: 'calc(1px)'},
+ {input: new CSSCalcLength({px: -1}), cssText: 'calc(-1px)'},
+ {input: new CSSCalcLength({px: 1, percent: 15.6}), cssText: 'calc(15.6% + 1px)'},
+ {input: new CSSCalcLength({px: 1, percent: -15.6}), cssText: 'calc(-15.6% + 1px)'},
+ {input: new CSSCalcLength({px: -1, percent: -15.6}), cssText: 'calc(-15.6% - 1px)'},
+ {input: new CSSCalcLength({px: -1, percent: -15.6, vw: 5}), cssText: 'calc((-15.6% - 1px) + 5vw)'},
+ {input: new CSSCalcLength({px: -1, percent: -15.6, vw: -5}), cssText: 'calc((-15.6% - 1px) - 5vw)'},
];
for (var i = 0; i < values.length; ++i) {
- assert_equals(values[i].input.cssString, values[i].cssString);
+ assert_equals(values[i].input.cssText, values[i].cssText);
}
}, 'Test that the CSS string method for a CSSCalcLength produces the correct result');

Powered by Google App Engine
This is Rietveld 408576698