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

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5163eb326374581fa7017d4f2831ea56af38c5d9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698