Bug 250954

Summary: Refactor code for <img> size calculation during attach
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, rniwa, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>