NEW 215531
background-size: cover is wrong for abnormally large/thin SVG images
https://bugs.webkit.org/show_bug.cgi?id=215531
Summary background-size: cover is wrong for abnormally large/thin SVG images
Dean Jackson
Reported 2020-08-14 18:36:13 PDT
See the results of the following tests: imported/w3c/web-platform-tests/css/css-backgrounds/background-size/vector/tall--contain--height.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-backgrounds/background-size/vector/tall--contain--width.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-backgrounds/background-size/vector/wide--contain--height.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-backgrounds/background-size/vector/wide--contain--width.html [ ImageOnlyFailure ] They reference a background-image that is SVG with only one dimension, but with correct (if weird) proportions. According to CSS, their intrinsic size should be scaled down to provide the other dimension. We're not doing that.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-08-14 18:36:36 PDT
Dean Jackson
Comment 2 2020-08-14 18:47:58 PDT
Note You need to log in before you can comment on or make changes to this bug.