Skip to content

Commit 9767f8a

Browse files
committed
[css-values] Linkify references to Syntax spec
1 parent 3c59440 commit 9767f8a

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

css-values/Overview.bs

+12-6
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ Quoted Strings: the <<string>> type</h3>
317317

318318
<dfn export title="string">Strings</dfn> are denoted by <dfn id="string-value">&lt;string></dfn>
319319
and consist of a sequence of characters delimited by double quotes or
320-
single quotes. They correspond to the <<string-token>> production in the Syntax spec.
320+
single quotes. They correspond to the <<string-token>> production
321+
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
321322

322323
<div class=example>
323324
Double quotes cannot occur inside double quotes, unless
@@ -359,7 +360,8 @@ Resource Locators: the <<url>> type</h3>
359360
A <dfn>URL</dfn> is a pointer to a resource
360361
and is a <a title="consume a url token" spec=css-syntax>specially-parsed</a> <a href="#functional-notation">functional notation</a>
361362
denoted by <dfn id="url-value">&lt;url></dfn>.
362-
It corresponds to the <<url-token>> production in the Syntax spec.
363+
It corresponds to the <<url-token>> production
364+
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
363365

364366
<div class="example">
365367
Below is an example of a URL being used as a background image:
@@ -438,7 +440,8 @@ Integers: the <<integer>> type</h3>
438440

439441
Integer values are denoted by <dfn id="integer-value">&lt;integer></dfn>.
440442
An <dfn>integer</dfn> is one or more decimal digits ''0'' through ''9''
441-
and corresponds to a subset of the <<number-token>> production in the Syntax spec.
443+
and corresponds to a subset of the <<number-token>> production
444+
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
442445
The first digit of an integer may be immediately preceded by ''-'' or ''+''
443446
to indicate the integer's sign.
444447

@@ -448,7 +451,8 @@ Real Numbers: the <<number>> type</h3>
448451
Number values are denoted by <dfn id="number-value">&lt;number></dfn>.
449452
A <dfn>number</dfn> is either an <<integer>>
450453
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits.
451-
It corresponds to the <<number-token>> production in the Syntax spec.
454+
It corresponds to the <<number-token>> production
455+
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
452456
As with integers, the first character of a number may be immediately preceded by ''-'' or ''+''
453457
to indicate the number's sign.
454458

@@ -459,7 +463,8 @@ Percentages: the <<percentage>> type</h3>
459463
<dfn id="percentage-value">&lt;percentage></dfn>,
460464
and consists of a <<number>>
461465
immediately followed by a percent sign ''%''.
462-
It corresponds to the <<percentage-token>> production in the Syntax spec.
466+
It corresponds to the <<percentage-token>> production
467+
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
463468

464469
Percentage values are always relative to another value,
465470
for example a length.
@@ -475,7 +480,8 @@ Numbers with Units: <i>dimensions</i></h3>
475480

476481
A <dfn>dimension</dfn> is a <<number>>
477482
immediately followed by a unit identifier.
478-
It corresponds to the <<dimension-token>> production in the Syntax spec.
483+
It corresponds to the <<dimension-token>> production
484+
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
479485
Like keywords, unit identifiers are <a>ASCII case-insensitive</a>.
480486

481487
<p>CSS uses <i>dimensions</i> to specify

css-values/Overview.html

+12-6
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,8 @@ <h3 class="heading settled heading" data-level=3.3 id=strings><span class=secno>
470470

471471
<p> <dfn data-dfn-type=dfn data-export="" id=string title=string>Strings<a class=self-link href=#string></a></dfn> are denoted by <dfn class=css-code data-dfn-type=type data-export="" id=string-value>&lt;string&gt;<a class=self-link href=#string-value></a></dfn>
472472
and consist of a sequence of characters delimited by double quotes or
473-
single quotes. They correspond to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-string-token title="<string-token>">&lt;string-token&gt;</a> production in the Syntax spec.
473+
single quotes. They correspond to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-string-token title="<string-token>">&lt;string-token&gt;</a> production
474+
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#css3syn title=css3syn>[CSS3SYN]</a>.
474475

475476
<div class=example>
476477
Double quotes cannot occur inside double quotes, unless
@@ -508,7 +509,8 @@ <h3 class="heading settled heading" data-level=3.4 id=urls><span class=secno>3.4
508509
<p> A <dfn data-dfn-type=dfn data-noexport="" id=url>URL<a class=self-link href=#url></a></dfn> is a pointer to a resource
509510
and is a <a data-link-spec=css-syntax data-link-type=dfn href=http://dev.w3.org/csswg/css-syntax-3/#consume-a-url-token0 title="consume a url token">specially-parsed</a> <a href=#functional-notation>functional notation</a>
510511
denoted by <dfn class=css-code data-dfn-type=type data-export="" id=url-value>&lt;url&gt;<a class=self-link href=#url-value></a></dfn>.
511-
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-url-token title="<url-token>">&lt;url-token&gt;</a> production in the Syntax spec.
512+
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-url-token title="<url-token>">&lt;url-token&gt;</a> production
513+
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#css3syn title=css3syn>[CSS3SYN]</a>.
512514

