New issue
Advanced search Search tips

Issue 899170 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Picture-in-Picture window aspect ratio test is failing

Project Member Reported by fbeaufort@chromium.org, Oct 26

Issue description

Chrome Version       : 72.0.3589.0
OS Version: 11191.0.0

What steps will reproduce the problem?
Run Web Platform Test
$ ./wpt run chrome picture-in-picture/picture-in-picture-window.html

What is the expected result?
All tests should pass

What happens instead of that?
Aspect ratio test fails.

assert_equals: video aspect ratio is 1.3333333333333333 and pip window aspect ratio is 1.3313953488372092 expected 1.3313953488372092 but got 1.3333333333333333

I believe this fails because of Chrome aspect ratio algorithm that rounds width and height.
We need to investigate this. It may be related to https://bugs.chromium.org/p/chromium/issues/detail?id=875726  
 
FWIW I've updated test but it is sill failing sometimes: https://github.com/web-platform-tests/wpt/commit/39322dfcc55488ee0b2dd8e4495d20cf103c6e15

Sign in to add a comment