Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions css-values-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3493,7 +3493,7 @@ Argument Grammars and Spread Syntax</h3>
and only evaluates a single argument
matching the first successful test.

This allow ''if()'' to achieve behavior similar to `if` constructs
This allows ''if()'' to achieve behavior similar to `if` constructs
in other programming languages,
where later "branches" aren't evaluated at all
(beyond a basic parse)
Expand All @@ -3508,7 +3508,7 @@ Argument Grammars and Spread Syntax</h3>

<pre highlight=css>
.foo {
--color: if(media(width >= 600px): blue; else: var(--foo));
--color: if(media(width >= 600px): blue; else: var(--color));
}
</pre>
</div>
Expand Down