[css-?] Standardize text-stroke
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 24
Description
The prefixed -webkit-text-stroke, -webkit-text-stroke-color and -webkit-text-stroke-width properties are widely supported. They are currently defined in the Compatibility Standard. 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> (initially
mediumlike inborder-width? Not0like 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, but it seems to only apply to SVG elements.]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Compatibility Standard's text-fill-and-stroking section, the CSS Fill and Stroke Module, and the linked CSSWG issue 963 discussion. Determine whether standardized text-stroke properties belong in an applicable specification and what their syntax and initial values should be; done requires a resolved Working Group direction and corresponding specification edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100