web-platform-tests / web-platform-tests/interop
CSS if() function
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 524
- Forks
- 35
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 10
Description
Description
The CSS if() function allows devs to use conditional logic to set property values.
This feature has shipped in Chrome 137, with some level of development happening in Firefox and Safari.
Specification
https://drafts.csswg.org/css-values-5/#if-notation
web-feature
No response
Test Links
No response
Additional Signals
No response
Contributor guide
No contributing guide indexed for this repository
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 with the CSS Values and Units Level 5 if() notation specification linked in the issue, then inspect nearby web-platform-tests for comparable CSS value features. Add coverage for the specified CSS if() behavior and verify that the tests exercise the feature described for Chrome, Firefox, and Safari.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- testing, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100