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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssTranslation.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/cssTranslation.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssTranslation.html b/third_party/WebKit/LayoutTests/typedcssom/cssTranslation.html
index d6c056f1c6deae0f66524db16ebd04d3d9dd00df..049843c9f78994cc7079e9845fcaaab808a0cc09 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssTranslation.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssTranslation.html
@@ -52,12 +52,12 @@ var values = [
];
function expectedCssString(obj) {
- var cssString = obj.is2DComponent ? "translate(" : "translate3d(";
- cssString += obj.x.cssString + ", " + obj.y.cssString;
+ var cssText = obj.is2DComponent ? "translate(" : "translate3d(";
+ cssText += obj.x.cssText + ", " + obj.y.cssText;
if (!obj.is2DComponent)
- cssString += ", " + obj.z.cssString;
- cssString += ")";
- return cssString;
+ cssText += ", " + obj.z.cssText;
+ cssText += ")";
+ return cssText;
}
test(function() {
@@ -79,9 +79,9 @@ test(function() {
test(function() {
for (var i = 0; i < values.length; ++i) {
- assert_equals(values[i].input.cssString, expectedCssString(values[i]));
+ assert_equals(values[i].input.cssText, expectedCssString(values[i]));
}
-}, "Test that cssString values for CSSTranslation is correct.");
+}, "Test that cssText values for CSSTranslation is correct.");
test(function() {
assert_throws(null, function() { new CSSTranslation(simpleLength, simpleLength, simplePercent); });

Powered by Google App Engine
This is Rietveld 408576698