w3c / w3c/csswg-drafts

[css-logical-1] Invalid `initial` of `border-*-radius` properties

Open
#7,366 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The initial field of the border-*-radius properties are defined with Same as border-top-left-radius, which cannot be parsed against the value field, which is annoying for CSS tools that use this data, eg. to set a longhand value that is missing in a shorthand declaration value.

I suggest using 0 or some kind of redirection markup that w3c/reffy can read to extract the proper value.

FYI, @tidoust.

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 with the border-*-radius properties section linked in the issue and inspect the initial and value fields for the affected properties. Update the definition so the initial value is parseable against the value field, using 0 or a redirection form supported by the project; done means the fields are consistent for CSS tools.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Bug
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.