Re: [csswg-drafts] [cssom-view] should screen.width and screen.height reflect orientation? (#5204)

In general, CSS is not time- or order- dependent, and inputs into it are supposed to reflect the current state not some previous state. So definitely, screen.width/height should be reporting whatever is the current width/height, same as media queries.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5204#issuecomment-663283625 using your GitHub account

Received on Thursday, 23 July 2020 23:37:44 UTC