-
Notifications
You must be signed in to change notification settings - Fork 715
[cssom-view] Define what "client window" means #430
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
Comments
Ditto. I am concerned as well by not having a definition. On Mobile, those values are completely out of whack with desktop like expectations, or just put to 0 for no good reasons. Also Safari on iOS presumably refuses to have window.outerHeight/Width reported despite having multiple bugs reported on it. They mention bug duplicates from years ago. Suggesting they deliberately take no action on it, which is really annoying exceptions to deal with, for cross-device measurements. Given iPad or Samsung split-screen considerations, mobile devices technically have a 'client window'. In contrast, a headless browser is probably an example where you would have no client window. So perhaps the definition should revolve around the headless browser definition:
Which would define client window along something like: |
Based on what I did at w3c/webdriver#1162: WebDriver as of that PR when getting the client window dimensions now does so by reference to However, on the setting side we have phrases like:
Ideally, WebDriver could just say, "Set the width, in CSS pixels, of the client window to a value as close as possible to to width". That requires some citable definition of "client window", however. |
https://drafts.csswg.org/cssom-view/#dom-window-screenx
window.screenX
,window.screenY
,window.outerWidth
, andwindow.outerHeight
use the term "client window" in their definitions, but this term doesn't seem to be defined anywhere.The text was updated successfully, but these errors were encountered: