[csswg-drafts] [css-device-adapt] 1px vs auto for unknown values for width and height (#4086)

karlcow has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-device-adapt] 1px vs auto for unknown values for width and height ==
The specification says for 
https://drafts.csswg.org/css-device-adapt/#width-and-height-properties

```
<meta name="viewport" content="width=unknwon_keyword">
```

that it should treat the value as 1px. 

But it seems that both Blink and WebKit seems to treat it as device size (aka auto).

* https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/html/html_meta_element.cc?rcl=11972a1701bac1f83b62cbfd052a04a901028216&l=199
* https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f857067896a10af8974/Source/WebCore/dom/ViewportArguments.cpp




Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4086 using your GitHub account

Received on Friday, 5 July 2019 00:29:49 UTC