W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > November 2017

[fxtf-drafts] stroke-dasharray treatment of gap or stroke part being 0

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Wed, 29 Nov 2017 13:20:31 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-277751789-1511961631-sysbot+gh@w3.org>
dirkschulze has just created a new issue for https://github.com/w3c/fxtf-drafts:

== stroke-dasharray treatment of gap or stroke part being 0 ==
https://drafts.fxtf.org/fill-stroke-3/#stroke-dasharray says:

> If all values are zero, it is treated as none.

Even if it might sound obvious but the spec could clarify what happens if a gap or a stroke part is 0. Expectation for 2 values:
* gap is 0, solid stroke,
* stroke part is 0, none visible stroke.

```xml
<svg xmlns="http://www.w3.org/2000/svg">
<path class="st1" d="M2,152.4c18.2,49.1,240.3,108,159.1-149.5" stroke-dasharray="0 10"/>
<path class="st1" d="M2,152.4c18.2,49.1,240.3,108,159.1-149.5" stroke-dasharray="10 0" transform="translate(0, 200)"/>
</svg>
```


Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/235 using your GitHub account
Received on Wednesday, 29 November 2017 13:20:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 November 2018 00:45:59 UTC