Closed Bug 831945 Opened 11 years ago Closed 8 years ago

If you move to a new tab, rotate the screen and then go back to orig tab, it messes up the CSS styles

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

19 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: donrhummy, Unassigned)

References

Details

Attachments

(1 file)

Attached image after_rotation.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
Build ID: 20130104154748

Steps to reproduce:

1. Opened a tab (to http://reddit.com/r/adnroid in this example)

2. Long-press on a link and opened in a new tab (this example also works if you open a link in a different app such as youtube)

3. Switched to the new tab

4. Rotated the phone from portrait to landscape

5. Switched back to original tab while staying in landscape


Actual results:

The styles of everything in the visible document area was messed up (made really small). Styles of stuff below the "fold" appears to be normal. Rotating back does not fix it. Only refreshing the page fixes it. (NOTE: see attached screenshot and notice the one item at the bottom, which was previously below the fold, has normal styles while everything else is messed up)


Expected results:

The page should have properly rotated without messing up the CSS styles of the page
Component: General → Graphics, Panning and Zooming
OS: Linux → Android
Hardware: x86_64 → ARM
Sorry, my example link has a spelling mistake. It's http://reddit.com/r/android
I was able to reproduce this the first time I tried. Then I tried it with font inflation disabled (text size set to "Tiny" in the settings) and it didn't happen. And then I turned font inflation back on and it still didn't happen. Not sure it's inflation-related but it seems probable, specially since you have to reload the page to fix it - pinching which triggers invalidation/redraw doesn't fix it so it's bad state in layout.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I too experience this bug.

My STR:

1. Go to http://www.reddit.com/ 
2. Click a link to a very long comment thread. 
3. While the new page is loading rotate the phone several times. Rotating the phone will cause the page to zoom in and out to adjust to the different display size. 
4. Once the page finishes loading, scroll through the page. Some parts of the page are at different zoom levels than others.
I'm not able to reproduce this on recent builds. Presumably it was a bug with font inflation which is now disabled. Closing as WFM, please reopen if you still see this.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: