Skip to content

Commit 162def9

Browse files
committed
[css-images-3][editorial] Fix Bikeshed errors.
1 parent 5dfb6d1 commit 162def9

File tree

1 file changed

+35
-25
lines changed

1 file changed

+35
-25
lines changed

css-images-3/Overview.bs

+35-25
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,15 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
507507

508508
<pre class=prod>
509509
<<radial-gradient()>> = radial-gradient(
510-
[ <<ending-shape>> || <<size>> ]? [ at <<position>> ]? ,
510+
[ <<rg-ending-shape>> || <<rg-size>> ]? [ at <<position>> ]? ,
511511
<<color-stop-list>>
512512
)
513-
<<size>> = <<extent-keyword>> | <<length [0,∞]>> | <<length-percentage [0,∞]>>{2}
514-
<<extent-keyword>> = closest-corner | closest-side | farthest-corner | farthest-side
513+
514+
<dfn>&lt;rg-size></dfn> = <<rg-extent-keyword>> | <<length [0,∞]>> | <<length-percentage [0,∞]>>{2}
515+
516+
<dfn>&lt;rg-extent-keyword></dfn> = closest-corner | closest-side | farthest-corner | farthest-side
517+
518+
<dfn>&lt;rg-ending-shape></dfn> = circle | ellipse
515519
</pre>
516520

517521
<div class=example>
@@ -541,16 +545,16 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
541545
If this argument is omitted,
542546
it defaults to ''<position>/center''.
543547

544-
<dt><dfn><<ending-shape>></dfn>
548+
<dt><dfn><<rg-ending-shape>></dfn>
545549
<dd>
546-
Can be either <dfn value for="<ending-shape>">circle</dfn> or <dfn value for="<ending-shape>">ellipse</dfn>;
550+
Can be either <dfn value for="<rg-ending-shape>">circle</dfn> or <dfn value for="<rg-ending-shape>">ellipse</dfn>;
547551
determines whether the gradient's <a>ending shape</a> is a circle or an ellipse, respectively.
548-
If <<ending-shape>> is omitted,
552+
If <<rg-ending-shape>> is omitted,
549553
the <a>ending shape</a> defaults to a circle
550-
if the <<size>> is a single <<length>>,
554+
if the <<rg-size>> is a single <<length>>,
551555
and to an ellipse otherwise.
552556

553-
<dt><dfn><<size>></dfn>
557+
<dt><dfn><<rg-size>></dfn>
554558
<dd>
555559
Determines the size of the gradient's <a>ending shape</a>.
556560
If omitted it defaults to ''farthest-corner''.
@@ -562,9 +566,9 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
562566
If the ending-shape is an ellipse,
563567
its axises are aligned with the horizontal and vertical axises.
564568

565-
Both ''circle'' and ''ellipse'' gradients accept the following <dfn><<extent-keyword>></dfn> values:
569+
Both ''circle'' and ''ellipse'' gradients accept the following <<rg-extent-keyword>> values:
566570

567-
<dl dfn-for="<size>">
571+
<dl dfn-for="<rg-extent-keyword>, radial-gradient(), repeating-radial-gradient()">
568572
<dt><dfn>closest-side</dfn>
569573
<dd>
570574
The <a>ending shape</a> is sized so that
@@ -592,11 +596,11 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
592596
the <a>ending shape</a> is given the same aspect ratio it would have if ''farthest-side'' were specified.
593597
</dl>
594598

595-
If <<ending-shape>> is specified as ''circle'' or is omitted,
596-
the <<size>> may be given explicitly as:
599+
If <<rg-ending-shape>> is specified as ''circle'' or is omitted,
600+
the <<rg-size>> may be given explicitly as:
597601

598602
<dl>
599-
<dt><dfn for="radial-gradient()">&lt;length [0,∞]></dfn>
603+
<dt><dfn for="<rg-size>, radial-gradient(), repeating-radial-gradient()">&lt;length [0,∞]></dfn>
600604
<dd>
601605
Gives the radius of the circle explicitly.
602606
Negative values are invalid.
@@ -610,11 +614,11 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
610614

611615
</dl>
612616

613-
If <<ending-shape>> is specified as ''ellipse'' or is omitted,
614-
<<size>> may instead be given explicitly as:
617+
If <<rg-ending-shape>> is specified as ''ellipse'' or is omitted,
618+
<<rg-size>> may instead be given explicitly as:
615619

616620
<dl>
617-
<dt><dfn for="radial-gradient()"><<length-percentage [0,∞]>>{2}</dfn>
621+
<dt><dfn for="<rg-size>, radial-gradient(), repeating-radial-gradient()"><<length-percentage [0,∞]>>{2}</dfn>
618622
<dd>
619623
Gives the size of the ellipse explicitly.
620624
The first value represents the horizontal radius,
@@ -632,7 +636,7 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
632636
radial-gradient() = radial-gradient(
633637
[ [ circle || <<length [0,∞]>> ] [ at <<position>> ]? , |
634638
[ ellipse || <<length-percentage [0,∞]>>{2} ] [ at <<position>> ]? , |
635-
[ [ circle | ellipse ] || <<extent-keyword>> ] [ at <<position>> ]? , |
639+
[ [ circle | ellipse ] || <<rg-extent-keyword>> ] [ at <<position>> ]? , |
636640
at <<position>></span> ,
637641
]?
638642
<<color-stop-list>>
@@ -1947,8 +1951,13 @@ Serialization {#serialization}
19471951
<pre>linear-gradient(red, yellow, black 100px)</pre>
19481952
</div>
19491953

1950-
<h2 class="no-num" id="priv-sec">
1951-
Privacy and Security Considerations</h2>
1954+
<h2 class="no-num" id="privacy">
1955+
Privacy Considerations</h2>
1956+
1957+
This specification introduces no new privacy concerns.
1958+
1959+
<h2 class="no-num" id="security">
1960+
Security Considerations</h2>
19521961

19531962
This specification allows rendering of cross-origin images by default,
19541963
which exposes some information of those images programmatically--
@@ -1958,12 +1967,13 @@ specifically, the [=natural dimensions=] and resolution of those images.
19581967
Acknowledgments</h2>
19591968

19601969
Thanks to the Webkit team, Brad Kemper, Brian Manthos, and Alan Gresley
1961-
for their contributions to the definition of gradients; to Melinda Grant
1962-
for her work on 'object-fit', 'object-position', and 'image-orientation';
1963-
<!-- to Robert O'Callahan for the definition of ''element()''; to
1964-
Michael Day, Håkon Lie, and Shinyu Murakami for 'image-resolution' --> and to L. David Baron,
1965-
Kang-Hao Lu, Leif Arne Storset, Erik Dahlstrom, and Øyvind Stenhaug for
1966-
their careful review, comments, and corrections.
1970+
for their contributions to the definition of gradients; to Melinda Grant
1971+
for her work on 'object-fit', 'object-position', and 'image-orientation';
1972+
<!-- to Robert O'Callahan for the definition of ''element()''; to
1973+
Michael Day, Håkon Lie, and Shinyu Murakami for 'image-resolution' -->
1974+
and to L. David Baron,
1975+
Kang-Hao Lu, Leif Arne Storset, Erik Dahlstrom, and Øyvind Stenhaug for
1976+
their careful review, comments, and corrections.
19671977

19681978
<h2 class="no-num" id="changes">
19691979
Changes</h2>

0 commit comments

Comments
 (0)