Bug 215531

Summary: background-size: cover is wrong for abnormally large/thin SVG images
Product: WebKit Reporter: Dean Jackson <dino>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=206753

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.