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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssPerspective.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/cssPerspective.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
index 227c78abd5d524b16de925f009abec9eb90d2094..492d845a673b46bc430ed7ce39088c6c2086217d 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
@@ -20,8 +20,8 @@ test(function() {
var perspectiveTransformSimple = new CSSPerspective(simpleLength);
var perspectiveTransformCalc = new CSSPerspective(calcLength);
- assert_equals(perspectiveTransformSimple.cssText, 'perspective(10px)');
- assert_equals(perspectiveTransformCalc.cssText,'perspective(calc(3.2em + 10px))');
+ assert_equals(perspectiveTransformSimple.toString(), 'perspective(10px)');
+ assert_equals(perspectiveTransformCalc.toString(), 'perspective(calc(3.2em + 10px))');
}, "cssText should return a string of form perspective(<CSSLengthValue.cssString()>)");
</script>

Powered by Google App Engine
This is Rietveld 408576698