New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 889833 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Buried. Ping if important.
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

URL fragments containing "<" don't scroll to content

Project Member Reported by benjaminmiller@google.com, Sep 27

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10895.56.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.95 Safari/537.36
Platform: 10895.56.0 (Official Build) stable-channel eve

Example URL:
https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setKeepUninstalledPackages(android.content.ComponentName,%20java.util.List%3Cjava.lang.String%3E)

Steps to reproduce the problem:
1. Open the sample URL in the browser.
2. Also try the link "setKeepUninstalledP…" in the right sidebar.

What is the expected behavior?
Browser scrolls to the H3 title with id attribute value that matches the fragment.

<h3 class="api-name" id="setKeepUninstalledPackages(android.content.ComponentName,%20java.util.List<java.lang.String>)">setKeepUninstalledPackages</h3>

What went wrong?
Browser fails to scroll to the location in the document. 

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes ~May-June 2018

Does this work in other browsers? Yes

Chrome version: 69.0.3497.95  Channel: stable
OS Version: 10895.56.0
Flash Version: 

Note: the "<" and ">" characters aren't %-encoded in the page but encoded URLs don't work. The browser's address bar decodes the "<" and ">" characters.
 
Bisected to r523383 "Encode ' ', '"', '<', '>', and '`' in URL fragments."
Landed in 65.0.3293.0
Components: -Blink Blink>Loader
Labels: Needs-Bisect M-69 FoundIn-69
Owner: mkwst@chromium.org
Status: Assigned (was: Unconfirmed)
Assigning to mkwst@ per comment #2 to decide if this is working as intended / developer error for that web page or whether something can be done here.

Sign in to add a comment