W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

Re: [csswg-drafts] [cssom-view] window.innerScreenX windows.innerScreenY (#809)

From: Caoimhín Ó Donnaíle via GitHub <sysbot+gh@w3.org>
Date: Sat, 28 Aug 2021 19:53:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-907681405-1630180395-sysbot+gh@w3.org>
I have been tearing my hair out looking for this feature too and eventually my searches led me to here. Specifically, I just want to be able to open a popup window (using window.open and hence using OS coordinates) above a particular empty box in the underlying document (hence identified by particular CSS coordinates) so that it will not block anything important from view. I am amazed that such a commonplace requirement is so complicated to implement.  I need this for Multidict, a facility which I wrote at multidict.net which lets the user swop easily between various online dictionaries, putting the dictionary results in an iframe.  More and more dictionaries though are setting HTTP SAMEORIGIN which prevents their results from appearing an iframe, so for these dictionaries I need to send the results to a popup window appearing above the div which would normally hold the iframe.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 28 August 2021 19:53:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:43 UTC