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
<i><repeating-linear-gradient></i>, and <i><repeating-radial-gradient></i> are
456
454
defined in their applicable sections below.</p>
457
455
456
+
<p>Gradients are a type of image, and can be used anywhere an image can,
457
+
such as in the 'background-image' or 'list-style-image' properties.
458
+
458
459
<divclass=example>
459
460
<p>As with the other <i><image></i> types defined in this specification,
460
461
gradients can be used in any property that accepts images. For example:</p>
@@ -464,14 +465,16 @@ <h2 id="gradients">
464
465
</ul>
465
466
</div>
466
467
467
-
<pclass=note>In many places this section references a box, such as "the box's
468
-
top-left corner" or "the box's right side". In all of these circumstances,
469
-
the "box" refers to a rectangle with the dimensions of the <i>concrete object size</i>.
470
-
A gradient has no intrinsic dimensions. This means that, for example, if you use a gradient in the
471
-
'background-image' property (with 'background-size' at the default value and 'background-repeat'
472
-
not equal to 'round'), the "box" will simply be the size of the background sizing
473
-
area. If you use a gradient in a list-style-image, the "box" will be a 1em
474
-
square.</p>
468
+
<p>A gradient is drawn into a box with the dimensions of the <i>concrete
469
+
object size</i>. Elsewhere in this section this rectangle is simply
470
+
called the "box".
471
+
472
+
<p>A gradient has no <i>intrinsic dimensions</i>. This means that, for
473
+
example, if you use a gradient in the 'background-image' property (with
474
+
'background-size' at the default value and 'background-repeat' not equal to
475
+
'round'), the box will simply be the size of the background sizing
476
+
area. Similarly, for a gradient used as a list-style-image, the box
477
+
would be a 1em square.
475
478
476
479
<pclass=issue>It has been suggested that several of the controls offered by gradients are unnecessary. Repeating gradients could potentially be done by hooking into ‘background-repeat’, sizing and positioning radial gradients could be done by hooking into ‘background-size’ and ‘background-position’, etc.</p>
0 commit comments