[Webkit-unassigned] [Bug 221005] New: Incorrect sizing of uploaded images when using background-size:cover

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 26 13:02:46 PST 2021


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

            Bug ID: 221005
           Summary: Incorrect sizing of uploaded images when using
                    background-size:cover
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kenneth at kufluk.com

Created attachment 418467

  --> https://bugs.webkit.org/attachment.cgi?id=418467&action=review

Test image for upload

On twitter.com the website, when uploading an image, you are able to hit 'edit' and zoom/crop the image.

On iPhone when adding portrait images directly from camera, there is noticable flicker when later zooming the image.
This can be reproduced on desktop safari (14 and STP) by airdropping the image to macbook.

This seems to be a rendering error when sizing an image to certain dimensions.

To reproduce in reduced case:

Visit http://jsfiddle.net/r82facvo/7/
Run the code.
Upload the attached image (floor.jpg) which was taken with iPhone 12 and converted to jpg on macbook.
Observe that one of the divs showing the image has a large white block underneath.

-- 
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/20210126/01c65ed5/attachment-0001.htm>


More information about the webkit-unassigned mailing list