[csswg-drafts] [css-images] Require dithering in gradients (#6947)

muster-mark has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images] Require dithering in gradients ==
Since this bug was fixed (https://github.com/w3c/csswg-drafts/issues/4793) dithering has been allowed in gradients.

However in many cases, gradients are essentially unusable without dithering (if you consider their purpose to create a pleasing aesthetic) since it can cause unsightly banding which does precisely the opposite. This is a huge issue in Firefox, which does not apply dithering despite a bug being open for 11 years.

Is there any reason why the specification shouldn't/couldn't *require* dithering. Care would be needed to define this appropriately, since gradient functions can be used which don't actually create a gradient, and dithering would be undesirable there.

At the very least, could the spec indicate that dithering is a SHOULD rather than a MAY. e.g. something along the lines of "User agents SHOULD employ dithering to avoid banding effects."

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6947 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 January 2022 09:30:09 UTC