Skip to content

Commit 73efced

Browse files
committed
[typed-om] Consistently use 'set' instead of 'let' when changing something. Fixes w3c#698.
1 parent efeca81 commit 73efced

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

css-typed-om/Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ and return the result.
160160
and a |parseMultiple| flag, run these steps:
161161

162162
1. If |property| is not a [=custom property name string=],
163-
let |property| be |property| [=ASCII lowercased=].
163+
set |property| to |property| [=ASCII lowercased=].
164164

165165
2. If |property| is not a [=valid CSS property=],
166166
[=throw=] a {{TypeError}}.
@@ -312,7 +312,7 @@ probably in an appendix.
312312
must perform the following steps:
313313

314314
1. If |property| is not a [=custom property name string=],
315-
let |property| be |property| [=ASCII lowercased=].
315+
set |property| to |property| [=ASCII lowercased=].
316316

317317
2. If |property| is not a [=valid CSS property=],
318318
[=throw=] a {{TypeError}}.
@@ -331,7 +331,7 @@ probably in an appendix.
331331
must perform the following steps:
332332

333333
1. If |property| is not a [=custom property name string=],
334-
let |property| be |property| [=ASCII lowercased=].
334+
set |property| to |property| [=ASCII lowercased=].
335335

336336
2. If |property| is not a [=valid CSS property=],
337337
[=throw=] a {{TypeError}}.
@@ -349,7 +349,7 @@ probably in an appendix.
349349
must perform the following steps:
350350

351351
1. If |property| is not a [=custom property name string=],
352-
let |property| be |property| [=ASCII lowercased=].
352+
set |property| to |property| [=ASCII lowercased=].
353353

354354
2. If |property| is not a [=valid CSS property=],
355355
[=throw=] a {{TypeError}}.
@@ -375,7 +375,7 @@ probably in an appendix.
375375
must perform the following steps:
376376

377377
1. If |property| is not a [=custom property name string=],
378-
let |property| be |property| [=ASCII lowercased=].
378+
set |property| to |property| [=ASCII lowercased=].
379379

380380
2. If |property| is not a [[=valid CSS property=],
381381
[=throw=] a {{TypeError}}.
@@ -407,7 +407,7 @@ probably in an appendix.
407407
must perform the following steps:
408408

409409
1. If |property| is not a [=custom property name string=],
410-
let |property| be |property| [=ASCII lowercased=].
410+
set |property| to |property| [=ASCII lowercased=].
411411

412412
2. If |property| is not a [=valid CSS property=],
413413
[=throw=] a {{TypeError}}.
@@ -437,7 +437,7 @@ probably in an appendix.
437437
must perform the following steps:
438438

439439
1. If |property| is not a [=custom property name string=],
440-
let |property| be |property| [=ASCII lowercased=].
440+
set |property| to |property| [=ASCII lowercased=].
441441

442442
2. If |property| is not a [=valid CSS property=],
443443
[=throw=] a {{TypeError}}.
@@ -3173,13 +3173,13 @@ The following process sets a value for either <var>x</var> or<var>y</var>, depen
31733173
<var>length</var>, and <var>bias</var>. The process also updates <var>bias</var> based on the <var>keyword</var> and
31743174
<var>length</var>.
31753175

3176-
1. follow the procedure outlined in [[#from-single-keyword]] with <var>value</var> given by
3176+
1. Follow the procedure outlined in [[#from-single-keyword]] with <var>value</var> given by
31773177
<var>keyword</var>, using the provided <var>bias</var>
3178-
1. let <var>adjustment</var> be the result of
3178+
1. Let <var>adjustment</var> be the result of
31793179
[=normalize a numeric value|normalizing |length| as a numeric value=].
31803180
1. If the keyword is "right" or "bottom", let <var>adjustment</var> be the result of subtracting
31813181
<var>adjustment</var> from a zero length.
3182-
1. amend <var>x</var> (if <var>bias</var> is horizontal) or <var>y</var> (if <var>bias</var> is vertical) by
3182+
1. Amend <var>x</var> (if <var>bias</var> is horizontal) or <var>y</var> (if <var>bias</var> is vertical) by
31833183
adding <var>adjustment</var> to it.
31843184

31853185
{{CSSResourceValue}} normalization {#resourcevalue-normalization}

0 commit comments

Comments
 (0)