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

Unified Diff: LayoutTests/transforms/combine-transforms-properties-motion-path.html

Issue 1158603003: CSS Independent Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master 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/combine-transforms-properties-motion-path.html
diff --git a/LayoutTests/transforms/combine-transforms-properties-motion-path.html b/LayoutTests/transforms/combine-transforms-properties-motion-path.html
new file mode 100644
index 0000000000000000000000000000000000000000..20eb0ca770019d405e66e730d972f4cae3b02304
--- /dev/null
+++ b/LayoutTests/transforms/combine-transforms-properties-motion-path.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ position: absolute;
+ transform-origin: 50% 50%;
+}
+
+/* Note the order of the scaling operation affects the path coordinates */
+#target {
+ background-color: red;
+ translate: 200px 10px;
+ rotate: 90deg;
+ scale: 1 2;
+ motion: path("m 0 0 v -20 h 20") 0rad 100%;
+}
+#expected {
+ background-color: green;
+ transform: translate(240px, 30px) rotate(90deg) scale(1, 2);
+}
+</style>
+
+<p>There should be no red color boxes</p>
+<div id="target"></div>
+<div id="expected"></div>

Powered by Google App Engine
This is Rietveld 408576698