W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

[csswg-drafts] elementFromPoint etc need to be defined in terms of layout and visual viewports

From: Simon Fraser via GitHub <sysbot+gh@w3.org>
Date: Mon, 15 May 2017 21:27:11 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-228851285-1494883630-sysbot+gh@w3.org>
smfr has just created a new issue for https://github.com/w3c/csswg-drafts:

== elementFromPoint etc need to be defined in terms of layout and visual viewports ==
https://www.w3.org/TR/cssom-view-1/#dom-document-elementfrompoint

elementFromPoint(), elementsFromPoint() and caretPositionFromPoint() need to define whether the arguments are relative to the layout or visual viewports. Other "client" coordinates are being defined as being in terms of the layout viewport (e.g. getBoundingClientRects(), getClientRects(), event.clientX/y [citation needed]).

The spec also needs to define whether the clipping to the the viewport uses the layout or visual viewports for clipping.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1378 using your GitHub account
Received on Monday, 15 May 2017 21:27:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC