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

Unified Diff: third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object.html

Issue 1553473002: Fix SVG {text, foreignObject} transform for css animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/svg/repaint/transform-foreign-object.html
diff --git a/third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object.html b/third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object.html
new file mode 100644
index 0000000000000000000000000000000000000000..ab37d0bb1346c525a7e85c073b2666d66e8e2ea6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
fs 2016/01/07 16:18:29 Nit: Not needed/used.
+<script>
+ window.onload = runRepaintTest;
+
+ function repaintTest() {
+ var foreign = document.getElementsByTagName("foreignObject")[0];
+ foreign.style.transform = 'translate(100px, 0px)';
+ }
+</script>
+<body>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
+ <foreignObject width="100" height="100">
+ <div xmlns="http://www.w3.org/1999/xhtml" style="width: 100px; height: 100px; background-color: green;"></div>
+ </foreignObject>
+</svg>
+</body>

Powered by Google App Engine
This is Rietveld 408576698