Skip to content

Commit d26cdf5

Browse files
committed
[css-variables] Fix the grammar of var().
--HG-- extra : rebase_source : 93107c4bfb0146f3f6e52eaa79b2ec886c6c3c51
1 parent 983c03c commit d26cdf5

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

css-variables/Overview.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,7 @@ <h2 id=using-variables><span class=secno>3. </span> Using Cascading
559559
syntax, or else a value whose meaning has no connection to the variable.)
560560

561561
<p> The <var>&lt;fallback></var> value is identical to the syntax of a <a
562-
href="#custom-property"><i>custom property</i></a>, except that unmatched
563-
) tokens cannot appear at the top-level. (They will be interpreted as
564-
closing the function.)
562+
href="#custom-property"><i>custom property</i></a>.
565563

566564
<p> If the variable named by the first argument is valid, the variable's
567565
value is substituted as normal. If it's invalid, and a

css-variables/Overview.src.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,7 @@ <h2 id='using-variables'>
395395
or else a value whose meaning has no connection to the variable.)
396396

397397
<p>
398-
The <var>&lt;fallback></var> value is identical to the syntax of a <i>custom property</i>,
399-
except that unmatched ) tokens cannot appear at the top-level.
400-
(They will be interpreted as closing the function.)
398+
The <var>&lt;fallback></var> value is identical to the syntax of a <i>custom property</i>.
401399

402400
<p>
403401
If the variable named by the first argument is valid,

0 commit comments

Comments
 (0)