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/transforms/svg-geometry-crash.html

Issue 143363004: Fix ASSERT failure in RenderGeomtryMap for SVGs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 10 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 | « LayoutTests/TestExpectations ('k') | Source/core/rendering/svg/SVGRenderSupport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/transforms/svg-geometry-crash.html
diff --git a/LayoutTests/svg/transforms/svg-geometry-crash.html b/LayoutTests/svg/transforms/svg-geometry-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..804f2d1b0c02f1e044a9097e19fa38cdb26a8409
--- /dev/null
+++ b/LayoutTests/svg/transforms/svg-geometry-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+ </script>
+ </head>
+ <body>
+ <svg viewbox="0 0 1000 500">
+ <g transform="scale(3.0)">
+ <foreignobject width="300" height="50">
+ <textarea>scaled text</textarea>
+ </foreignobject>
+ </g>
+ </svg>
+ This test passes if it doesn't crash under DEBUG builds, and the pixel results line up.
+ </body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/svg/SVGRenderSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698