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

Unified Diff: LayoutTests/svg/custom/svg-image-layers-crash.html

Issue 20789004: Disable accelerated compositing for SVGImage content layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | LayoutTests/svg/custom/svg-image-layers-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/svg-image-layers-crash.html
diff --git a/LayoutTests/svg/custom/svg-image-layers-crash.html b/LayoutTests/svg/custom/svg-image-layers-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..655ffd75b5b8e085e1e5a5ad046a16ce621477bf
--- /dev/null
+++ b/LayoutTests/svg/custom/svg-image-layers-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <!-- Test for https://code.google.com/p/chromium/issues/detail?id=266542 -->
+ <body>
+ PASS: did not crash.
+ <script>
+ var img = new Image();
+ img.src = 'data:image/svg+xml;charset=utf-8,' +
+ '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +
+ '<foreignObject width="100%" height="100%">' +
+ '<div xmlns="http://www.w3.org/1999/xhtml" style="-webkit-transform: matrix3d(1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -770, -270, 0, 1);">Transform Me</div>' +
+ '</foreignObject>' +
+ '</svg>';
+
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/svg-image-layers-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698