W3C home > Mailing lists > Public > www-style@w3.org > January 2018

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

From: Florian Rivoal <florian@rivoal.net>
Date: Tue, 9 Jan 2018 10:11:42 +0900
Message-Id: <4387F71C-725D-419B-B2D0-4E9C7140F13D@rivoal.net>
Cc: www-style@w3.org
To: Alice Wonder <alice@domblogger.net>

> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 9 January 2018 01:12:10 UTC