DescriptionReconstruct customscrollbars if owningLayoutObject changes.
CustomScrollbars owner changes when the body's LayoutObject is attached
which occurs during style recalc (before layout). However in the case
of overflow:scroll, the scrollbars are created when we call
styleDidChange() on the LayoutView, which happens even sooner than
that. So during updateAfterLayout,in needsScrollbarReconstruction if
owningLayoutObject changes for customscrollbar reconstruct the
scrollbar.
BUG=522389
TESTED=scrollbars/custom-scrollbar-inactive-only-on-windowinactive-selector-expected.html
now passes with root layer scrolling
Committed: https://crrev.com/6c9abc243561998590a5cfec02d62b86578e4ec0
Cr-Commit-Position: refs/heads/master@{#352644}
Patch Set 1 #
Total comments: 1
Patch Set 2 : #Patch Set 3 : addressed review comments #Patch Set 4 : addressed review comments #Messages
Total messages: 11 (2 generated)
|