[Webkit-unassigned] [Bug 240333] New: object-fit shifts iframe contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 01:12:18 PDT 2022


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

            Bug ID: 240333
           Summary: object-fit shifts iframe contents
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matti.roloux at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 459210

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

The issue

When using object-fit on an iFrame, its contents shifts. E.g.: https://codepen.io/kudg0/pen/dyXpLpx

The DOM event handlers are also confused. E.g. to click a button, you need to hover its original location, not the shifted one. 

This happens on desktop Safari and on mobile. Tested on Safari 15 (desktop) and iOS 12.

-- 
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/20220512/b1ad60dc/attachment-0001.htm>


More information about the webkit-unassigned mailing list