mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
34 lines
1.6 KiB
XML
34 lines
1.6 KiB
XML
<!--
|
|
Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
-->
|
|
<svg xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<title>Test the start point and direction of dashing on circle and ellipse</title>
|
|
|
|
<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=944704 -->
|
|
|
|
<rect width="100%" height="100%" fill="lime"/>
|
|
|
|
<!-- Test circle element dashes cover two red circles -->
|
|
<circle cx="100" cy="62" r="8" fill="red"/>
|
|
<circle cx="66" cy="98" r="8" fill="red"/>
|
|
<circle cx="50" cy="50" r="50" fill="none" stroke="lime" stroke-width="30" stroke-dasharray="25 25 25 100000"/>
|
|
|
|
<!-- Sanity test to check that two circles cover circle element dashes (i.e. that the previous check didn't pass because the stroke was solid) -->
|
|
<circle cx="200" cy="50" r="50" fill="none" stroke="red" stroke-width="10" stroke-dasharray="10 40 10 100000"/>
|
|
<circle cx="250" cy="56" r="11" fill="lime"/>
|
|
<circle cx="223" cy="96" r="11" fill="lime"/>
|
|
|
|
<!-- Test ellipse element dashes cover two red circles -->
|
|
<circle cx="95" cy="211" r="8" fill="red"/>
|
|
<circle cx="47" cy="225" r="8" fill="red"/>
|
|
<ellipse cx="50" cy="200" rx="50" ry="25" fill="none" stroke="lime" stroke-width="25" stroke-dasharray="25 25 25 100000"/>
|
|
|
|
<!-- Sanity test to check that two circles cover ellipse element dashes (i.e. that the previous check didn't pass because the stroke was solid) -->
|
|
<ellipse cx="200" cy="200" rx="50" ry="25" fill="none" stroke="red" stroke-width="10" stroke-dasharray="10 40 10 100000"/>
|
|
<circle cx="250" cy="205" r="11" fill="lime"/>
|
|
<circle cx="206" cy="225" r="11" fill="lime"/>
|
|
|
|
</svg>
|