Re: [csswg-drafts] [cssom-view] No event to track window position (#7693)

> A use case for doing this is when a parent page pops up an child window, and wants to keep it positioned to a particular spot relative to the parent window. 

I had a play with doing something like this, and discovered that not being able to make an always-on-top popup window (is there a way to do this that I've missed) makes the tracking popup case pretty limited in usefulness. (It might be useful if you have a popup that doesn't overlap its parent, I guess?)

https://people.igalia.com/alice/test/popup/

Also, writing the logic to position the popup relative to the window was *extremely* involved, and it still only sort of works, and seems to be subtly different between browsers and operating systems.

How realistic is a tracking popup window as a use case?

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


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

Received on Wednesday, 22 February 2023 02:15:38 UTC