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

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Dec 2017 22:44:07 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-348634044-1512168246-sysbot+gh@w3.org>
Test case: https://codepen.io/AmeliaBR/pen/JOxjra?editors=1100

Browser bugs/inconsistencies:

- Chrome and Firefox on Mac treat zero-length dashes the same as zero-length path segments, meaning that the square linecaps always get drawn horizontal instead of matching the path direction.
- Edge and Firefox (Windows and Mac) ignore the zero-length gaps, drawing those paths as continuous.
- Safari draws the linejoin miter shape on a corner for a dash that ends exactly at a corner, other than the first/last corner. Chrome is the reverse, drawing the miter for the first/last corner when dash ends exactly there, but not for other corners.

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/235#issuecomment-348634044 using your GitHub account
Received on Friday, 1 December 2017 22:44:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:21 UTC