Changeset 231628 in webkit
- Timestamp:
- May 9, 2018, 7:07:34 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r231627 r231628 1 2018-05-09 Nan Wang <[email protected]> 2 3 AX: VoiceOver iframe scrolling focus jumping bug 4 https://bugs.webkit.org/show_bug.cgi?id=176615 5 <rdar://problem/34333067> 6 7 Reviewed by Chris Fleizach. 8 9 * accessibility/resources/iframe.html: Added. 10 * accessibility/scroll-to-make-visible-iframe-offscreen-expected.txt: Added. 11 * accessibility/scroll-to-make-visible-iframe-offscreen.html: Added. 12 * platform/win/TestExpectations: 13 1 14 2018-05-09 Joanmarie Diggs <[email protected]> 2 15 -
trunk/LayoutTests/platform/win/TestExpectations
r231555 r231628 1575 1575 accessibility/scroll-to-make-visible-nested.html [ Skip ] 1576 1576 accessibility/scroll-to-make-visible-with-subfocus.html [ Skip ] 1577 accessibility/scroll-to-make-visible-iframe-offscreen.html [ Skip ] 1577 1578 1578 1579 # Apparently missing support for roleDescription on Windows. -
trunk/Source/WebCore/ChangeLog
r231627 r231628 1 2018-05-09 Nan Wang <[email protected]> 2 3 AX: VoiceOver iframe scrolling focus jumping bug 4 https://bugs.webkit.org/show_bug.cgi?id=176615 5 <rdar://problem/34333067> 6 7 Reviewed by Chris Fleizach. 8 9 Scrolling to make elements visible is not working correctly for elements inside an 10 offscreen iframe. Fixed it by using RenderLayer::scrollRectToVisible() to handle 11 scrolling more properly. 12 13 Test: accessibility/scroll-to-make-visible-iframe-offscreen.html 14 15 * accessibility/AccessibilityObject.cpp: 16 (WebCore::AccessibilityObject::scrollToMakeVisible const): 17 1 18 2018-05-09 Joanmarie Diggs <[email protected]> 2 19 -
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp
r230808 r231628 2982 2982 if (dispatchAccessibilityEventWithType(AccessibilityEventType::ScrollIntoView)) 2983 2983 return; 2984 IntRect objectRect = snappedIntRect(boundingBoxRect()); 2985 objectRect.setLocation(IntPoint()); 2986 scrollToMakeVisibleWithSubFocus(objectRect); 2984 2985 if (isScrollView() && parentObject()) 2986 parentObject()->scrollToMakeVisible(); 2987 2988 if (auto* renderer = this->renderer()) 2989 renderer->scrollRectToVisible(SelectionRevealMode::Reveal, boundingBoxRect(), false, ScrollAlignment::alignCenterIfNotVisible, ScrollAlignment::alignCenterIfNotVisible); 2987 2990 } 2988 2991
Note:
See TracChangeset
for help on using the changeset viewer.