Re: CSS-4 and min|max-device-width

> On Jan 9, 2018, at 8:39, Alice Wonder <alice@domblogger.net> wrote:
> 
> it should be clear that browsers *may* respond with viewport width instead of device-width.

That is already the case:

1) from Media Queries level 4:

> The device-width <https://drafts.csswg.org/mediaqueries-4/#descdef-media-device-width> media feature [...] is the width of the Web-exposed screen area <https://drafts.csswg.org/cssom-view-1/#web-exposed-screen-area>

2) From CSSOM-View
> User agents may choose to hide information about the screen of the output device [...]
> 
> The Web-exposed screen area is one of the following:
> 
> The area of the output device, in CSS pixels <https://drafts.csswg.org/css-values-4/#px>.
> 
> The area of the viewport <https://drafts.csswg.org/cssom-view-1/#viewport>, in CSS pixels <https://drafts.csswg.org/css-values-4/#px>.

Received on Tuesday, 9 January 2018 01:12:09 UTC