- From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
- Date: Sat, 27 Oct 2018 07:03:40 +0000
- To: public-svg-issues@w3.org
dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Needs tests": == stroke-width initial value must include units == At https://svgwg.org/svg2-draft/painting.html#StrokeWidthProperty, the initial value must not be just `1`; instead the units must be explicitly included — so it needs to be `1px`. That’s per the chain of syntax requirements from https://drafts.csswg.org/css-values-4/#typedef-length-percentage to https://drafts.csswg.org/css-values-4/#length-value to https://drafts.csswg.org/css-values-4/#dimension that the SVG spec normative includes by reference (due to citing https://www.w3.org/TR/css-values/#typedef-length-percentage) — which indicate that a `<length-percentage>` value must include units if it’s a length. See also https://drafts.fxtf.org/fill-stroke/#stroke-width, which correctly has the initial value as `1px` instead of just `1`. See https://github.com/w3c/svgwg/issues/529
Received on Saturday, 27 October 2018 07:03:41 UTC