Skip to content

Add a test for scrolling to a fragment inside a shadow tree. - #2953

Merged
TakayoshiKochi merged 1 commit into
web-platform-tests:masterfrom
rniwa:add-fragment-navigation-test-for-shadow-dom
May 20, 2016
Merged

TakayoshiKochi merged 1 commit into
web-platform-tests:masterfrom
rniwa:add-fragment-navigation-test-for-shadow-dom

Conversation

@rniwa

@rniwa rniwa commented May 5, 2016

Copy link
Copy Markdown
Contributor

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.
@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/6478

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@wpt-pr-bot

Copy link
Copy Markdown
Collaborator

Reviewers for this pull request are: @hayatoito, @kojiishi, @rniwa, @sideshowbarker, @sizuhiko, @TakayoshiKochi, and @yutak.

@rniwa

rniwa commented May 5, 2016 •

Copy link
Copy Markdown
Contributor Author

<head>
<title>Shadow DOM: The indicated part of the document should not match an element inside a shadow tree</title>
<meta name="author" title="Ryosuke Niwa" href="mailto:[email protected]">
<meta name="assert" content="An element insie a shadow tree should not be the indicated part of the document even if its ID is exactly equal to the decoded fragid or its name attribute is exactly equal to the fragid">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/insie/inside/

@TakayoshiKochi

Copy link
Copy Markdown
Member

Other than a nit, LGTM

@TakayoshiKochi
TakayoshiKochi merged commit 034e4d5 into web-platform-tests:master May 20, 2016
@TakayoshiKochi

Copy link
Copy Markdown
Member

Let's merge and I'll fix the nit.

arronei pushed a commit to arronei/web-platform-tests that referenced this pull request Jun 14, 2016
…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.
ivanzr pushed a commit to ivanzr/web-platform-tests that referenced this pull request Jun 29, 2016
…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.
@rniwa
rniwa deleted the add-fragment-navigation-test-for-shadow-dom branch August 2, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants