Skip to content

Commit efeca81

Browse files
committed
[typed-om] obvious tpyo (from bad regex usage). Fixes w3c#701.
1 parent b4750c2 commit efeca81

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

css-typed-om/Overview.bs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ interface StylePropertyMap : StylePropertyMapReadOnly {
266266
and [[#declared-stylepropertymap-objects]]).
267267

268268
Unless otherwise stated,
269-
the initial ordering of the {{[[declarations]]}} internal slot internal slot
269+
the initial ordering of the {{[[declarations]]}} internal slot
270270
is based on the key of each entry:
271271

272272
1. Non-custom properties, sorted in increasing code-point order.
@@ -317,7 +317,7 @@ probably in an appendix.
317317
2. If |property| is not a [=valid CSS property=],
318318
[=throw=] a {{TypeError}}.
319319

320-
3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
320+
3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot.
321321

322322
4. If |props|[|property|] [=map/exists=],
323323
return |props|[|property|][0].
@@ -336,7 +336,7 @@ probably in an appendix.
336336
2. If |property| is not a [=valid CSS property=],
337337
[=throw=] a {{TypeError}}.
338338

339-
3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
339+
3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot.
340340

341341
4. If |props|[|property|] [=map/exists=],
342342
return |props|[|property|].
@@ -354,7 +354,7 @@ probably in an appendix.
354354
2. If |property| is not a [=valid CSS property=],
355355
[=throw=] a {{TypeError}}.
356356

357-
3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
357+
3. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot.
358358

359359
4. If |props|[|property|] [=map/exists=],
360360
return `true`.
@@ -366,7 +366,7 @@ probably in an appendix.
366366
on getting from a {{StylePropertyMap}} |this|,
367367
must perform the following steps:
368368

369-
1. Return the [=map/size=] of the value of |this|’s {{[[declarations]]}} internal slot internal slot.
369+
1. Return the [=map/size=] of the value of |this|’s {{[[declarations]]}} internal slot.
370370
</div>
371371

372372
<div algorithm>
@@ -383,7 +383,7 @@ probably in an appendix.
383383
3. If |property| is a [=single-valued property=] and |values| has more than one [=list/item=],
384384
[=throw=] a {{TypeError}}.
385385

386-
4. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
386+
4. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot.
387387

388388
5. If |props|[|property|] [=map/exists=],
389389
[=map/remove=] it.
@@ -415,7 +415,7 @@ probably in an appendix.
415415
3. If |property| is not a [=list-valued property=],
416416
[=throw=] a {{TypeError}}.
417417

418-
4. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot internal slot.
418+
4. Let |props| be the value of |this|’s {{[[declarations]]}} internal slot.
419419

420420
5. If |props|[|property|] does not [=map/exist=],
421421
[=map/set=] |props|[|property|] to an empty [=list=].
@@ -442,7 +442,7 @@ probably in an appendix.
442442
2. If |property| is not a [=valid CSS property=],
443443
[=throw=] a {{TypeError}}.
444444

445-
3. If |this|’s {{[[declarations]]}} internal slot internal slot [=map/contains=] |property|,
445+
3. If |this|’s {{[[declarations]]}} internal slot [=map/contains=] |property|,
446446
[=map/remove=] it.
447447
</div>
448448

@@ -451,7 +451,7 @@ probably in an appendix.
451451
when called on a {{StylePropertyMap}} |this|,
452452
must perform the following steps:
453453

454-
1. Replace the value of |this|’s {{[[declarations]]}} internal slot internal slot with a fresh empty [=declarations map=].
454+
1. Replace the value of |this|’s {{[[declarations]]}} internal slot with a fresh empty [=declarations map=].
455455
</div>
456456

457457
<div algorithm>
@@ -541,7 +541,7 @@ when it is first called.
541541

542542
1. If |this|'s {{Element/[[computedStyleMapCache]]}} internal slot is set to `null`,
543543
set its value to a live {{StylePropertyMapReadOnly}} object,
544-
whose {{[[declarations]]}} internal slot internal slot are the name and [=computed value=] of
544+
whose {{[[declarations]]}} internal slot are the name and [=computed value=] of
545545
every longhand CSS property supported by the User Agent,
546546
every registered [=custom property=],
547547
and every non-registered [=custom property=] which is not set to its initial value
@@ -585,7 +585,7 @@ or the <dfn attribute for="ElementCSSInlineStyle">attributeStyleMap</dfn> attrib
585585
of objects implementing the {{ElementCSSInlineStyle}} interface
586586
(such as {{Element}}s).
587587

588-
When constructed, the {{[[declarations]]}} internal slot internal slot for [=declared StylePropertyMap=] objects
588+
When constructed, the {{[[declarations]]}} internal slot for [=declared StylePropertyMap=] objects
589589
is initialized to contain an entry
590590
for each property with a valid value inside the {{CSSStyleRule}}
591591
or inline style

0 commit comments

Comments
 (0)