Bug 250954 - Refactor code for <img> size calculation during attach
Summary: Refactor code for <img> size calculation during attach
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-21 16:30 PST by Ahmad Saleem
Modified: 2023-01-28 16:31 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-01-21 16:30:11 PST
Hi Team,

While going through Blink's commit, I came across another potential merge to reduce duplicate calls:

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/270f98ed9f82e4e776af1e274348e28d397a8ac0

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLImageElement.cpp#446

Just wanted to ask for input and if it is good to go, happy to do PR.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-01-28 16:31:23 PST
<rdar://problem/104786905>