Skip to content

Commit 9d38c62

Browse files
andruudAnders Hartvoll Ruud
andauthored
[css-values-5] Fix typos in early-resolution example (#12011)
Co-authored-by: Anders Hartvoll Ruud <andruud@google.com>
1 parent e6147ce commit 9d38c62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-values-5/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,7 +3480,7 @@ Argument Grammars and Spread Syntax</h3>
34803480
and only evaluates a single argument
34813481
matching the first successful test.
34823482

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

34963496
<pre highlight=css>
34973497
.foo {
3498-
--color: if(media(width >= 600px): blue; else: var(--foo));
3498+
--color: if(media(width >= 600px): blue; else: var(--color));
34993499
}
35003500
</pre>
35013501
</div>

0 commit comments

Comments
 (0)