← 返回首页
CSS if() function · Issue #453 · WebKit/standards-positions · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

CSS if() function #453

New issue
New issue

Description

WebKittens

No response

Title of the proposal

CSS if() function

URL to the spec

https://drafts.csswg.org/css-values-5/#if-notation

URL to the spec's repository

No response

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#1167

WebKit Bugzilla URL

No response

Radar URL

No response

Description

CSS if() function, specified in CSS Values and Units Module Level 5, which provides a concise way to represent conditional values.
Open spec issues: w3c/csswg-drafts#11500

Metadata

Metadata

Labels

from: GoogleProposed, edited, or co-edited by Google.topic: cssSpec relates to CSS (Cascading Style Sheets)venue: W3C CSS WG

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Footer

    © 2026 GitHub, Inc.