Skip to content

Commit 4e83fe9

Browse files
committed
typo
1 parent 3360ce5 commit 4e83fe9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

css-variables/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h2 id=using-variables><span class=secno>3. </span> Using Variables</h2>
374374

375375
<div class=note>
376376
<p>I'm not sure how to precisely define where/how variables can be used.
377-
The Grammar section has a perfect definition, it weren't all
377+
The Grammar section has a perfect definition, if only it weren't all
378378
non-normative (because it's just extending the 2.1 grammar). I don't know
379379
if 2.1 actually has a term for what is represented by the "term"
380380
production in the 2.1 grammar.</p>

css-variables/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h2 id='using-variables'>
142142
<p>A variable is substituted for its value in the property value at computed-value time. If a declaration, once all variables are substituted in, is invalid, the declaration is <i>invalid at computed-value time</i>.</p>
143143

144144
<div class='note'>
145-
<p>I'm not sure how to precisely define where/how variables can be used. The Grammar section has a perfect definition, it weren't all non-normative (because it's just extending the 2.1 grammar). I don't know if 2.1 actually has a term for what is represented by the "term" production in the 2.1 grammar.</p>
145+
<p>I'm not sure how to precisely define where/how variables can be used. The Grammar section has a perfect definition, if only it weren't all non-normative (because it's just extending the 2.1 grammar). I don't know if 2.1 actually has a term for what is represented by the "term" production in the 2.1 grammar.</p>
146146

147147
<p>Basically, though, variables are lexically substituted into the property value, with restrictions on where they can appear as implied by the Grammar section. You can't, for example, do something ridiculous like ''@var $unit px; div { width: 20$unit; }''.</p>
148148
</div>

0 commit comments

Comments
 (0)