Closed
Bug 1792256
Opened 2 years ago
Closed 1 year ago
iframe documents do not get offscreen state when scrolled beyond visual viewport or in bg tab
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: morgan, Unassigned)
References
Details
STR:
- Load
data:text/html,<p style="background:blue; height: 100vh; width: 10vw;">hi</p><iframe src="data:text/html,hello world"></iframe>
- inspect the state of the iframe document
Expected:
includes states::OFFSCREEN
Actual:
it does not, but the internal frame and the iframe content does, correctly.
This is fixed in the caching implementation, but is wrong in the non-caching case. I can reproduce this for in- and OOP iframe documents.
ex. data:text/html,<p style="background:blue; height: 100vh; width: 10vw;">hi</p><iframe src="https://example.com"></iframe>
Reporter | ||
Updated•2 years ago
|
Severity: -- → S4
Reporter | ||
Comment 1•2 years ago
|
||
Based on browser_test_visibility.js it looks like this is also an issue for iframe docs that are in background tabs, not just scrolled offscreen. 🤔
Reporter | ||
Updated•2 years ago
|
Summary: iframe documents do not get offscreen state when scrolled beyond visual viewport → iframe documents do not get offscreen state when scrolled beyond visual viewport or in bg tab
Comment 2•1 year ago
|
||
Cache the World is enabled by default in Firefox 113, so we don't need to fix this.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•