| Summary: | Use correct document as root for lazy image observer | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | dukejoon | ||||||
| Component: | Images | Assignee: | Rob Buis <rbuis> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Critical | CC: | cdumez, changseok, clopez, esprehn+autocc, ews-watchlist, gyuyoung.kim, martin.schoen, nmouchtaris, rbuis, sabouhallawa, simon.fraser, webkit-bug-importer, youennf | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 15 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=237703 https://github.com/web-platform-tests/wpt/pull/33971 |
||||||||
| Attachments: |
|
||||||||
|
Description
dukejoon
2022-05-04 15:00:15 PDT
The html seems to work fine in a standalone file, but as soon as it is embedded in an iframe no image load is triggered. Created attachment 458903 [details]
Patch
Comment on attachment 458903 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=458903&action=review > Source/WebCore/ChangeLog:8 > + Use document as root for lazy image observer. The iframe's document? Can you test lazy image loading with Command-+ zoom too? I believe we might have some intersection observer bugs with zooming. Created attachment 458952 [details]
Patch
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess Committed r293933 (250379@main): <https://commits.webkit.org/250379@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458952 [details]. |