scrollbar tickmarks not shown on PDF find-in-page |
|||||
Issue description1. Open a PDF document, e.g. https://www.irs.gov/pub/irs-pdf/i1040gi.pdf 2. Ctrl-F, type a common word 3. Observe scrollbar EXPECTED: tickmarks in scrollbar ACTUAL: no tickmarks in scrollbar This is an RLS (M66) regression. Blink appears to have a special hook for plugins to specify tickmarks (WebLocalFrameImpl::SetTickmarks). This stores the desired tickmarks in LocalFrameView::tickmarks_, which PLSA::GetTickmarks ignores.
,
May 28 2018
I discovered this because WebFrameTest has hacky tests for this that directly call LocalFrameView::CreateScrollbar (which we want to remove). Removing LocalFrameView::CreateScrollbar will require fixing those tests, preferably by fixing this bug.
,
May 29 2018
,
May 29 2018
For those of us not in Blink-Land, RLS is Root Layer Scrolls, and PLSA is PaintLayerScrollableArea.
,
May 29 2018
,
May 30 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c6e761442e0c2a98879393aa0f0fec8aefdbb096 commit c6e761442e0c2a98879393aa0f0fec8aefdbb096 Author: Steve Kobes <skobes@chromium.org> Date: Wed May 30 00:38:27 2018 Fix PDF find-in-page tickmarks. This moves tickmark overriding and invalidation from LocalFrameView to LayoutView, and connects PaintLayerScrollableArea correctly. Bug: 847236 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I6b5d5d5cb94a5fb09a67553ab147245e0ca80843 Reviewed-on: https://chromium-review.googlesource.com/1077370 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/master@{#562674} [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/editing/finder/text_finder.cc [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/editing/finder/text_finder.h [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/editing/markers/document_marker_controller.cc [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/exported/web_frame_test.cc [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/frame/find_in_page.cc [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/frame/local_frame_view.cc [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/frame/local_frame_view.h [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/layout/layout_view.cc [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/layout/layout_view.h [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/paint/paint_layer_scrollable_area.cc [modify] https://crrev.com/c6e761442e0c2a98879393aa0f0fec8aefdbb096/third_party/blink/renderer/core/testing/internals.cc
,
May 30 2018
,
Jul 16
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by skobes@chromium.org
, May 28 2018139 KB
139 KB View Download
139 KB
139 KB View Download