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

[csswg-drafts] [css-device-adapt] Clarification about device-height and device-width (#4085)

From: Karl Dubost via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Jul 2019 00:24:16 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-464419029-1562286255-sysbot+gh@w3.org>
karlcow has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-device-adapt] Clarification about device-height and device-width ==
The specification doesn't make it clear if `width` and `height` can be mixed up.
https://drafts.csswg.org/css-device-adapt/#width-and-height-properties

```html
<meta name="viewport" content="width=device-height">
```

```html
<meta name="viewport" content="height=device-width">
```

if they are invalid, they should be treated as step 4.
> Other keywords and unknown values translate to 1px 

but if they are valid, what do they mean?



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4085 using your GitHub account
Received on Friday, 5 July 2019 00:24:17 UTC

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