Closed Bug 1516490 Opened 5 years ago Closed 5 years ago

firefox unloads looping video when out of view causing some pages to re-arrange

Categories

(Core :: Layout, defect, P3)

65 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox64 --- affected
firefox65 --- affected
firefox66 --- affected

People

(Reporter: sguergachi, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

1. Go to this webpage: https://brianlovin.com/design-details/square-order-ios
2. Scroll slowly (to allow videos to load)
3. Stop at heading: "Add an item" and wait 6 secs.


Actual results:

Notice the page scroll position changes. This is because the videos that are looping above seemed to have been unloaded and their size on the page made smaller.

Quickly scrolling up to top of page will reveal this.


Expected results:

The expected result (and what Chrome does currently) is to ensure the dimensions of the video are kept as is, even when unloaded.
I can reproduce this on the latest builds from all channels, I'm adding the component in order to involve the development team. 
Thanks for reporting!
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
(In reply to sguergachi from comment #0)
> The expected result (and what Chrome does currently) is to ensure the
> dimensions of the video are kept as is, even when unloaded.

Is it really doing that?

I suspect the explanation between Chrome and Firefox may be scroll anchoring, but can't check right now.

It may be worth to check what Edge does too to see if there's something more subtle.
I would have the same guess that it's because of Chrome's scroll anchoring. It might be worth checking whether bug 1305957 would fix this.
Depends on: 1305957
I can confirm that the current scroll anchoring patches make that page much easier to read.
Priority: -- → P3

Would you be able to test this in the latest nightly and see if scroll anchoring has resolved this for you?

It seems much better now.

Flags: needinfo?(sguergachi)

Seems to be fixed in latest nightly!

Flags: needinfo?(sguergachi)

Awesome, glad to hear it.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.