Skip to content

[css-images] image-rendering should support SVG 1.1 values #3283

@ewilligers

Description

@ewilligers

SVG 1.1's image-rendering allows
auto | optimizeSpeed | optimizeQuality

CSS Images currently allows
auto | smooth | high-quality | crisp-edges | pixelated

Safari 11.1 supports
auto | crisp-edges | pixelated | optimizeSpeed | optimizeQuality

Blink supports
auto | pixelated | -webkit-optimize-contrast
-webkit-optimize-contrast is a non-standard naming for crisp-edges
There is also non-working code for optimizeSpeed | optimizeQuality

Firefox supports
auto | crisp-edges | optimizespeed | optimizequality

Edge does not support the property (test page).

These results suggest:

  • high-quality should be renamed to optimizeQuality
  • optimizeSpeed should be added
  • Implementations should be asked if they intend to support smooth

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions