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

It is unclear how elementFromPoint and elementsFromPoint should work #736

Open
smaug---- opened this issue Feb 15, 2018 · 6 comments
Open

Comments

@smaug----
Copy link

smaug---- commented Feb 15, 2018

The spec says
"these methods and attributes are defined in the similar way as currently defined in Document, considering only the current node tree. "
But what does that mean? What is 'current node tree'? Does it mean the tree rooted to Document, including shadow DOMs, or are the methods supposed to return only nodes inside ShadowRoot in case ShadowDOM.element(s)FromPoint is called?

See also #735

@hayatoito
Copy link
Contributor

hayatoito commented Feb 16, 2018

FYI. There is an issue filed for csswg: w3c/csswg-drafts#556
Should we continue to discuss there? I think we need to update the wording.

@annevk
Copy link
Collaborator

annevk commented Feb 16, 2018

I think it's fine to continue discussion there, but as long as we keep this repository around we should list this in a tracking issue somewhere, so a search for elementFromPoint in open issues here gives you a link.

@annevk
Copy link
Collaborator

annevk commented Feb 16, 2018

Maybe we should discuss closing down this repository in favor of exclusively using whatwg/dom / whatwg/html / w3c/csswg-drafts / w3c/uievents for where the various bits ended up.

@matthewp
Copy link

I think that's a great idea @annevk. Having these discussions in whatwg/dom and whatwg/html would bring visibility to people who don't follow this repository. It also eliminates the confusions of what should be filed here.

@hayatoito
Copy link
Contributor

FYI. The previous attempt to close this repository is here: #652.
I'm fine to close this repository if everyone is okay.

@rniwa
Copy link
Collaborator

rniwa commented Feb 19, 2018

I strongly oppose closing this repository and its issue tracker.

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

No branches or pull requests

5 participants