ZoomToFocusInput doesn't work in some cases in OOP iframes
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox123 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(2 files)
data:text/html,<iframe src="https://hiikezoe.github.io/input.html" style="margin-top:2000px">
data:text/html,<iframe src="https://hiikezoe.github.io/input.html?margin-top=2000px">
In above cases ZoomToFocusInput doesn't work properly. I suppose it's due to the lack of the top level document layout scroll offset translation as Botond pointed out.
| Assignee | ||
Comment 1•2 years ago
|
||
With the scroll offset, this targetRect can be same as non Fission case, but still there's something wrong. Zooming-in doesn't happen at all.
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Comment 3•2 years ago
|
||
See the reason [1] in GetBoundingContentRect in DoubleTapToZoom.cpp.
Depends on D197259
Updated•2 years ago
|
Comment 5•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6fb1b891307b
https://hg.mozilla.org/mozilla-central/rev/b0542bbe1fe7
Comment 6•2 years ago
|
||
Backed out: https://hg.mozilla.org/integration/autoland/rev/78eeb3123fa6e20a69df1262937ffa372b2a47d5
Comment 7•2 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/78eeb3123fa6
| Assignee | ||
Comment 8•2 years ago
|
||
There were two different causes of the test failure.
- bug 1875211
- I forgot setting layout.scroll.disable-pixel-alignment
I am not sure about 2 though, it may not be related. The main cause is 1 anyway.
Comment 10•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f47aba128d29
https://hg.mozilla.org/mozilla-central/rev/2775f61c6182
Description
•