Skip to content

Commit 0753dd1

Browse files
committed
[css-images-3] Allow dithering in gradients. #4793
1 parent b7cd0e2 commit 0753dd1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

css-images-3/Overview.bs

+9
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,13 @@ Defining Gradient Color {#gradient-colors}
867867
along with its <a>starting point</a> and <a>ending point</a>;
868868
see above.)
869869

870+
Colors throughout the gradient field are then determined
871+
by tying them to specific points along the [=gradient line=]
872+
as specified by the gradient function.
873+
UAs may “dither” gradient colors slightly
874+
(randomly alternate individual pixels with nearby colors on the gradient line)
875+
to effect a smoother gradient.
876+
870877
<h4 id=color-stop-syntax>
871878
Color Stop Lists</h4>
872879

@@ -1877,6 +1884,8 @@ Changes Since the <a href="https://www.w3.org/TR/2019/CR-css-images-3-20191010/"
18771884
(<a href="https://github.com/w3c/csswg-drafts/issues/4572">Issue 4572</a>)
18781885
* Define that layout-affecting metadata occurring after the image data should be ignored
18791886
(<a href="https://github.com/w3c/csswg-drafts/issues/5165">Issue 5165</a>)
1887+
* Explicitly allow dithering in gradients
1888+
(<a href="https://github.com/w3c/csswg-drafts/issues/4793">Issue 4793</a>)
18801889
* Define that 'image-orientation' applies to both decorative and content images
18811890
(<a href="https://github.com/w3c/csswg-drafts/issues/5245">Issue 5245</a>)
18821891

0 commit comments

Comments
 (0)