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

Other named properties in shadow DOM #536

Closed
domenic opened this issue Aug 3, 2016 · 1 comment
Closed

Other named properties in shadow DOM #536

domenic opened this issue Aug 3, 2016 · 1 comment

Comments

@domenic
Copy link
Collaborator

domenic commented Aug 3, 2016

While working on #145 I noticed we don't seem to have a decision on other named properties. Namely for elements with id and name attributes, with regard to the named properties of Document and Window.

Do we want to exclude those too?

domenic added a commit to whatwg/html that referenced this issue Aug 3, 2016
Per discussion in WICG/webcomponents#145 and
WICG/webcomponents#536, elements in shadow
trees should not contribute to the named properties of Window and
Document objects, and should not contribute to the indexed properties of
Window objects. This makes that very clear, by using "in a document
tree" appropriately and defining "document-tree child browsing context"
for use in the Window case.

Fixes WICG/webcomponents#145. Fixes WICG/webcomponents#536.
@rniwa
Copy link
Collaborator

rniwa commented Aug 3, 2016

Definitely exclude.

alice pushed a commit to alice/html that referenced this issue Jan 8, 2019
Per discussion in WICG/webcomponents#145 and
WICG/webcomponents#536, elements in shadow
trees should not contribute to the named properties of Window and
Document objects, and should not contribute to the indexed properties of
Window objects. This makes that very clear, by using "in a document
tree" appropriately and defining "document-tree child browsing context"
for use in the Window case.

Fixes WICG/webcomponents#145. Fixes WICG/webcomponents#536.
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

2 participants