Skip to content

Commit 0f7dbe5

Browse files
committed
[css-images-3] markup tweak
1 parent c0d26ed commit 0f7dbe5

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

css-images-3/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ Introduction</h2>
5050
Image Values: the <<image>> type</h2>
5151

5252
The <<image>> value type denotes a 2D image. It can be a
53-
<a href="#url-notation">url reference</a>,
54-
<a href="#image-notation">image notation</a>,
55-
or <a href="#gradients">gradient notation</a>.
53+
<a section href="#url-notation">url reference</a>,
54+
<a section href="#image-notation">image notation</a>,
55+
or <a section href="#gradients">gradient notation</a>.
5656
Its syntax is:
5757

5858
<pre class="prod"><dfn>&lt;image></dfn> = <<url>> | <<image()>> | <<image-set()>> | <<element()>> | <<cross-fade()>> | <<gradient>></pre>
@@ -814,7 +814,7 @@ Placing Color Stops</h4>
814814
A color-stop can be placed at a location before 0%;
815815
though the negative region of the <a>gradient line</a> is never directly consulted for rendering,
816816
color stops placed there can affect the color of non-negative locations on the <a>gradient line</a> through interpolation or repetition
817-
(see <a href='#repeating-gradients'>repeating gradients</a>).
817+
(see <a section href='#repeating-gradients'>repeating gradients</a>).
818818
For example, ''radial-gradient(red -50px, yellow 100px)'' produces an elliptical gradient
819819
that starts with a reddish-orange color in the center
820820
(specifically, #f50)
@@ -980,7 +980,7 @@ Repeating Gradients: the ''repeating-linear-gradient()'', ''repeating-radial-gra
980980
the implementation must <a title="gradient-average-color">find the average color of the gradient</a>
981981
and render the gradient as a solid-color image equal to the average color.
982982

983-
Note: The <a href="#degenerate-radials">Degenerate Radial Gradients</a> section
983+
Note: The <a section href="#degenerate-radials">Degenerate Radial Gradients</a> section
984984
describes how the ending shape is adjusted when its width is zero.
985985

986986
To <dfn title="gradient-average-color">find the average color of a gradient</dfn>,
@@ -1320,7 +1320,7 @@ CSS⇋Object Negotiation</h3>
13201320
the <a>specified size</a>,
13211321
and the <a>default object size</a> for the context the image or object is used in,
13221322
CSS then computes a <a>concrete object size</a>.
1323-
(See the <a href="#default-sizing">following section</a>.)
1323+
(See the <a section href="#default-sizing">following section</a>.)
13241324
This defines the size and position of the region the object will render in.
13251325

13261326
<li>

css-images-3/Overview.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ <h2 class="heading settled" data-level=2 id=image-values><span class=secno>2 </s
173173
Image Values: the <a class="production css" data-link-type=type href=#typedef-image title="<image>">&lt;image&gt;</a> type</span><a class=self-link href=#image-values></a></h2>
174174

175175
<p>The <a class="production css" data-link-type=type href=#typedef-image title="<image>">&lt;image&gt;</a> value type denotes a 2D image. It can be a
176-
<a href=#url-notation>url reference</a>,
177-
<a href=#image-notation>image notation</a>,
178-
or <a href=#gradients>gradient notation</a>.
176+
<a data-section="" href=#url-notation>url reference</a>,
177+
<a data-section="" href=#image-notation>image notation</a>,
178+
or <a data-section="" href=#gradients>gradient notation</a>.
179179
Its syntax is:</p>
180180

181181
<pre class=prod><dfn data-dfn-type=type data-export="" id=typedef-image>&lt;image&gt;<a class=self-link href=#typedef-image></a></dfn> = <a class=production data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#url-value title="<url>">&lt;url&gt;</a> <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> <a class=production data-link-type=function href=#funcdef-image title=image()>&lt;image()&gt;</a> <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> <a class=production data-link-type=function href=#funcdef-image-set title=image-set()>&lt;image-set()&gt;</a> <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> <a class=production data-link-type=function href=http://dev.w3.org/csswg/css-gcpm-3/#funcdef-element title=element()>&lt;element()&gt;</a> <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> <a class=production data-link-type=function href=#funcdef-cross-fade title=cross-fade()>&lt;cross-fade()&gt;</a> <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> <a class=production data-link-type=type href=#typedef-gradient title="<gradient>">&lt;gradient&gt;</a></pre>
@@ -839,7 +839,7 @@ <h4 class="no-toc heading settled" data-level=3.2.2 id=radial-color-stops><span
839839
A color-stop can be placed at a location before 0%;
840840
though the negative region of the <a data-link-type=dfn href=#gradient-line title="gradient line">gradient line</a> is never directly consulted for rendering,
841841
color stops placed there can affect the color of non-negative locations on the <a data-link-type=dfn href=#gradient-line title="gradient line">gradient line</a> through interpolation or repetition
842-
(see <a href=#repeating-gradients>repeating gradients</a>).
842+
(see <a data-section="" href=#repeating-gradients>repeating gradients</a>).
843843
For example, <span class=css>radial-gradient(red -50px, yellow 100px)</span> produces an elliptical gradient
844844
that starts with a reddish-orange color in the center
845845
(specifically, #f50)
@@ -992,7 +992,7 @@ <h3 class="heading settled" data-level=3.3 id=repeating-gradients><span class=se
992992
the implementation must <a data-link-type=dfn href=#gradient-average-color title=gradient-average-color>find the average color of the gradient</a>
993993
and render the gradient as a solid-color image equal to the average color.</p>
994994

995-
<p class=note>Note: The <a href=#degenerate-radials>Degenerate Radial Gradients</a> section
995+
<p class=note>Note: The <a data-section="" href=#degenerate-radials>Degenerate Radial Gradients</a> section
996996
describes how the ending shape is adjusted when its width is zero.</p>
997997

998998
<p>To <dfn data-dfn-type=dfn data-noexport="" id=gradient-average-color title=gradient-average-color>find the average color of a gradient<a class=self-link href=#gradient-average-color></a></dfn>,
@@ -1302,7 +1302,7 @@ <h3 class="heading settled" data-level=4.2 id=object-negotiation><span class=sec
13021302
the <a data-link-type=dfn href=#specified-size title="specified size">specified size</a>,
13031303
and the <a data-link-type=dfn href=#default-object-size title="default object size">default object size</a> for the context the image or object is used in,
13041304
CSS then computes a <a data-link-type=dfn href=#concrete-object-size title="concrete object size">concrete object size</a>.
1305-
(See the <a href=#default-sizing>following section</a>.)
1305+
(See the <a data-section="" href=#default-sizing>following section</a>.)
13061306
This defines the size and position of the region the object will render in.
13071307

13081308
<li>

0 commit comments

Comments
 (0)