WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-08-14 18:36:36 PDT
<
rdar://problem/67112504
>
Dean Jackson
Comment 2
2020-08-14 18:47:58 PDT
See also
webkit.org/b/206753
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug