[Webkit-unassigned] [Bug 244815] New: Incorrect image srcset candidate chosen for <img> from new DOMParser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 5 10:56:11 PDT 2022


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

            Bug ID: 244815
           Summary: Incorrect image srcset candidate chosen for <img> from
                    new DOMParser
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rik at webkit.org
                CC: sabouhallawa at apple.com

Created attachment 462146

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

Testcase

To reproduce: Open the testcase file in Safari on a 2x DPR or higher display.

Expected: Both images load the same URL.

Actual: The first image loads the correct URL. The second image (copied from `new DOMParser().parseFromString`) incorrectly loads the first URL from its srcset.

This might be the same root cause as bug 211620.

-- 
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/20220905/896f5d49/attachment.htm>


More information about the webkit-unassigned mailing list