w3c / w3c/csswg-drafts

[css-env] Make it clear that dimension values of builtin environment should include units

Open
#2,876 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-env-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

For example, 0 can be parsed as <length> but probably builtin environment variable typed <length> shouldn't be exposing 0 but 0px instead.

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

Locate the specification text defining builtin environment variables and their dimension values. Check how a typed value such as 0 is currently described, then clarify whether the exposed value should include a unit such as 0px; the wording should make the expected representation unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.