https://bugs.webkit.org/show_bug.cgi?id=65796
This adds test to ensure that the bug does not reappear unnoticed.
Patch by Stephen Chenney <schenney@chromium.org> on 2011-11-15
Reviewed by Nikolas Zimmermann.
* svg/custom/zero-path-square-cap-rendering3-expected.png: Added.
* svg/custom/zero-path-square-cap-rendering3-expected.txt: Added.
* svg/custom/zero-path-square-cap-rendering3.svg: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100291
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-11-15 Stephen Chenney <schenney@chromium.org>
+
+ REGRESSION (r91125): Polyline tool in google docs is broken
+ https://bugs.webkit.org/show_bug.cgi?id=65796
+
+ This adds test to ensure that the bug does not reappear unnoticed.
+
+ Reviewed by Nikolas Zimmermann.
+
+ * svg/custom/zero-path-square-cap-rendering3-expected.png: Added.
+ * svg/custom/zero-path-square-cap-rendering3-expected.txt: Added.
+ * svg/custom/zero-path-square-cap-rendering3.svg: Added.
+
2011-11-15 Erik Arvidsson <arv@chromium.org>
Fix invalid markup in some tests
--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderSVGRoot {svg} at (0,0) size 77x77
+ RenderSVGContainer {g} at (0,0) size 77x77 [transform={m=((0.77,0.00)(0.00,0.77)) t=(0.00,0.00)}]
+ RenderSVGPath {rect} at (0,0) size 77x77 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
+ RenderSVGPath {path} at (0,0) size 0x0 [stroke={[type=SOLID] [color=#FF0000] [stroke width=496.95] [miter limit=8.00] [line cap=SQUARE]}] [fill={[type=SOLID] [color=#000000]}] [data="M 0 0"]
--- /dev/null
+<svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg">
+ <g transform="scale(0.766666)">
+ <rect width="100" height="100" style="fill:green"/>
+ <path stroke="red" stroke-width="496.95" stroke-linecap="square" stroke-linejoin="miter" stroke-miterlimit="8" shape-rendering="optimizeSpeed" d="M 0 0"/>
+ </g>
+</svg>