DescriptionFix another case where scrollToMakeVisible was off.
AXObject::elementRect returns coordinates relative to the
frame, so we don't need to do any offsetting when scrolling
the main frame's scroll area.
However, when we're scrolling something other than a frame,
like a scrollable div, we need to put the element we're
trying to make visible into the local coordinate frame of
the scrollable div before we know how much to scroll it.
BUG=459937, 457973
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194818
Patch Set 1 #
Total comments: 2
Patch Set 2 : null-check scrollParent #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||||||||||||||||||||