Skip to content

Commit dcbdd6d

Browse files
authored
[css-images-4] Fix basic syntax of gradients (#8367)
Fixes #7986
1 parent ead3cdf commit dcbdd6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-images-4/Overview.bs

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Abstract: This module contains the features of CSS level 4 relating to the <<ima
1818
1919
Issue Tracking: Tracker http://www.w3.org/Style/CSS/Tracker/products/27
2020
Previous Version: https://www.w3.org/TR/2017/WD-css-images-4-20170413/
21-
Ignored Terms: <offset>, background positioning area, border image area, <meetorslice>, <ending-shape>, Map, <image>, invalid image, invalid images, concrete object size, linear-gradient(), radial-gradient(), default object size, CSS
21+
Ignored Terms: <offset>, background positioning area, border image area, <meetorslice>, Map, <image>, invalid image, invalid images, concrete object size, linear-gradient(), radial-gradient(), default object size, CSS
2222
Ignored Vars: H, P
2323
Include Can I Use Panels: yes
2424
Default Highlight: css
@@ -1198,7 +1198,7 @@ Linear Gradients: the ''linear-gradient()'' notation {#linear-gradients}
11981198

11991199
<pre class=prod>
12001200
<dfn>linear-gradient()</dfn> = linear-gradient(
1201-
[ <<angle>> | to <<side-or-corner>> ]? || <<color-interpolation-method>>,
1201+
[ [ <<angle>> | to <<side-or-corner>> ] || <<color-interpolation-method>> ]? ,
12021202
<<color-stop-list>>
12031203
)
12041204
<dfn>&lt;side-or-corner></dfn> = [left | right] || [top | bottom]
@@ -1344,7 +1344,7 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
13441344

13451345
<pre class=prod>
13461346
<dfn>radial-gradient()</dfn> = radial-gradient(
1347-
[[ <<ending-shape>> || <<size>> ]? [ at <<position>> ]? ] || <<color-interpolation-method>>,
1347+
[ [ [ <<rg-ending-shape>> || <<rg-size>> ]? [ at <<position>> ]? ] || <<color-interpolation-method>>]? ,
13481348
<<color-stop-list>>
13491349
)
13501350
</pre>
@@ -1423,7 +1423,7 @@ Conic Gradients: the ''conic-gradient()'' notation</h3>
14231423

14241424
<pre class='prod'>
14251425
<dfn>conic-gradient()</dfn> = conic-gradient(
1426-
[ [ from <<angle>> ]? [ at <<position>> ]? ] || <<color-interpolation-method>>,
1426+
[ [ [ from <<angle>> ]? [ at <<position>> ]? ] || <<color-interpolation-method>> ]? ,
14271427
<<angular-color-stop-list>>
14281428
)
14291429
</pre>
@@ -2389,7 +2389,7 @@ Interpolating <<gradient>> {#interpolating-gradients}
23892389

23902390
* Otherwise, the size must be changed to a pair of <<length>>s
23912391
that would produce an equivalent ending-shape.
2392-
If the <<ending-shape>> was specified as <a value spec=css-images-3>circle</a>,
2392+
If the <<rg-ending-shape>> was specified as <a value spec=css-images-3>circle</a>,
23932393
change it to ''ellipse''.
23942394

23952395
2. Interpolate each component and color-stop of the gradients independently.

0 commit comments

Comments
 (0)