513515
<div class=example>
514516
Below is an example of a URL being used as a background image:
@@ -578,7 +580,8 @@ <h3 class="heading settled heading" data-level=4.1 id=integers><span class=secno
578580

579581
<p> Integer values are denoted by <dfn class=css-code data-dfn-type=type data-export="" id=integer-value>&lt;integer&gt;<a class=self-link href=#integer-value></a></dfn>.
580582
An <dfn data-dfn-type=dfn data-noexport="" id=integer>integer<a class=self-link href=#integer></a></dfn> is one or more decimal digits <span class=css data-link-type=maybe title=0>0</span> through <span class=css data-link-type=maybe title=9>9</span>
581-
and corresponds to a subset of the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-token title="<number-token>">&lt;number-token&gt;</a> production in the Syntax spec.
583+
and corresponds to a subset of the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-token title="<number-token>">&lt;number-token&gt;</a> production
584+
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#css3syn title=css3syn>[CSS3SYN]</a>.
582585
The first digit of an integer may be immediately preceded by <span class=css data-link-type=maybe title=->-</span> or <span class=css data-link-type=maybe title=+>+</span>
583586
to indicate the integer’s sign.
584587

@@ -588,7 +591,8 @@ <h3 class="heading settled heading" data-level=4.2 id=numbers><span class=secno>
588591
<p> Number values are denoted by <dfn class=css-code data-dfn-type=type data-export="" id=number-value>&lt;number&gt;<a class=self-link href=#number-value></a></dfn>.
589592
A <dfn data-dfn-type=dfn data-noexport="" id=number>number<a class=self-link href=#number></a></dfn> is either an <a class="production css-code" data-link-type=type href=#integer-value title="<integer>">&lt;integer&gt;</a>
590593
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits.
591-
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-token title="<number-token>">&lt;number-token&gt;</a> production in the Syntax spec.
594+
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-token title="<number-token>">&lt;number-token&gt;</a> production
595+
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#css3syn title=css3syn>[CSS3SYN]</a>.
592596
As with integers, the first character of a number may be immediately preceded by <span class=css data-link-type=maybe title=->-</span> or <span class=css data-link-type=maybe title=+>+</span>
593597
to indicate the number’s sign.
594598

@@ -599,7 +603,8 @@ <h3 class="heading settled heading" data-level=4.3 id=percentages><span class=se
599603
<dfn class=css-code data-dfn-type=type data-export="" id=percentage-value>&lt;percentage&gt;<a class=self-link href=#percentage-value></a></dfn>,
600604
and consists of a <a class="production css-code" data-link-type=type href=#number-value title="<number>">&lt;number&gt;</a>
601605
immediately followed by a percent sign <span class=css data-link-type=maybe title=%>%</span>.
602-
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-percentage-token title="<percentage-token>">&lt;percentage-token&gt;</a> production in the Syntax spec.
606+
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-percentage-token title="<percentage-token>">&lt;percentage-token&gt;</a> production
607+
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#css3syn title=css3syn>[CSS3SYN]</a>.
603608

604609
<p> Percentage values are always relative to another value,
605610
for example a length.
@@ -615,7 +620,8 @@ <h3 class="heading settled heading" data-level=4.4 id=dimensions><span class=sec
615620

616621
<p> A <dfn data-dfn-type=dfn data-noexport="" id=dimension>dimension<a class=self-link href=#dimension></a></dfn> is a <a class="production css-code" data-link-type=type href=#number-value title="<number>">&lt;number&gt;</a>
617622
immediately followed by a unit identifier.
618-
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-dimension-token title="<dimension-token>">&lt;dimension-token&gt;</a> production in the Syntax spec.
623+
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-dimension-token title="<dimension-token>">&lt;dimension-token&gt;</a> production
624+
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#css3syn title=css3syn>[CSS3SYN]</a>.
619625
Like keywords, unit identifiers are <a data-link-type=dfn href=http://dev.w3.org/csswg/css-syntax-3/#ascii-case-insensitive title="ascii case-insensitive">ASCII case-insensitive</a>.
620626

621627
<p>CSS uses <a data-link-type=dfn href=#dimension title=dimensions>dimensions</a> to specify

0 commit comments

Comments
 (0)