Nothing Special   »   [go: up one dir, main page]

Re: [csswg-drafts] [cssom-view] The definitions of innerWidth and innerHeight are ambiguous (#9065)

That’s not the first option. The first option would be that the viewport literally included the scrollbars. In other words, the scrollbars would be inside the area of the viewport. But I don’t think that’s the case. I think the document scrollbars are outside of the area of the viewport. Correct me if I’m wrong.

In the following image the orange box is the layout viewport. The classic scrollbar is outside of that area. The dashed black line is the “document scroll container” or whatever the official name for that rectangle is.

![Layout viewport in desktop browser](https://github.com/w3c/csswg-drafts/assets/716405/81d0330b-ee8a-4fe8-9225-4cf4be3b7b16)



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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 14 July 2023 13:10:42 UTC