[css-values-5] Using `first-valid()` and `interpolate()` in shorthands

Open
#11,136 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the CSS Values 5 definitions for first-valid(), interpolate(), and toggle(), then read the substitution-in-shorthands section linked in the issue. Compare the existing toggle() shorthand behavior with the other two functions and review the five-comment discussion. Done means reaching a clear specification decision and documenting the resulting shorthand behavior.

Written by the indexing model from the issue text.

Description

css-values-5

There are currently three <whole-value> substitution functions: first-valid(), interpolate(), toggle(). All are resolved at computed value time or later.

Using them as a shorthand value is specified for toggle(), but not for the other two: should they expand like arbitrary substitutions, with a pending-substitution value?

Dominant language
Bikeshed
Stars
4.9k
Forks
816
Avg merge
2d 18h
Merged PRs (30d)
24

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.

More from w3c/csswg-drafts

All issues in w3c/csswg-drafts

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.