Full version, Basic version, Tiny version

Specification link: 11.4 Stroke Properties

painting-stroke-03-t ← index → painting-stroke-07-t

# painting-stroke-04-t
SVG Image | PNG Image

Verify the "stroke-dasharray" and "stroke-dashoffset" properties. Two lines are drawn, one red and one black. Both have a "stroke-dasharray" of "10,10" giving a dashed appearance where the size of the gaps and the size of the dash is equal. The help show this, the black line has a "stroke-dashoffset" so that the dashes in the black line match up with the gaps in the red line.

The test uses the "path" element, "stroke", "stroke-width", "stroke-dasharray" and "stroke-dashoffset", "font-family" (Arial) and "font-size" properties.

painting-stroke-03-t ← index → painting-stroke-07-t

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.