gecko/layout/reftests/bugs/584400-dash-length.svg
Jeff Muizelaar ff12cb537d Bug 584400. cairo: Fix dash arrays with D2D
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00

26 lines
888 B
XML

<svg xmlns="http://www.w3.org/2000/svg">
<style>
rect { stroke: blue; stroke-width: 15px; }
</style>
<rect x="90px" y="80px" width="245px" height="45px"
style="fill: none; stroke-dasharray: 120px, 89px">
</rect>
<rect x="70px" y="20px" width="145px" height="145px"
style="stroke: none; stroke-dasharray: 20px, 5px">
</rect>
<rect x="270px" y="20px" width="145px" height="145px"
style="stroke: none; stroke-dasharray: 20px, 5px">
</rect>
<rect x="70px" y="220px" width="145px" height="145px"
style="stroke: none; stroke-dasharray: 20px, 5px">
</rect>
<rect x="270px" y="220px" width="145px" height="145px"
style="stroke: none; stroke-dasharray: 20px, 5px">
</rect>
<line x1="60px" y1="280px" x2="440px" y2="280px"
style="stroke: blue; stroke-width: 200px; stroke-dasharray: 165px, 40px">
</line>
</svg>