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> |