Open
Bug 1185525
Opened 10 years ago
Updated 1 year ago
web page read position changes when screen orientation changes
Categories
(Core :: Layout, defect)
Tracking
()
NEW
People
(Reporter: magopian, Unassigned)
Details
(Keywords: foxfood)
This started as an email thread: https://groups.google.com/a/mozilla.com/forum/#!msg/foxfood-feedback/_EOVjp7-5Pk/D3DebXzXixwJ
And this is the answer I got from Kartikaya Gupta:
> The reason this happens is usually because the CSS viewport (the width at
> which the page is laid out to) changes, so the page reflows and you end up
> with different content at that scroll position. In other words, it's not so
> much that the scroll position changes (i.e. window.scrollY should be the same)
> but that the content moves to a different scroll position and we don't account
> for it.
>
> This is something we should actually fix and with some recent changes it
> should be easier to do so;
Updated•10 years ago
|
Component: Gaia::Foxfooding → Gaia::Browser
Updated•10 years ago
|
Component: Gaia::Browser → Layout
Product: Firefox OS → Core
Comment 1•10 years ago
|
||
To fix this in a world post-bug 1178847, the MobileViewportManager code will need to be updated so that the scroll offset is also changed. We'll probably need some heuristics to find what content is currently visible to the user and then figure out the corresponding scroll offset after the reflow. There might already be something like that in the code somewhere.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•