WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 211620
244815
Incorrect image srcset candidate chosen for <img> from new DOMParser
https://bugs.webkit.org/show_bug.cgi?id=244815
Summary
Incorrect image srcset candidate chosen for <img> from new DOMParser
Anthony Ricaud
Reported
2022-09-05 10:56:11 PDT
Created
attachment 462146
[details]
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
.
Attachments
Testcase
(624 bytes, text/html)
2022-09-05 10:56 PDT
,
Anthony Ricaud
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Anthony Ricaud
Comment 1
2022-09-05 10:59:18 PDT
Chrome and Firefox both display the expected outcome: same 2x image.
Ryosuke Niwa
Comment 2
2022-09-10 14:45:44 PDT
This is a duplicate of the
bug 211620
. *** This bug has been marked as a duplicate of
bug 211620
***
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