Bug 249056
| Summary: | HTMLImageElement width/height should updateLayout first | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Images | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
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
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
<rdar://problem/103423673>