w3c/csswg-drafts

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

Open

#1,378 opened on 2017年5月15日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)HTML (545 forks)batch import
Help Wantedcssom-view-1

Repository metrics

Stars
 (3,546 stars)
PR merge metrics
 (平均マージ 87d 7h) (30d で 24 merged PRs)

説明

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.

コントリビューターガイド