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

Unified Diff: LayoutTests/transforms/scale.html

Issue 1158603003: CSS Independent Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup Created 5 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: LayoutTests/transforms/scale.html
diff --git a/LayoutTests/transforms/scale.html b/LayoutTests/transforms/scale.html
new file mode 100644
index 0000000000000000000000000000000000000000..740ca50aa6c7f0142a5947f5db26f7d5e0bb818e
--- /dev/null
+++ b/LayoutTests/transforms/scale.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ background-color: blue;
+}
+.container {
+ background-color: red;
+ perspective-origin: 150% 150%;
+ perspective: 500px;
+ scale: 0.5 1;
alancutter (OOO until 2018) 2015/06/17 07:38:32 No test for scale with a single value?
soonm 2015/06/17 23:56:53 Done. It currently assumes that x and y use the sa
+}
+#box1 {
+ scale: 0.5 1;
+}
+#box2a {
+ scale: -2 3.5 0.2;
+ transform: translate(400px);
+}
+#box2b {
+ backface-visibility: visible;
+ scale: -2 3.5 0.2;
+ transform: translate(400px);
+}
+#box3 {
+ scale: 2 3.5 0.2;
+ transform: translate(200px, 100px);
+}
+</style>
+
+<div class="container">
+ <div id="box1">1</div>
+ <div id="box2a">2a</div>
+ <div id="box2b">2b</div>
+</div>
+<div id="box3">3</div>

Powered by Google App Engine
This is Rietveld 408576698