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 innerWidth attribute must return the viewpo..." #4373

Open
zcorpan opened this issue Sep 26, 2019 · 2 comments
Open

[cssom-view] "The innerWidth attribute must return the viewpo..." #4373

zcorpan opened this issue Sep 26, 2019 · 2 comments

Comments

@zcorpan
Copy link
Member

zcorpan commented Sep 26, 2019

https://drafts.csswg.org/cssom-view/#extensions-to-the-window-interface

The innerWidth attribute must return the viewport width including the size of a rendered scroll bar (if any), or zero if there is no viewport.

This should match https://drafts.csswg.org/mediaqueries/#width but doesn't cover paged media.

Likely this applies to more stuff in cssom-view.

cc @emilio (since you edit cssom, it seems cssom-view still has no editor :( )

@emilio
Copy link
Collaborator

emilio commented Sep 26, 2019

Hmm, can script even run on paged media?

@zcorpan
Copy link
Member Author

zcorpan commented Sep 26, 2019

Sure, e.g. an ebook reader.

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

2 participants