Skip to content

Commit 1068d5b

Browse files
SebastianZtabatkins
authored andcommitted
[css-images] Replaced <length> | <percentage> by <length-percentage> and (w3c#268)
<angle> | <percentage> by <angle-percentage>
1 parent 2d53350 commit 1068d5b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

css-images-4/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -822,14 +822,14 @@ Gradient Color-Stops</h3>
822822
<dfn>&lt;color-stop-list></dfn> =
823823
[ <<linear-color-stop>> , <<linear-color-hint>>? ]# , <<linear-color-stop>>
824824
<dfn>&lt;linear-color-stop></dfn> = <<color>> && <<color-stop-length>>
825-
<dfn>&lt;linear-color-hint></dfn> = <<length>> | <<percentage>>
826-
<dfn>&lt;color-stop-length></dfn> = [ <<length>> | <<percentage>> ]{1,2}
825+
<dfn>&lt;linear-color-hint></dfn> = <<length-percentage>>
826+
<dfn>&lt;color-stop-length></dfn> = <<length-percentage>>{1,2}
827827
828828
<dfn>&lt;angular-color-stop-list></dfn> =
829829
[ <<angular-color-stop>> , <<angular-color-hint>>? ]# , <<angular-color-stop>>
830830
<dfn>&lt;angular-color-stop></dfn> = <<color>> && <<color-stop-angle>>?
831-
<dfn>&lt;angular-color-hint></dfn> = <<angle>> | <<percentage>>
832-
<dfn>&lt;color-stop-angle></dfn> = [ <<angle>> | <<percentage>> ]{1,2}
831+
<dfn>&lt;angular-color-hint></dfn> = <<angle-percentage>>
832+
<dfn>&lt;color-stop-angle></dfn> = <<angle-percentage>>{1,2}
833833
834834
<dfn>&lt;color-stop></dfn> = <<color-stop-length>> | <<color-stop-angle>>
835835
</pre>

css-images/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
763763
<<size>> may instead be given explicitly as:
764764

765765
<dl>
766-
<dt><dfn for="<size>">[ <<length>> | <<percentage>> ]{2}</dfn>
766+
<dt><dfn for="<size>"><<length-percentage>>{2}</dfn>
767767
<dd>
768768
Gives the size of the ellipse explicitly.
769769
The first value represents the horizontal radius,
@@ -780,7 +780,7 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
780780
<pre>
781781
radial-gradient() = radial-gradient(
782782
[ [ circle || <<length>> ] [ at <<position>> ]? , |
783-
[ ellipse || [ <<length>> | <<percentage>> ]{2} ] [ at <<position>> ]? , |
783+
[ ellipse || <<length-percentage>>{2} ] [ at <<position>> ]? , |
784784
[ [ circle | ellipse ] || <<extent-keyword>> ] [ at <<position>> ]? , |
785785
at <<position>></span> ,
786786
]?
@@ -1014,7 +1014,7 @@ Gradient Color-Stops {#color-stop-syntax}
10141014

10151015
<pre class=prod>
10161016
<dfn>&lt;color-stop-list></dfn> = <<color-stop>>{2,}
1017-
<dfn>&lt;color-stop></dfn> = <<color>> [ <<percentage>> | <<length>> ]?
1017+
<dfn>&lt;color-stop></dfn> = <<color>> <<length-percentage>>?
10181018
</pre>
10191019

10201020
The colors in gradients are specified using <a>color stops</a>.

0 commit comments

Comments
 (0)