w3c/csswg-drafts

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

Open

#1,378 建立於 2017年5月15日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)HTML (545 fork)batch import
Help Wantedcssom-view-1

倉庫指標

Star
 (3,546 star)
PR 合併指標
 (平均合併 87天 7小時) (30 天內合併 24 個 PR)

描述

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.

貢獻者指南