Changeset 194004 in webkit
- Timestamp:
- Dec 11, 2015 10:58:15 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r194002 r194004 1 2015-12-11 Simon Fraser <simon.fraser@apple.com> 2 3 Mousewheel events don't work in iframes in RTL documents 4 https://bugs.webkit.org/show_bug.cgi?id=152200 5 6 Reviewed by Beth Dakin. 7 8 Try dispatching wheel events to an iframe in an RTL document. 9 10 * fast/scrolling/rtl-point-in-iframe-expected.txt: Added. 11 * fast/scrolling/rtl-point-in-iframe.html: Added. 12 1 13 2015-12-11 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r194002 r194004 1 2015-12-11 Simon Fraser <simon.fraser@apple.com> 2 3 Mousewheel events don't work in iframes in RTL documents 4 https://bugs.webkit.org/show_bug.cgi?id=152200 5 6 Reviewed by Beth Dakin. 7 8 When dispatching wheel events, the testing of the event point against the 9 non-fast scrollable region was broken in an RTL document. Fix by taking 10 the scrollOrigin into account in ScrollingTreeFrameScrollingNode::viewToContentsOffset(). 11 12 Test: fast/scrolling/rtl-point-in-iframe.html 13 14 * page/scrolling/ScrollingTreeFrameScrollingNode.cpp: 15 (WebCore::ScrollingTreeFrameScrollingNode::viewToContentsOffset): 16 1 17 2015-12-11 Zalan Bujtas <zalan@apple.com> 2 18 -
trunk/Source/WebCore/page/scrolling/ScrollingTreeFrameScrollingNode.cpp
r183655 r194004 92 92 FloatSize ScrollingTreeFrameScrollingNode::viewToContentsOffset(const FloatPoint& scrollOffset) const 93 93 { 94 return toFloatSize(scrollOffset) - FloatSize(0, headerHeight() + topContentInset());94 return toFloatSize(scrollOffset) - toFloatSize(scrollOrigin()) - FloatSize(0, headerHeight() + topContentInset()); 95 95 } 96 96
Note: See TracChangeset
for help on using the changeset viewer.