Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear definition of "pointer-interactable element" #1104

Open
gsnedders opened this issue Sep 22, 2017 · 1 comment
Open

Unclear definition of "pointer-interactable element" #1104

gsnedders opened this issue Sep 22, 2017 · 1 comment

Comments

@gsnedders
Copy link
Contributor

In chapter 11. Elements, section 11.1 Element Interactability:

A pointer-interactable element is defined to be the first element, defined by the paint order found at the center point of its rectangle that is inside the viewport, excluding the size of any rendered scrollbars.

I think what this is trying to say is:

An element is pointer-interactable if it is the first element of its paint order found at the center point of its rectangle that is inside the viewport, excluding the size of any rendered scrollbars.

The current spec text makes me not entirely sure if it's saying there is a pointer-interactable element for every element in the document (which may be the same element) or if some elements are pointer-interactable.

@gsnedders
Copy link
Contributor Author

Also: should we not use the pointer-interactable paint tree here, rather than repeating half of its definition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant