[Webkit-unassigned] [Bug 83490] history pushState doesn't affect :target selector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 10 13:49:24 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83490





--- Comment #1 from Brady Eidson <beidson at apple.com>  2012-04-10 13:49:23 PST ---
(In reply to comment #0)
> 0. open http://jsbin.com/esunoh/2/
> 1. click "select two"
> 2. hash on url changes
> 3. click button to remove hash from url
> 4. :target selector is still active
> 
> What is the expected result?
> 
> Should remove the :target selector as the hash is no longer on the url
> 
> What happens instead?
> 
> Doesn't update the selector.  However, if you try location.hash = ''; button, it will remove the :target selector - therefore I'd expect the pushState to work the same.
> 
> 
> Downstream: http://code.google.com/p/chromium/issues/detail?id=89165


What do other browsers do?  What does the relevant spec say?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list