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
The starting-point and ending-point of the <i>gradient-line</i> are
515
514
determined by extending a line in both directions from the center of the
516
-
box at the angle specified. In the direction of the angle, the ending-point
515
+
<i>gradient box</i> at the angle specified. In the direction of the angle, the ending-point
517
516
is the point on the <i>gradient-line</i> where a line drawn perpendicular
518
-
to the <i>gradient-line</i> would intersect the corner of the box in that
517
+
to the <i>gradient-line</i> would intersect the corner of the <i>gradient box</i> in that
519
518
direction. The starting-point is determined identically, except in the
520
519
opposite direction of the angle.</p>
521
520
522
-
<p>Alternately, the direction may be specified with keywords that denote the direction. If the argument is "to top", "to right", "to bottom", or "to left", the gradient must be rendered identically to "0deg", "90deg", "180deg", or "270deg", respectively. If the argument specifies a corner to angle towards, the gradient must be rendered identically to an angle-based gradient with an angle chosen such that the endpoint of the gradient is in the same quadrant as the indicated corner, and a line drawn perpendicular to the gradient-line through the center of the box intersects the two neighboring corners.</p>
521
+
<p>Alternately, the direction may be specified with keywords that denote the direction. If the argument is "to top", "to right", "to bottom", or "to left", the gradient must be rendered identically to "0deg", "90deg", "180deg", or "270deg", respectively. If the argument specifies a corner to angle towards, the gradient must be rendered identically to an angle-based gradient with an angle chosen such that the endpoint of the gradient is in the same quadrant as the indicated corner, and a line drawn perpendicular to the gradient-line through the center of the <i>gradient box</i> intersects the two neighboring corners.</p>
523
522
524
523
<pclass='note'>It is expected that the next level of this module will provide the ability to define the gradient's direction relative to the current text direction and writing-mode.</p>
525
524
@@ -603,7 +602,7 @@ <h3 id='radial-gradients'>
603
602
Radial Gradients</h3>
604
603
605
604
<p>In a radial gradient, rather than colors smoothly fading from one side
606
-
of the box to the other as with linear gradients, they instead emerge from
605
+
of the <i>gradient box</i> to the other as with linear gradients, they instead emerge from
607
606
a single point and smoothly spread outward in a circular or elliptical shape.</p>
608
607
609
608
<p>A radial gradient is specified by indicating the center
and is resolved in the same way, using the center-point as the subject and
646
-
the content box as the positioning area. [[!CSS21]] [[!CSS3BG]]
645
+
the <i>gradient box</i> as the positioning area. [[!CSS21]] [[!CSS3BG]]
647
646
If this argument is omitted, it defaults to ''center''. <spanclass='note'>Note that the CR of CSS3 B&B doesn't yet have a definition of <position> - it's defined in the ED, and an update to B&B is expected.</span>
648
647
649
648
<dtid='radial-size'><dfn><size></dfn>
650
649
<dd>
651
650
<p>Determines the size of the gradient's <i>ending shape</i>. If
652
651
omitted it defaults to ''farthest-corner''. It can be given explicitly or
653
652
by keyword. For the purpose of the keyword definitions, consider the
654
-
box edges as extending infinitely in both directions, rather than
653
+
<i>gradient box</i> edges as extending infinitely in both directions, rather than
655
654
being finite line segments.
656
655
657
656
<p>Both ''circle'' and ''ellipse'' gradients accept the following keywords
0 commit comments