[webcomponents] [Shadow]: url fragment identifiers should be followed into ShadowDOM (bugzilla: 23161) (#66)

Title: [Shadow]: url fragment identifiers should be followed into ShadowDOM (bugzilla: 23161)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23161

----
comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23161#c0
*Steve Orvell* wrote on 2013-09-05 02:16:51 +0000.

Given the following: 

1. a user navigates to: foo.com/#footer

2. at the requested url inside some shadowRoot we have:
<div>
SR
  <footer id="footer"></footer>

In this case, the #footer resource should be navigated to (page scrolls to it) even though it is inside a shadowRoot. There is one url for a page and it must be shared by all the shadowRoots. 

Since id's are scoped inside ShadowDOM, there may be a lot of duplicates page-wide. So, which one should be followed? The answer here is to do what browsers do now in this case: navigate to the first fragment identifier.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/66

Received on Monday, 25 May 2015 08:49:28 UTC