w3c / w3c/csswg-drafts

[css-text-decor] Add longhands for `text-shadow`

Open
#8,560 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

css-text-decor-4
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

As discussed in #4431, the text-shadow property should be turned into a shorthand like it was done with box-shadow.

Taking the proposed syntax from the other issue and the one used for box-shadow, the longhands may look like this:

text-shadow-offset: none | <length>{2}#
text-shadow-color: <color>#
text-shadow-blur: <length [0,∞]>#
text-shadow-spread: <length>#
text-shadow: <single-text-shadow>#
<single-text-shadow>: <'text-shadow-color'>? && \
          [ <'text-shadow-offset'> [ <'text-shadow-blur'> <'text-shadow-spread'>? ]? ]

Sebastian

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #4431 and the linked box-shadow pull request #6083, then compare their proposed syntax with the text-shadow material in the CSS specification. Done means reaching agreement on the longhand and shorthand syntax and incorporating the resolved definition into the relevant specification draft.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.