Skip to content

Commit 5357e78

Browse files
committed
[css-properties-values-api] Fix all linking errors.
1 parent 067c2e8 commit 5357e78

File tree

1 file changed

+31
-32
lines changed

1 file changed

+31
-32
lines changed

css-properties-values-api/Overview.bs

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,21 @@ Ignored Terms: WorkletGlobalContext
2525
Repository: w3c/css-houdini-drafts
2626
</pre>
2727

28-
<pre class='biblio'>
29-
{
30-
"css-paint-api": {
31-
"title": "CSS Painting API"
32-
},
33-
"css-layout-api": {
34-
"title": "CSS Layout API"
35-
}
36-
}
37-
</pre>
38-
3928
<pre class='link-defaults'>
29+
spec:css-color-4; type:property; text:color
30+
spec:css-syntax-3; type:dfn;
31+
text:input stream
32+
text:starts with an identifier
33+
text:consume a name
4034
spec:css-transforms-1; type:type; text:<transform-function>
35+
spec:css-values-4; type:value;
36+
text:ex
37+
text:cap
4138
spec:cssom-1; type:interface; text:CSS
42-
spec:css-color-4; type:property; text:color
4339
spec:dom; type:interface; text:Document
40+
spec:infra; type:dfn;
41+
text:string
42+
text:list
4443
</pre>
4544

4645
Introduction {#intro}
@@ -58,7 +57,7 @@ of other properties via a var() reference.
5857
This specification extends [[css-variables]], allowing the registration of properties
5958
that have a value type, an initial value, and a defined inheritance behaviour.
6059

61-
This specification is complementary to [[css-paint-api]] and [[css-layout-api]], which
60+
This specification is complementary to [[css-paint-api-1]] and [[css-layout-api-1]], which
6261
allow custom properties to directly impact paint and layout behaviours respectively.
6362

6463
Registering custom properties {#registering-custom-properties}
@@ -83,7 +82,7 @@ which is a set of records that describe registered custom properties.
8382
The {{PropertyDescriptor}} dictionary {#the-propertydescriptor-dictionary}
8483
--------------------------------------------------------------------------
8584

86-
A <dfn>PropertyDescriptor</dfn> dictionary represents author-specified configuration
85+
A <dfn dictionary>PropertyDescriptor</dfn> dictionary represents author-specified configuration
8786
options for a custom property. {{PropertyDescriptor}} dictionaries contain the
8887
following members:
8988

@@ -346,8 +345,8 @@ but be automatically [=invalid at computed-value time=].
346345
As ''@supports'' tests parse behavior,
347346
it thus also accepts all values as valid regardless of the registered syntax.
348347

349-
Dependency cycles via relative units
350-
------------------------------------
348+
Dependency cycles via relative units {#dependency-cycles}
349+
---------------------------------------------------------
351350

352351
Registered custom properties follow the same rules for dependency cycle
353352
resolution as unregistered custom properties, with the following additional
@@ -366,7 +365,7 @@ component:
366365
* If the property contains any of the following units: ''rem'', ''rlh'';
367366
then add an edge between the property
368367
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
370369
and the 'line-height'' of the root element.
371370

372371
<div class='example'>
@@ -446,7 +445,7 @@ strings.
446445
Supported names {#supported-names}
447446
----------------------------------
448447

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
450449
corresponding types accepted by the resulting <a>syntax component</a>.
451450

452451
: "&lt;length>"
@@ -587,26 +586,26 @@ Parsing the syntax string {#parsing-syntax}
587586
preprocessed as specified in [[css-syntax-3]].
588587
Let |descriptor| be an initially empty [=list=] of <a>syntax components</a>.
589588

590-
5. Repeatedly consume the <a>next input code point</a>:
589+
5. Repeatedly consume the <a>next input code point</a> from |stream|:
591590

592591
: <a>whitespace</a>
593592
:: Do nothing.
594593

595594
: EOF
596-
:: If |descriptor|’s [=list/length=] is greater than zero,
595+
:: If |descriptor|’s [=list/size=] is greater than zero,
597596
return |descriptor|;
598597
otherwise, return failure.
599598

600599
: U+007C VERTICAL LINE (|)
601-
:: <a>Consume a syntax component</a>.
600+
:: <a>Consume a syntax component</a> from |stream|.
602601
If failure was returned,
603602
return failure;
604603
otherwise,
605604
[=list/append=] the returned value to |descriptor|.
606605

607606
: 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|.
610609
If failure was returned,
611610
return failure;
612611
otherwise,
@@ -623,18 +622,18 @@ Parsing the syntax string {#parsing-syntax}
623622
Let |component| be a new <a>syntax component</a> with its |name| and |multiplier| initially
624623
empty.
625624

626-
Consume the <a>next input code point</a>:
625+
Consume the <a>next input code point</a> |stream|:
627626

628627
: U+003C LESS-THAN SIGN (&lt;)
629-
:: <a>Consume a data type name</a>.
628+
:: <a>Consume a data type name</a> from |stream|.
630629
If it returned a [=string=], set |component|'s |name| to the returned value.
631630
Otherwise, return failure.
632631

633632
: <a>name-start code point</a>
634633
: U+005C REVERSE SOLIDUS (\)
635634
:: 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|,
638637
and set |component|’s |name| to the returned <<ident-token>>’s value.
639638
Otherwise return failure.
640639

@@ -644,14 +643,13 @@ Parsing the syntax string {#parsing-syntax}
644643
If |component|’s |name| is a [=pre-multiplied data type name=],
645644
return |component|.
646645

647-
If the [=next input code point=]
646+
If the [=next input code point=] in |stream|
648647
is U+002B PLUS SIGN (+)
649648
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|,
651650
and set |component|’s |multiplier| to the [=current input code point=].
652651

653652
Return |component|.
654-
655653
</div>
656654

657655
### Consume a data type name ### {#consume-data-type-name}
@@ -666,8 +664,9 @@ Parsing the syntax string {#parsing-syntax}
666664
Repeatedly consume the <a>next input code point</a>:
667665

668666
: 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=],
669+
return |name|.
671670
Otherwise return failure.
672671

673672
: <a>name code point</a>

0 commit comments

Comments
 (0)