Open Bug 2012726 Opened 7 months ago Updated 7 months ago

Don't guess Browser UI height in DocumentPictureInPicture.cpp CalcInitialExtent

Categories

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

enhancement

Tracking

()

People

(Reporter: vhilla, Unassigned)

References

(Blocks 1 open bug)

Details

We should think about where to place the document PiP window initially.

The window position is set via window features top,left. Currently, we place the PiP window in the bottom right corner. But this requires guessing the outer size, while we only know the inner size.

I think the options are

  • Place it somewhere where knowing the inner size suffices. E.g. top right
  • Add window features bottom,right. This would likely be implemented in nsWindowWatcher SizeOpenedWindow
  • Leave it as is
See Also: → 1858562, 2011407, 2006594
Blocks: doc-pip-api
You need to log in before you can comment on or make changes to this bug.