Skip to content

[css-images] Require dithering in gradients #6947

Closed
@muster-mark

Description

@muster-mark

Since this bug was fixed (#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 where necessary to avoid banding effects."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions