New issue
Advanced search Search tips

Issue 663925 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Compat

Blocked on:
issue 734150



Sign in to add a comment

:target not re-evaluated when navigating back/forward in history

Project Member Reported by mkhatib@google.com, Nov 9 2016

Issue description

Chrome Version (from "Settings > About Google Chrome"): 54.0.2840.91
Device Type: (iPad 2, iPhone 4, etc): iPhone 6S
URLs (if applicable): http://output.jsbin.com/woveco/quiet


Behavior in Safari (if applicable):
Safari does update :target when navigating back/forward in history


Steps to reproduce:
(1) Click on few #hash anchors
(2) Notice :target styling is being updated
(3) Hit backward and forward buttons
(4) Notice :target is not updated

Expected result:
Browser should re-evaluate :target selector to select the correct element when going back/forward in history.

Actual result:
Browser does not re-evaluate :target selector to select the correct element when going back/forward in history.

This happens only on iOS Chrome.

 
Components: UI>Browser>Navigation
Labels: Type-Bug
Owner: kkhorimoto@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: danyao@chromium.org
Labels: -Type-Bug Type-Compat
Cc: -danyao@chromium.org kkhorimoto@chromium.org mrefaat@chromium.org eugene...@chromium.org
Owner: danyao@chromium.org
Assigning to danyao for web compat.  Also cc'ing mrefaat, as he's looking at navigation issues.

Comment 4 by danyao@chromium.org, May 18 2017

I was able to reproduce this in simulator with a recent checkout.

It also happens that browserstack.com uses old versions of Chrome on iOS and I wasn't able to reproduce the issue on Chrome 47, the version they had. Maybe a regression was introduced during the switch to WKWebView.

The bug does not manifest in WebView app.
Labels: Proj-WKBackForwardList

Comment 6 by danyao@chromium.org, Sep 29 2017

Blockedon: 734150
Confirmed in a debug build that this will be fixed by the WKBackForwardList-based navigation manager (crbug.com/734150).
Labels: -Proj-WKBackForwardList Proj-FixedByWKBackForwardList

Sign in to add a comment