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

[csswg-drafts] [CSSOM-view] The One True™ viewport definition? (#3716)

From: Yoav Weiss via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Mar 2019 10:51:05 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-418735612-1552042262-sysbot+gh@w3.org>
yoavweiss has just created a new issue for https://github.com/w3c/csswg-drafts:

== [CSSOM-view] The One True™ viewport definition? ==

I want to define the "Viewport-Width" Client Hint in HTML, and as part of that, want to define strict processing for it, setting its value to the same one as `document.documentElement.clientWidth`.
At the same time,  [clientWidth](https://drafts.csswg.org/cssom-view/#dom-element-clientwidth)'s definition relies on CSSOM's [viewport definition](https://drafts.csswg.org/cssom-view/#viewport) while HTML relies on another [viewport definition](https://drafts.csswg.org/css2/visuren.html#viewport).

Which on those is the "right" one? Is there a good reason to have multiple definitions to the same concept? Halp! :)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3716 using your GitHub account
Received on Friday, 8 March 2019 10:51:06 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:57 UTC