@@ -160,15 +160,15 @@ with property |property|, cssText |cssText|, and parseMultiple set to true.
160160 let |property| be |property| [=ASCII lowercased=] .
161161
162162 2. If |property| is not a [=valid CSS property=] ,
163- [=throw=] a {{TypeError}} and exit this algorithm .
163+ [=throw=] a {{TypeError}} .
164164
165165 3. If |parseMultiple| is true,
166166 but |property| is a [=single-valued property=] ,
167- [=throw=] a {{TypeError}} and exit this algorithm .
167+ [=throw=] a {{TypeError}} .
168168
169169 3. Attempt to [=CSS/parse=] |cssText| according to |property|’s grammar.
170170 If this fails,
171- [=throw=] a {{TypeError}} and exit this algorithm .
171+ [=throw=] a {{TypeError}} .
172172 Otherwise,
173173 let |whole value| be the parsed result.
174174
@@ -323,7 +323,7 @@ probably in an appendix.
323323 let |property| be |property| [=ASCII lowercased=] .
324324
325325 2. If |property| is not a [=valid CSS property=] ,
326- [=throw=] a {{TypeError}} and exit this algorithm .
326+ [=throw=] a {{TypeError}} .
327327
328328 3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
329329
@@ -342,7 +342,7 @@ probably in an appendix.
342342 let |property| be |property| [=ASCII lowercased=] .
343343
344344 2. If |property| is not a [=valid CSS property=] ,
345- [=throw=] a {{TypeError}} and exit this algorithm .
345+ [=throw=] a {{TypeError}} .
346346
347347 3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
348348
@@ -360,7 +360,7 @@ probably in an appendix.
360360 let |property| be |property| [=ASCII lowercased=] .
361361
362362 2. If |property| is not a [=valid CSS property=] ,
363- [=throw=] a {{TypeError}} and exit this algorithm .
363+ [=throw=] a {{TypeError}} .
364364
365365 3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
366366
@@ -386,10 +386,10 @@ probably in an appendix.
386386 let |property| be |property| [=ASCII lowercased=] .
387387
388388 2. If |property| is not a [[=valid CSS property=] ,
389- [=throw=] a {{TypeError}} and exit this algorithm .
389+ [=throw=] a {{TypeError}} .
390390
391391 3. If |property| is a [=single-valued property=] and |values| has more than one [=list/item=] ,
392- [=throw=] a {{TypeError}} and exit this algorithm .
392+ [=throw=] a {{TypeError}} .
393393
394394 4. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
395395
@@ -418,10 +418,10 @@ probably in an appendix.
418418 let |property| be |property| [=ASCII lowercased=] .
419419
420420 2. If |property| is not a [=valid CSS property=] ,
421- [=throw=] a {{TypeError}} and exit this algorithm .
421+ [=throw=] a {{TypeError}} .
422422
423423 3. If |property| is not a [=list-valued property=] ,
424- [=throw=] a {{TypeError}} and exit this algorithm .
424+ [=throw=] a {{TypeError}} .
425425
426426 4. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
427427
@@ -464,7 +464,7 @@ Issue(645): Do we need an updateAll() method that gets and sets a list?
464464 let |property| be |property| [=ASCII lowercased=] .
465465
466466 2. If |property| is not a [=valid CSS property=] ,
467- [=throw=] a {{TypeError}} and exit this algorithm .
467+ [=throw=] a {{TypeError}} .
468468
469469 3. If |this|’s {{[[declarations]]}} internal slot internal slot [=map/contains=] |property|,
470470 [=map/remove=] it.
@@ -485,7 +485,7 @@ Issue(645): Do we need an updateAll() method that gets and sets a list?
485485
486486 : If |value| is a {{CSSStyleValue}} ,
487487 :: If |value| does not [=match a CSS production|match the grammar=] of a [=list-valued property iteration=] of |property|,
488- [=throw=] a {{TypeError}} and exit this algorithm .
488+ [=throw=] a {{TypeError}} .
489489
490490 If any component of |property|’s CSS grammar has a limited numeric range,
491491 and the corresponding part of |value| is a {{CSSUnitValue}} that is outside of that range,
@@ -662,8 +662,7 @@ The <dfn for=CSSUnparsedValue>indexed getter</dfn> retrieves the string fragment
662662 variable |variable|, perform the following steps:
663663
664664 1. If |variable| is not a [=custom property name string=] ,
665- [=throw=] a {{TypeError}} ,
666- and exit this algorithm.
665+ [=throw=] a {{TypeError}} .
667666
668667 2. Otherwise, set |this|’s {{CSSVariableReferenceValue/variable}} internal slot
669668 to |variable|.
@@ -675,8 +674,7 @@ The <dfn for=CSSUnparsedValue>indexed getter</dfn> retrieves the string fragment
675674 perform the following steps:
676675
677676 1. If |variable| is not a [=custom property name string=] ,
678- [=throw=] a {{TypeError}} ,
679- and exit this algorithm.
677+ [=throw=] a {{TypeError}} .
680678
681679 2. Return a new {{CSSVariableReferenceValue}}
682680 with its {{CSSVariableReferenceValue/variable}} internal slot
@@ -715,8 +713,7 @@ interface CSSKeywordValue : CSSStyleValue {
715713 when called,
716714 perform the following steps:
717715
718- 1. If |value| is an empty string [=throw=] a {{TypeError}}
719- and exit this algorithm.
716+ 1. If |value| is an empty string [=throw=] a {{TypeError}} .
720717 2. Otherwise, return a new {{CSSKeywordValue}}
721718 with its {{CSSKeywordValue/value}} internal slot
722719 set to |value|.
@@ -748,8 +745,7 @@ typedef (DOMString or CSSKeywordValue) CSSKeywordish;
748745 on setting a value |value|,
749746 perform the following steps:
750747
751- 1. If |value| is an empty string, [=throw=] a {{TypeError}} ,
752- and exit this algorithm.
748+ 1. If |value| is an empty string, [=throw=] a {{TypeError}} .
753749
754750 2. Otherwise, set |this|’s {{CSSKeywordValue/value}} internal slot,
755751 to |value|.
@@ -2702,7 +2698,7 @@ objects, the {{CSSURLImageValue/url}} attribute contains the URL that references
27022698 perform the following steps:
27032699
27042700 1. If the |url| passed into the constructor doesn't correctly
2705- parse as a <<url>> , throw a {{TypeError}} and exit this algorithm .
2701+ parse as a <<url>> , throw a {{TypeError}} .
27062702 2. Else, return a new {{CSSURLImageValue}}
27072703 with its {{CSSURLImageValue/url}} internal slot
27082704 set to |url|.
0 commit comments