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

Unified Diff: third_party/WebKit/LayoutTests/transforms/scale-parsing.html

Issue 2623453002: CSS scale property: scale with one value only affects X (Closed)
Patch Set: rebase Created 3 years, 11 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/transforms/scale-parsing.html
diff --git a/third_party/WebKit/LayoutTests/transforms/scale-parsing.html b/third_party/WebKit/LayoutTests/transforms/scale-parsing.html
index 7aa23fe6e157795cc5fff4bb21c66aa2246feb77..3da84e90b242aeb0034a9982c9f2d0ad8647cfea 100644
--- a/third_party/WebKit/LayoutTests/transforms/scale-parsing.html
+++ b/third_party/WebKit/LayoutTests/transforms/scale-parsing.html
@@ -14,7 +14,7 @@ expect('1 -2.3').parsesAs('1 -2.3').isComputedTo('1 -2.3');
expect('1 -2.3 4').parsesAs('1 -2.3 4').isComputedTo('1 -2.3 4');
/* Note this assumes that scaling with 1 number applies to both x and y axis */
-expect('calc(1 * 2)').parsesAs('2').isComputedTo('2 2');
+expect('calc(1 * 2)').parsesAs('2').isComputedTo('2');
expect('calc(1 * 2) calc(2 / 4)').parsesAs('2 0.5').isComputedTo('2 0.5');
expect('calc(1 * 2) calc(2 / 4) calc(0.5)').parsesAs('2 0.5 0.5').isComputedTo('2 0.5 0.5');

Powered by Google App Engine
This is Rietveld 408576698