Re: [csswg-drafts] [CSSOM] There is no way to get correct viewport position in relation to the screen (#5814)

>Actually, I think this is the same request as #809, isn't it?

I didn't notice it, it looks the same.

One more extra note to be aware of. Some browsers add an extra border around the window in a situation where, for example, the main window is not maximized (eg Chrome). To make it even funnier, the top edge is wider than the bottom / left / right !!!

![image](https://user-images.githubusercontent.com/2730894/105334995-cec44e80-5bd7-11eb-8b35-d0c0ad310ae5.png)

This causes even more complications in the positioning of the elements because we also need to analyze various size of the main window. This is done on the feel anyway, because the size of the top or bottom edge cannot be determined properly.

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


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

Received on Thursday, 21 January 2021 10:07:42 UTC