[csswg-drafts] Standardize text-stroke (#4795)

valtlai has just created a new issue for https://github.com/w3c/csswg-drafts:

== Standardize text-stroke ==
The prefixed `-webkit-text-stroke`, `-webkit-text-stroke-width` and `-webkit-text-stroke-color` properties are [widely supported](https://caniuse.com/#feat=text-stroke). They are currently defined in the [Compatibility Standard](https://compat.spec.whatwg.org/#text-fill-and-stroking). Browsers also support `-webkit-text-fill` which seems unnecessary because the `color` property can be used instead.

Should we standardize similar properties? Something like:

* text-stroke-color: <color> (initially `currentcolor`)
* text-stroke-width: [<line-width>](https://drafts.csswg.org/css-backgrounds/#typedef-line-width) (initially `medium` like in `border-width`? Not `0` like in the compat spec)
* (maybe also?) text-stroke-offset: <length>
* text-stroke (a shorthand for the above properties)

\[https://github.com/w3c/csswg-drafts/issues/963#issuecomment-274136180 refers to [CSS Fill and Stroke Module](https://drafts.fxtf.org/fill-stroke/), but it seems to only apply to SVG elements.]

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4795 using your GitHub account

Received on Thursday, 20 February 2020 07:46:05 UTC