Re: [csswg-drafts] [mediaqueries] length units in video-* media features. (#5044)

Device pixels are needed for the video plane so that the web app can select the correct video resolution. It's important to avoid rescaling the video during playback, where possible.

> What does video-width measure for a non-fullscreen browser window?

For TV devices, I'd expect this to still return the native resolution of the full screen video plane. We can use existing media queries for the browser window size.

> If video-width is to be measured in device pixels, it should not be using <length>. It should just be an <integer>. 

This sounds good to me.

cc @mwatson2, @vi-dot-cpp, @chcunningham for additional input from Media WG members.

-- 
GitHub Notification of comment by chrisn
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5044#issuecomment-632148980 using your GitHub account

Received on Thursday, 21 May 2020 15:26:23 UTC