Skip to content

Commit 53a9d7b

Browse files
committed
[css-properties-values-api][editorial] fix links
1 parent ed18327 commit 53a9d7b

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

css-properties-values-api/Overview.bs

+24-24
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Markup Shorthands: css on, markdown on
3232
spec:css-color-4; type:property; text:color
3333
spec:css-syntax-3; type:dfn;
3434
text:input stream
35-
text:starts with an identifier
36-
text:consume a name
35+
text:starts with an ident sequence
36+
text:consume an ident sequence
3737
spec:css-transforms-1; type:type; text:<transform-function>
3838
spec:css-values-4;
3939
type:value;
@@ -566,10 +566,10 @@ A valid ''@property'' rule represents a [=custom property registration=],
566566
with the property name being the serialization of the <<custom-property-name>>
567567
in the rule's prelude.
568568

569-
''@property'' rules require a 'syntax' and 'inherits' descriptor;
569+
''@property'' rules require a '@property/syntax' and '@property/inherits' descriptor;
570570
if either are missing,
571571
the entire rule is invalid and must be ignored.
572-
The 'initial-value' descriptor is optional
572+
The '@property/initial-value' descriptor is optional
573573
only if the syntax is the [=universal syntax definition=],
574574
otherwise the descriptor is required;
575575
if it's missing, the entire rule is invalid and must be ignored.
@@ -591,7 +591,7 @@ Issue(939): This will likely change in the future,
591591
as the behavior of concept-defining at-rules in shadow trees
592592
becomes more consistently defined.
593593

