Skip to content

Commit 6bc69ce

Browse files
committed
Correct some text assuming that there must be at least two color-stops.
1 parent 1ba960c commit 6bc69ce

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

css-images/Overview.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta content="CSS Image Values and Replaced Content Module Level 4"
1313
name=dc.title>
1414
<meta content=text name=dc.type>
15-
<meta content=2013-04-08 name=dc.date>
15+
<meta content=2013-04-09 name=dc.date>
1616
<meta content="Elika J. Etemad" name=dc.creator>
1717
<meta content="Tab Atkins Jr." name=dc.creator>
1818
<meta content=W3C name=dc.publisher>
@@ -29,14 +29,14 @@
2929

3030
<h1>CSS Image Values and Replaced Content Module Level 4</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 8 April 2013</h2>
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 April 2013</h2>
3333

3434
<dl>
3535
<dt>This Version:
3636

3737
<dd><a
3838
href="http://dev.w3.org/csswg/css4-images/">http://dev.w3.org/csswg/css4-images/</a>
39-
<!-- <dd><a href="http://dev.w3.org/csswg/css4-images/">http://www.w3.org/TR/2013/WD-css4-images-20130408/</a>-->
39+
<!-- <dd><a href="http://dev.w3.org/csswg/css4-images/">http://www.w3.org/TR/2013/WD-css4-images-20130409/</a>-->
4040

4141
<dt>Latest Version:
4242

@@ -2156,6 +2156,9 @@ <h3 id=repeating-gradients><span class=secno>4.4. </span> Repeating
21562156
<p class=issue>Insert rendering here.
21572157
</div>
21582158

2159+
<p> If the gradient has only a single color-stop, it must render as a
2160+
solid-color image equal to the color of that color-stop.
2161+
21592162
<p> If the distance between the first and last color-stops is non-zero, but
21602163
is small enough that the implementation knows that the physical resolution
21612164
of the output device is insufficient to faithfully render the gradient,
@@ -2309,7 +2312,7 @@ <h3 id=color-stop-syntax><span class=secno>4.5. </span> Gradient
23092312
parts are automatically filled in by the user agent.)
23102313

23112314
<p> Color stops are organized into a <dfn id=color-stop-list>color stop
2312-
list</dfn>, which is a list of two or more <a href="#color-stop"><i>color
2315+
list</dfn>, which is a list of one or more <a href="#color-stop"><i>color
23132316
stops</i></a>. The first and last <a href="#color-stop"><i>color
23142317
stops</i></a> in the list must have a color (though their position can be
23152318
omitted).

css-images/Overview.src.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,10 @@ <h3 id='repeating-gradients'>
17441744
<p class='issue'>Insert rendering here.
17451745
</div>
17461746

1747+
<p>
1748+
If the gradient has only a single color-stop,
1749+
it must render as a solid-color image equal to the color of that color-stop.
1750+
17471751
<p>
17481752
If the distance between the first and last color-stops is non-zero,
17491753
but is small enough that the implementation knows that the physical resolution of the output device is insufficient to faithfully render the gradient,
@@ -1871,7 +1875,7 @@ <h3 id='color-stop-syntax'>
18711875

18721876
<p>
18731877
Color stops are organized into a <dfn>color stop list</dfn>,
1874-
which is a list of two or more <i>color stops</i>.
1878+
which is a list of one or more <i>color stops</i>.
18751879
The first and last <i>color stops</i> in the list
18761880
must have a color
18771881
(though their position can be omitted).

0 commit comments

Comments
 (0)