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
"The indicated part of the document" should only look for an element in the document tree #1192
Comments
Step 6 has the same issue:
|
I feel like there was a previous issue on the webcomponents repo for navigating to fragment IDs in the shadow DOM. But yeah, the conclusion was to not do such navigation if I recall. This is one of the many "in a document" checks that need to be audited and fixed; it's really helpful you found this one since it doesn't use "in a document" so it's harder to find via naive searching. |
Oh, that was the issue you linked to in your OP. Should have clicked the link before submitting my comment. |
As discussed on WICG/webcomponents#66 and whatwg/html#1192, the user agent should not use an element that has an ID exactly equal to decoded fragid or an anchor element with a name attribute exactly equal to fragid if the element inside a shadow tree as the indicated part of the document. WebKit nightly builds and Google Chrome Canary both passes the test.
As discussed on WICG/webcomponents#66 and whatwg/html#1192, the user agent should not use an element that has an ID exactly equal to decoded fragid or an anchor element with a name attribute exactly equal to fragid if the element inside a shadow tree as the indicated part of the document. WebKit nightly builds and Google Chrome Canary both passes the test.
This clarifies that #foo and such can never point to a node in a shadow tree. Fixes #1192.
This clarifies that #foo and such can never point to a node in a shadow tree. Fixes #1192.
Thanks again for filing this! |
…tform-tests#2953) As discussed on WICG/webcomponents#66 and whatwg/html#1192, the user agent should not use an element that has an ID exactly equal to decoded fragid or an anchor element with a name attribute exactly equal to fragid if the element inside a shadow tree as the indicated part of the document. WebKit nightly builds and Google Chrome Canary both passes the test.
…tform-tests#2953) As discussed on WICG/webcomponents#66 and whatwg/html#1192, the user agent should not use an element that has an ID exactly equal to decoded fragid or an anchor element with a name attribute exactly equal to fragid if the element inside a shadow tree as the indicated part of the document. WebKit nightly builds and Google Chrome Canary both passes the test.
Step 5 of the indicated part of the document is somewhat ambiguous:
We should clarify that if there is an element in the document tree or that the first such element in document in tree order per resolution on WICG/webcomponents#66
The text was updated successfully, but these errors were encountered: