WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249056
HTMLImageElement width/height should updateLayout first
https://bugs.webkit.org/show_bug.cgi?id=249056
Summary
HTMLImageElement width/height should updateLayout first
Ahmad Saleem
Reported
2022-12-09 17:18:45 PST
Hi Team, While going through Blink's commit, I found another potential failing test case: Test Case -
https://jsfiddle.net/hs7q31ak/show
^ I used random image from web-site. Blink Commit -
https://chromium.googlesource.com/chromium/blink/+/d3adbd3a3f1bcbebdf515ac15a8c250873a2a1d9
Webkit GitHub Source -
https://github.com/WebKit/WebKit/blob/91e9772155e7dc877cd28d7d9734b3631d99dea9/Source/WebCore/html/HTMLImageElement.cpp#LL504
&
https://github.com/WebKit/WebKit/blob/91e9772155e7dc877cd28d7d9734b3631d99dea9/Source/WebCore/html/HTMLImageElement.cpp#LL529
Just wanted to raise bug before trying to do PR. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
EWS
Comment 1
2022-12-15 16:21:53 PST
Committed
257961@main
(4db09a035420): <
https://commits.webkit.org/257961@main
> Reviewed commits have been landed. Closing PR #7462 and removing active labels.
Radar WebKit Bug Importer
Comment 2
2022-12-15 16:22:18 PST
<
rdar://problem/103423673
>
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