You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Registered custom properties follow the same rules for dependency cycle
353
352
resolution as unregistered custom properties, with the following additional
@@ -366,7 +365,7 @@ component:
366
365
* If the property contains any of the following units: ''rem'', ''rlh'';
367
366
then add an edge between the property
368
367
and the 'font-size'' of the root element.
369
-
* If the property contains the 'rlh' unit, add an edge between the property
368
+
* If the property contains the ''rlh'' unit, add an edge between the property
370
369
and the 'line-height'' of the root element.
371
370
372
371
<div class='example'>
@@ -446,7 +445,7 @@ strings.
446
445
Supported names {#supported-names}
447
446
----------------------------------
448
447
449
-
This section defines the <dfn for=CSS local-lt="syntax component name" lt="supported syntax component name">supported syntax component names</dfn>, and the
448
+
This section defines the <dfn for=CSS lt="supported syntax component name">supported syntax component names</dfn>, and the
450
449
corresponding types accepted by the resulting <a>syntax component</a>.
451
450
452
451
: "<length>"
@@ -587,26 +586,26 @@ Parsing the syntax string {#parsing-syntax}
587
586
preprocessed as specified in [[css-syntax-3]].
588
587
Let |descriptor| be an initially empty [=list=] of <a>syntax components</a>.
589
588
590
-
5. Repeatedly consume the <a>next input code point</a>:
589
+
5. Repeatedly consume the <a>next input code point</a> from |stream|:
591
590
592
591
: <a>whitespace</a>
593
592
:: Do nothing.
594
593
595
594
: EOF
596
-
:: If |descriptor|’s [=list/length=] is greater than zero,
595
+
:: If |descriptor|’s [=list/size=] is greater than zero,
597
596
return |descriptor|;
598
597
otherwise, return failure.
599
598
600
599
: U+007C VERTICAL LINE (|)
601
-
:: <a>Consume a syntax component</a>.
600
+
:: <a>Consume a syntax component</a> from |stream|.
602
601
If failure was returned,
603
602
return failure;
604
603
otherwise,
605
604
[=list/append=] the returned value to |descriptor|.
606
605
607
606
: anything else
608
-
:: <a>Reconsume the current input code point</a>.
609
-
<a>Consume a syntax component</a>.
607
+
:: <a>Reconsume the current input code point</a> in |stream|.
608
+
<a>Consume a syntax component</a> from |stream|.
610
609
If failure was returned,
611
610
return failure;
612
611
otherwise,
@@ -623,18 +622,18 @@ Parsing the syntax string {#parsing-syntax}
623
622
Let |component| be a new <a>syntax component</a> with its |name| and |multiplier| initially
624
623
empty.
625
624
626
-
Consume the <a>next input code point</a>:
625
+
Consume the <a>next input code point</a> |stream|:
627
626
628
627
: U+003C LESS-THAN SIGN (<)
629
-
:: <a>Consume a data type name</a>.
628
+
:: <a>Consume a data type name</a> from |stream|.
630
629
If it returned a [=string=], set |component|'s |name| to the returned value.
631
630
Otherwise, return failure.
632
631
633
632
: <a>name-start code point</a>
634
633
: U+005C REVERSE SOLIDUS (\)
635
634
:: If the stream [=starts with an identifier=],
636
-
<a>reconsume the current input code point</a>
637
-
then [=consume a name=] from the stream,
635
+
<a>reconsume the current input code point</a> from |stream|
636
+
then [=consume a name=] from |stream|,
638
637
and set |component|’s |name| to the returned <<ident-token>>’s value.
639
638
Otherwise return failure.
640
639
@@ -644,14 +643,13 @@ Parsing the syntax string {#parsing-syntax}
644
643
If |component|’s |name| is a [=pre-multiplied data type name=],
645
644
return |component|.
646
645
647
-
If the [=next input code point=]
646
+
If the [=next input code point=] in |stream|
648
647
is U+002B PLUS SIGN (+)
649
648
or U+0023 NUMBER SIGN (#),
650
-
<a>consume the next input code point</a>,
649
+
consume the <a>next input code point</a> from |stream|,
651
650
and set |component|’s |multiplier| to the [=current input code point=].
652
651
653
652
Return |component|.
654
-
655
653
</div>
656
654
657
655
### Consume a data type name ### {#consume-data-type-name}
@@ -666,8 +664,9 @@ Parsing the syntax string {#parsing-syntax}
666
664
Repeatedly consume the <a>next input code point</a>:
667
665
668
666
: U+003E GREATER-THAN SIGN (>)
669
-
:: Append the <a>code point</a> to |name|. If |name| matches one of the
670
-
<a>data type names</a> listed in [[#supported-names]], return |name|.
667
+
:: Append the <a>code point</a> to |name|.
668
+
If |name| is a [=supported syntax component name=],
0 commit comments