Skip to content

Commit 69197fb

Browse files
committed
[css-images-3][editorial] Use radial- rather than rg-
This makes it more sensible to re-use the terms in e.g. <basic-shape>.
1 parent 939ad3d commit 69197fb

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

css-images-3/Overview.bs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,14 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
509509
<<radial-gradient()>> = radial-gradient( [ <<radial-gradient-syntax>> ] )
510510
511511
<dfn>&lt;radial-gradient-syntax></dfn> =
512-
[ <<rg-ending-shape>> || <<rg-size>> ]? [ at <<position>> ]? ,
512+
[ <<radial-shape>> || <<radial-size>> ]? [ at <<position>> ]? ,
513513
<<color-stop-list>>
514514
515-
<dfn>&lt;rg-size></dfn> = <<rg-extent-keyword>> | <<length [0,∞]>> | <<length-percentage [0,∞]>>{2}
515+
<dfn>&lt;radial-size></dfn> = <<radial-extent>> | <<length [0,∞]>> | <<length-percentage [0,∞]>>{2}
516516
517-
<dfn>&lt;rg-extent-keyword></dfn> = closest-corner | closest-side | farthest-corner | farthest-side
517+
<dfn>&lt;radial-extent></dfn> = closest-corner | closest-side | farthest-corner | farthest-side
518518
519-
<dfn>&lt;rg-ending-shape></dfn> = circle | ellipse
519+
<dfn>&lt;radial-shape></dfn> = circle | ellipse
520520
</pre>
521521

522522
<div class=example>
@@ -546,16 +546,16 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
546546
If this argument is omitted,
547547
it defaults to ''<position>/center''.
548548

549-
<dt><dfn><<rg-ending-shape>></dfn>
549+
<dt><dfn><<radial-shape>></dfn>
550550
<dd>
551-
Can be either <dfn value for="<rg-ending-shape>">circle</dfn> or <dfn value for="<rg-ending-shape>">ellipse</dfn>;
551+
Can be either <dfn value for="<radial-shape>">circle</dfn> or <dfn value for="<radial-shape>">ellipse</dfn>;
552552
determines whether the gradient's <a>ending shape</a> is a circle or an ellipse, respectively.
553-
If <<rg-ending-shape>> is omitted,
553+
If <<radial-shape>> is omitted,
554554
the <a>ending shape</a> defaults to a circle
555-
if the <<rg-size>> is a single <<length>>,
555+
if the <<radial-size>> is a single <<length>>,
556556
and to an ellipse otherwise.
557557

558-
<dt><dfn><<rg-size>></dfn>
558+
<dt><dfn><<radial-size>></dfn>
559559
<dd>
560560
Determines the size of the gradient's <a>ending shape</a>.
561561
If omitted it defaults to ''farthest-corner''.
@@ -567,9 +567,9 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
567567
If the ending-shape is an ellipse,
568568
its axises are aligned with the horizontal and vertical axises.
569569

570-
Both ''circle'' and ''ellipse'' gradients accept the following <<rg-extent-keyword>> values:
570+
Both ''circle'' and ''ellipse'' gradients accept the following <<radial-extent>> values:
571571

572-
<dl dfn-for="<rg-extent-keyword>, radial-gradient(), repeating-radial-gradient()">
572+
<dl dfn-for="<radial-extent>, radial-gradient(), repeating-radial-gradient()">
573573
<dt><dfn>closest-side</dfn>
574574
<dd>
575575
The <a>ending shape</a> is sized so that
@@ -597,11 +597,11 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
597597
the <a>ending shape</a> is given the same aspect ratio it would have if ''farthest-side'' were specified.
598598
</dl>
599599

600-
If <<rg-ending-shape>> is specified as ''circle'' or is omitted,
601-
the <<rg-size>> may be given explicitly as:
600+
If <<radial-shape>> is specified as ''circle'' or is omitted,
601+
the <<radial-size>> may be given explicitly as:
602602

603603
<dl>
604-
<dt><dfn for="<rg-size>, radial-gradient(), repeating-radial-gradient()">&lt;length [0,∞]></dfn>
604+
<dt><dfn for="<radial-size>, radial-gradient(), repeating-radial-gradient()">&lt;length [0,∞]></dfn>
605605
<dd>
606606
Gives the radius of the circle explicitly.
607607
Negative values are invalid.
@@ -615,11 +615,11 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
615615

616616
</dl>
617617

618-
If <<rg-ending-shape>> is specified as ''ellipse'' or is omitted,
619-
<<rg-size>> may instead be given explicitly as:
618+
If <<radial-shape>> is specified as ''ellipse'' or is omitted,
619+
<<radial-size>> may instead be given explicitly as:
620620

621621
<dl>
622-
<dt><dfn for="<rg-size>, radial-gradient(), repeating-radial-gradient()"><<length-percentage [0,∞]>>{2}</dfn>
622+
<dt><dfn for="<radial-size>, radial-gradient(), repeating-radial-gradient()"><<length-percentage [0,∞]>>{2}</dfn>
623623
<dd>
624624
Gives the size of the ellipse explicitly.
625625
The first value represents the horizontal radius,
@@ -637,7 +637,7 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
637637
radial-gradient() = radial-gradient(
638638
[ [ circle || <<length [0,∞]>> ] [ at <<position>> ]? , |
639639
[ ellipse || <<length-percentage [0,∞]>>{2} ] [ at <<position>> ]? , |
640-
[ [ circle | ellipse ] || <<rg-extent-keyword>> ] [ at <<position>> ]? , |
640+
[ [ circle | ellipse ] || <<radial-extent>> ] [ at <<position>> ]? , |
641641
at <<position>></span> ,
642642
]?
643643
<<color-stop-list>>

0 commit comments

Comments
 (0)