Open zcorpan opened 5 years ago
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 :( )
Hmm, can script even run on paged media?
Sure, e.g. an ebook reader.
https://drafts.csswg.org/cssom-view/#extensions-to-the-window-interface
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 :( )