Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yoavweiss opened this issue Mar 8, 2019 · 2 comments
Open

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

yoavweiss opened this issue Mar 8, 2019 · 2 comments

Comments

@yoavweiss
Copy link

Hello,

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's definition relies on CSSOM's viewport definition while HTML relies on another viewport definition.

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

@yoavweiss
Copy link
Author

/cc @annevk

@xfq
Copy link
Member

xfq commented Mar 12, 2019

Related issue: #505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants