W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [css-values] Ability to address actual physical size (#614)

From: Nigel Megitt via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Oct 2019 13:36:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-542215491-1571146611-sysbot+gh@w3.org>
We can get data to broadly categorise the device type, so we know if we have a mobile phone, a tablet, a laptop or a TV for example, and the viewing distances for each are broadly consistent, discovered by user research rather than a direct measurement at playback time. Obviously there are outliers in terms of people holding devices at different distances, but then that's why we have size customisation options.

Using something like `vh/vw` units is essentially what we already do: that's how the subtitle text height is proportional to the video height. The point here is that it's not necessarily the best way to do it, and that actual sizes could be better.

We might be able to mediate between authoring constraints and display constraints to avoid text being too big by doing something like `font-size: min(12.5vh, 1cm);` for example.


-- 
GitHub Notification of comment by nigelmegitt
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/614#issuecomment-542215491 using your GitHub account
Received on Tuesday, 15 October 2019 13:36:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC