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

Unified Diff: LayoutTests/transforms/rotate.html

Issue 1158603003: CSS Independent Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Correct equality operators and remove dependencies on size() in parser 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/rotate.html
diff --git a/LayoutTests/transforms/rotate.html b/LayoutTests/transforms/rotate.html
new file mode 100644
index 0000000000000000000000000000000000000000..78c344c237c5f0f9a851224857d8818e13a0f0a5
--- /dev/null
+++ b/LayoutTests/transforms/rotate.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<head>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ background-color: blue;
+ transform-origin: 50% 50%;
+}
+.container {
+ rotate: 45deg;
+ background-color: red;
+ perspective-origin: 150% 150%;
+ perspective: 500px;
+}
+#box1 {
+ rotate: inherit;
+}
+#box2 {
+ transform: translate(200px);
+ rotate: 50deg 1 0 0;
+}
+#box3 {
+ transform: translate(200px);
+ rotate: 30deg 1 -2.5 0;
Eric Willigers 2015/06/11 02:15:19 Perhaps replace final 0, e.g. with 4.
soonm 2015/06/11 23:31:03 Done.
+}
+</style>
+</head>
+
+<body>
+<div class="container">
+ <div id="box1">1</div>
+ <div id="box2">2</div>
+</div>
+<div id="box3">3</div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698