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
A color-stop can be placed at a location before 0%;
840
840
though the negative region of the <adata-link-type=dfnhref=#gradient-linetitle="gradient line">gradient line</a> is never directly consulted for rendering,
841
841
color stops placed there can affect the color of non-negative locations on the <adata-link-type=dfnhref=#gradient-linetitle="gradient line">gradient line</a> through interpolation or repetition
842
-
(see <ahref=#repeating-gradients>repeating gradients</a>).
842
+
(see <adata-section="" href=#repeating-gradients>repeating gradients</a>).
843
843
For example, <spanclass=css>radial-gradient(red -50px, yellow 100px)</span> produces an elliptical gradient
844
844
that starts with a reddish-orange color in the center
the implementation must <adata-link-type=dfnhref=#gradient-average-colortitle=gradient-average-color>find the average color of the gradient</a>
993
993
and render the gradient as a solid-color image equal to the average color.</p>
994
994
995
-
<pclass=note>Note: The <ahref=#degenerate-radials>Degenerate Radial Gradients</a> section
995
+
<pclass=note>Note: The <adata-section="" href=#degenerate-radials>Degenerate Radial Gradients</a> section
996
996
describes how the ending shape is adjusted when its width is zero.</p>
997
997
998
998
<p>To <dfndata-dfn-type=dfndata-noexport="" id=gradient-average-colortitle=gradient-average-color>find the average color of a gradient<aclass=self-linkhref=#gradient-average-color></a></dfn>,
the <adata-link-type=dfnhref=#specified-sizetitle="specified size">specified size</a>,
1303
1303
and the <adata-link-type=dfnhref=#default-object-sizetitle="default object size">default object size</a> for the context the image or object is used in,
1304
1304
CSS then computes a <adata-link-type=dfnhref=#concrete-object-sizetitle="concrete object size">concrete object size</a>.
1305
-
(See the <ahref=#default-sizing>following section</a>.)
1305
+
(See the <adata-section="" href=#default-sizing>following section</a>.)
1306
1306
This defines the size and position of the region the object will render in.
0 commit comments