W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > April 2018

[fxtf-drafts] [css-masking-1] stroke-bounding-box and non-scaling-stroke

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Sun, 22 Apr 2018 12:34:52 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-316575454-1524400491-sysbot+gh@w3.org>
dirkschulze has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [css-masking-1] stroke-bounding-box and non-scaling-stroke ==
Currently, the _stroke bounding box_ does not take the CSS property `vector-effects` with the value `non-scaling-stroke` into account.

Though browsers do support `non-scaling-stroke`, the implementation can be very different and SVG does not require a specific way. Computing the actual `stroke-width` depending on the different applied transforms and the `vector-effects` is non trivial. (Note that even browsers currently do not compute the `stroke-with` for `non-scaling-stroke` but rather do it as part of the painting process.)

I'd like to propose to keep the algorithm as is and mention that `vector-effects` do not affect the stroke bounding box.

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/279 using your GitHub account
Received on Sunday, 22 April 2018 12:34:54 UTC

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