document-picture-in-picture icon indicating copy to clipboard operation
document-picture-in-picture copied to clipboard

Height: 100% of the dom in docPIP actually displays a height of 0

Open apades opened this issue 1 year ago • 3 comments

Like this image

But it is correct in position: absolute image

It looks like it started appearing in chrome 131, same as edge 131

apades avatar Nov 22 '24 06:11 apades

Or other ways, set body & html height: 100% can solute this image

apades avatar Nov 22 '24 06:11 apades

+ I have the same problem

pekanboy avatar Dec 06 '24 11:12 pekanboy

Somewhat related problem, when elements are dynamically appended to the PiP window, the PiP window doesn't seem to respect height: 100% on the <html> element.

For example, I added a 2px border to my <html> element so the PiP window stands out a bit more. Although when elements are dynamically added to the window, the border doesn't "hug" the entire window. The <html> height shows 349px.

When I manually re-size the window, it properly renders the 2px border.

Screenshot of 2px border not properly displaying in PiP window.

https://contrast.report/

adamchaboryk avatar Apr 07 '25 23:04 adamchaboryk