Bug 191437
Summary: | Find in Page highlight does not scroll with iframe contents | ||
---|---|---|---|
Product: | WebKit | Reporter: | thegreenfrog |
Component: | Frames | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ajuma, fred.wang, simon.fraser, thorton, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 12 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
thegreenfrog
Repro steps:
1. Load a page with iframes (e.g. AMP page)
2. Search for word that exists on the page. Observe highlight
3. Scroll page
Expected: Highlighted word moves along with scroll.
Actual: Highlighted word remains fixed while the page underneath scrolls.
This difference is not observed when searching in the main frame. Main frame searches seems to change the css of the page in order to highlight words
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Frédéric Wang (:fredw)
This seems very similar to bug 175032.
AMP iframes use overflow:auto nodes.
Radar WebKit Bug Importer
<rdar://problem/46193510>
Frédéric Wang (:fredw)
I think this is a duplicate of bug 184297 which seems fixed in iOS 14 beta.
Now, the highlight is no longer fixed but it is visible even it is scrolled outside the visible area of the iframe (although this shouldn't affect AMP pages since they use the full size of the viewport AFAIK).
Frédéric Wang (:fredw)
*** This bug has been marked as a duplicate of bug 184297 ***