Closed Bug 819779 Opened 12 years ago Closed 12 years ago

When exiting an HTML5 video's fullscreen view, it jumps to the top of the page (losing my scroll)

Categories

(Core :: DOM: Core & HTML, defect)

18 Branch
x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: donrhummy, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121128204232

Steps to reproduce:

Watched the second HTML5 video (in the "Software" section) on thiiis page: http://www.engadget.com/2012/11/14/xiaomi-phone-2-mi-two-review/ then chose fullscreen (by right-clicking the video and choosing fullscreen), then hit "esc" to exit fullscreen


Actual results:

It jumped to the top of the web page (I tried this three times and it does it every time)


Expected results:

It should have minimized the video back to regular size and retained my scroll location
This occurs also when you right click and choose "exit fullscreen" and also occurs on this page: http://www.quirksmode.org/html5/tests/video.html (so it likely always occurs)
This is fixed in Latest Aurora
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20121210 Firefox/19.0
Build ID: 20121210042017

and in Latest Nightly
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121210 Firefox/20.0
Build ID: 20121210030747

Last bad nightly: 2012-11-15
First good nightly: 2012-11-16

Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a761bfc192b5&tochan
ge=58ebb638a7ea

Not sure what fixed this, but it should be in that range.
Component: Untriaged → DOM
Product: Firefox → Core
Version: 17 Branch → 18 Branch
OS: Linux → All
Leaving fullscreen reframes the world, so this got fixed by bug 811301.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Depends on: 811301
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.