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/inlinestyle/transform-scale.html

Issue 2879233002: [css-typed-om] Replace cssText with stringifier at CSSTransformComponent (Closed)
Patch Set: [css-typed-om] replace cssText with toString at CSSTransformComponent Created 3 years, 7 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/inlinestyle/transform-scale.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform-scale.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform-scale.html
index 1916c4a9f30e53e6c167f2e1892938ffc7bc6b10..3e2d599ba89e9807a19d904eb142e0ee4609fd57 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform-scale.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform-scale.html
@@ -14,7 +14,7 @@ function validateTransformWithSingleScale(transform, x, y, z, cssText) {
var components = [...transform.values()];
assert_equals(components.length, 1);
assert_equals(components[0].constructor.name, CSSScale.name);
- assert_equals(components[0].cssText, cssText);
+ assert_equals(components[0].toString(), cssText);
assert_approx_equals(components[0].x, x, EPSILON);
assert_approx_equals(components[0].y, y, EPSILON);

Powered by Google App Engine
This is Rietveld 408576698