-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
additionA proposed addition which could be added later without impacting the rest of the APIA proposed addition which could be added later without impacting the rest of the API
Milestone
Description
Currently the target element is set as part of scrolling https://html.spec.whatwg.org/multipage/browsing-the-web.html#scroll-to-fragid:target-element-3, so it doesn't happen as part of pushState
.
stephband suggested on Twitter that they'd like the target styles to update.
Perhaps the easiest way to handle this is to allow the target element to be get/set via something like document.targetElement
.
Metadata
Metadata
Assignees
Labels
additionA proposed addition which could be added later without impacting the rest of the APIA proposed addition which could be added later without impacting the rest of the API