594-
The 'syntax' Descriptor {#the-syntax-descriptor}
594+
The '@property/syntax' Descriptor {#the-syntax-descriptor}
595595
------------------------------------------------
596596

597597
<pre class='descdef'>
@@ -605,15 +605,15 @@ Specifies the syntax of the [=custom property registration=]
605605
represented by the ''@property'' rule,
606606
controlling how the property's value is parsed at [=computed value=] time.
607607

608-
The 'syntax' descriptor is required for the ''@property'' rule to be valid;
608+
The '@property/syntax' descriptor is required for the ''@property'' rule to be valid;
609609
if it's missing, the ''@property'' rule is invalid.
610610

611611
If the provided string is not a valid [=syntax string=]
612612
(if it returns failure when [=consume a syntax definition=] is called on it),
613613
the descriptor is invalid and must be ignored.
614614

615615

616-
The 'inherits' Descriptor {#inherits-descriptor}
616+
The '@property/inherits' Descriptor {#inherits-descriptor}
617617
------------------------------------------------
618618

619619
<pre class='descdef'>
@@ -627,11 +627,11 @@ Specifies the inherit flag of the [=custom property registration=]
627627
represented by the ''@property'' rule,
628628
controlling whether or not the property inherits by default.
629629

630-
The 'inherits' descriptor is required for the ''@property'' rule to be valid;
630+
The '@property/inherits' descriptor is required for the ''@property'' rule to be valid;
631631
if it's missing, the ''@property'' rule is invalid.
632632

633633

634-
The 'initial-value' Descriptor {#initial-value-descriptor}
634+
The '@property/initial-value' Descriptor {#initial-value-descriptor}
635635
----------------------------------------------------------
636636

637637
<pre class='descdef'>
@@ -645,18 +645,18 @@ Specifies the initial value of the [=custom property registration=]
645645
represented by the ''@property'' rule,
646646
controlling the property’s [=initial value=].
647647

648-
If the value of the 'syntax' descriptor is the [=universal syntax definition=],
649-
then the 'initial-value' descriptor is optional.
648+
If the value of the '@property/syntax' descriptor is the [=universal syntax definition=],
649+
then the '@property/initial-value' descriptor is optional.
650650
If omitted, the [=initial value=] of the property is the [=guaranteed-invalid value=].
651651

652652
Otherwise,
653-
if the value of the 'syntax' descriptor is not the [=universal syntax definition=],
653+
if the value of the '@property/syntax' descriptor is not the [=universal syntax definition=],
654654
the following conditions must be met for the ''@property'' rule to be valid:
655655

656-
* The 'initial-value' descriptor must be present.
657-
* The 'initial-value' descriptor's value must [=consume a syntax definition|parse successfully=]
656+
* The '@property/initial-value' descriptor must be present.
657+
* The '@property/initial-value' descriptor's value must [=consume a syntax definition|parse successfully=]
658658
according to the grammar specified by the [=syntax definition=].
659-
* The 'initial-value' must be [=computationally independent=].
659+
* The '@property/initial-value' must be [=computationally independent=].
660660

661661
If the above conditions are not met, the ''@property'' rule is invalid.
662662

@@ -1041,7 +1041,7 @@ Parsing The Syntax String {#parsing-syntax}
10411041
### Definitions ### {#parsing-definitions}
10421042

10431043
: <dfn>data type name</dfn>
1044-
:: A sequence of <a>code points</a> consisting of a U+003C LESS-THAN SIGN (&lt;), followed be zero or more <a>name code points</a>, and terminated by U+003E GREATER-THAN SIGN (>).
1044+
:: A sequence of <a>code points</a> consisting of a U+003C LESS-THAN SIGN (&lt;), followed be zero or more <a>ident code points</a>, and terminated by U+003E GREATER-THAN SIGN (>).
10451045

10461046
: <dfn>pre-multiplied data type name</dfn>
10471047
:: A [=data type name=] that represents another [=syntax component=] with a [[#multipliers|multiplier]] already included.
@@ -1116,11 +1116,11 @@ Parsing The Syntax String {#parsing-syntax}
11161116
If it returned a [=string=], set |component|'s |name| to the returned value.
11171117
Otherwise, return failure.
11181118

1119-
: <a>name-start code point</a>
1119+
: <a>ident-start code point</a>
11201120
: U+005C REVERSE SOLIDUS (\)
1121-
:: If the stream [=starts with an identifier=],
1121+
:: If the stream [=starts with an ident sequence=],
11221122
<a>reconsume the current input code point</a> from |stream|
1123-
then [=consume a name=] from |stream|,
1123+
then [=consume an ident sequence=] from |stream|,
11241124
and set |component|’s |name| to the returned value.
11251125
Otherwise return failure.
11261126

@@ -1159,7 +1159,7 @@ Parsing The Syntax String {#parsing-syntax}
11591159
return |name|.
11601160
Otherwise return failure.
11611161

1162-
: <a>name code point</a>
1162+
: <a>ident code point</a>
11631163
:: Append the <a>code point</a> to |name|.
11641164

11651165
: anything else
@@ -1238,10 +1238,10 @@ the following:
12381238
LEFT CURLY BRACKET (U+007B), followed by a SPACE (U+0020).
12391239
4. The string <code>"syntax:"</code>, followed by a single SPACE (U+0020).
12401240
5. The result of performing <a>serialize a string</a> on the rule's
1241-
'syntax', followed by a single SEMICOLON (U+003B), followed by a
1241+
'@property/syntax', followed by a single SEMICOLON (U+003B), followed by a
12421242
SPACE (U+0020).
12431243
6. The string <code>"inherits:"</code>, followed by a single SPACE (U+0020).
1244-
7. For the rule's 'inherits' attribute, one of the following depending on
1244+
7. For the rule's '@property/inherits' attribute, one of the following depending on
12451245
the attribute's value:
12461246
<dl class=switch>
12471247
: true
@@ -1251,10 +1251,10 @@ the following:
12511251
:: The string <code>"false"</code> followed by a single
12521252
SEMICOLON (U+003B), followed by a SPACE (U+0020).
12531253
</dl>
1254-
8. If the rule's 'initial-value' is present, follow these substeps:
1254+
8. If the rule's '@property/initial-value' is present, follow these substeps:
12551255
1. The string <code>"initial-value:"</code>.
12561256
2. The result of performing <a>serialize a CSS value</a> in the rule's
1257-
'initial-value' followed by a single SEMICOLON (U+003B), followed by
1257+
'@property/initial-value' followed by a single SEMICOLON (U+003B), followed by
12581258
a SPACE (U+0020).
12591259
9. A single RIGHT CURLY BRACKET (U+007D).
12601260
</div>

0 commit comments

Comments
 (0)