[Webkit-unassigned] [Bug 215531] New: background-size: cover is wrong for abnormally large/thin SVG images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 14 18:36:13 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215531

            Bug ID: 215531
           Summary: background-size: cover is wrong for abnormally
                    large/thin SVG images
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dino at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200815/90734dad/attachment.htm>


More information about the webkit-unassigned mailing list