New issue
Advanced search Search tips

Issue 677065 link

Starred by 3 users

Issue metadata

Status: ExternalDependency
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

iOS Chrome "find in page" doesn't work on AMP pages

Project Member Reported by n...@chromium.org, Dec 27 2016

Issue description

Chrome Version: 55.0.2883.79
OS: iOS 10

What steps will reproduce the problem?
(1) Go to https://www.google.ca/amp/www.newyorker.com/magazine/2016/12/19/for-better-vision-living-in-the-dark/amp (which i got from a google search)
(2) From the hot dog menu, choose "find in page". Search for a word you're looking at.

What is the expected result?
There should be search results :)

What happens instead?
No search results. See screenshot.
 
IMG_5697.PNG
150 KB View Download
Cc: mard...@chromium.org
Cc: justincohen@chromium.org
Labels: ReleaseBlock-Stable M-57
Owner: stkhapugin@chromium.org
Status: Assigned (was: Untriaged)
Components: -UI>Browser>Search UI>Browser>FindInPage
I believe it's because AMP on SRP is served in an iframe where we can't inject any javascript. 
Labels: -ReleaseBlock-Stable -M-57
Status: ExternalDependency (was: Assigned)
Doesn't work in Safari either. AMP just shouldn't be in an iframe. Nothing we can do. 

Comment 6 by malteubl@google.com, Jan 25 2017

Has nothing to do with iframes we found out. Overflow: auto on any element
is enough to trigger the bug.
Cc: pinkerton@chromium.org
Thanks, Malte. Is this AMP-related though?

Comment 8 by malteubl@google.com, Jan 27 2017

Yes, AMP affected by this, but so is every:
<div style="height: 100px; padding-top: 1000px; overflow: auto">Find
me</div> See e.g. http://output.jsbin.com/piwuvu/quiet

Corresponding webkit bug https://bugs.webkit.org/show_bug.cgi?id=163911

Comment 9 by pkl@chromium.org, Jan 29 2018

Cc: stkhapugin@chromium.org
Owner: michaeldo@chromium.org

Sign in to add a comment