Skip to content

Commit 607f1d5

Browse files
committed
[css-images-4] Allow a single color stop with two positions
1 parent b2df82e commit 607f1d5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

css-images-4/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,16 +1833,20 @@ Color Stop Lists</h4>
18331833

18341834
<pre class=prod>
18351835
<dfn>&lt;color-stop-list></dfn> =
1836-
<<linear-color-stop>> , [ <<linear-color-hint>>? , <<linear-color-stop>> ]#
1836+
<<linear-color-stop>> , [ <<linear-color-hint>>? , <<linear-color-stop>> ]#
1837+
| <<single-linear-color-stop>>
18371838
<dfn>&lt;linear-color-stop></dfn> = <<color>> <<color-stop-length>>?
18381839
<dfn>&lt;linear-color-hint></dfn> = <<length-percentage>>
18391840
<dfn>&lt;color-stop-length></dfn> = <<length-percentage>>{1,2}
1841+
<dfn>&lt;single-linear-color-stop></dfn> = <<color>> <<length-percentage>>{2}
18401842
18411843
<dfn>&lt;angular-color-stop-list></dfn> =
1842-
<<angular-color-stop>> , [ <<angular-color-hint>>? , <<angular-color-stop>> ]#
1844+
<<angular-color-stop>> , [ <<angular-color-hint>>? , <<angular-color-stop>> ]#
1845+
| <<single-angular-color-stop>>
18431846
<dfn>&lt;angular-color-stop></dfn> = <<color>> <<color-stop-angle>>?
18441847
<dfn>&lt;angular-color-hint></dfn> = <<angle-percentage>>
18451848
<dfn>&lt;color-stop-angle></dfn> = <<angle-percentage>>{1,2}
1849+
<dfn>&lt;single-angular-color-stop></dfn> = <<color>> <<angle-percentage>>{2}
18461850
18471851
<dfn>&lt;color-stop></dfn> = <<color-stop-length>> | <<color-stop-angle>>
18481852
</pre>

0 commit comments

Comments
 (0)