Changeset 200665 in webkit
- Timestamp:
- May 10, 2016, 6:55:47 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r200663 r200665 1 2016-05-10 Simon Fraser <simon.fraser@apple.com> 2 3 Horizontally-scrollable items with a 3d transform are rendered incorrectly in RTL when container has -webkit-overflow-scroll: touch 4 https://bugs.webkit.org/show_bug.cgi?id=157482 5 rdar://problem/26204794 6 7 Reviewed by Zalan Bujtas. 8 9 This can't be a ref test because on iOS ref test snapshots are doing by drawing, not by snapshotting layers. 10 11 * compositing/rtl/rtl-with-transformed-descendants-expected.txt: Added. 12 * compositing/rtl/rtl-with-transformed-descendants.html: Added. 13 1 14 2016-05-10 Hunseop Jeong <hs85.jeong@samsung.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r200660 r200665 1 2016-05-10 Simon Fraser <simon.fraser@apple.com> 2 3 Horizontally-scrollable items with a 3d transform are rendered incorrectly in RTL when container has -webkit-overflow-scroll: touch 4 https://bugs.webkit.org/show_bug.cgi?id=157482 5 rdar://problem/26204794 6 7 Reviewed by Zalan Bujtas. 8 9 The compositing code was confused about scroll offsets vs. scroll positions, because 10 of the badly named scrolledContentOffset(); we used that in one place, and scrollOffset() 11 lower down. Change both to use scrollOffset(). 12 13 Test: compositing/rtl/rtl-with-transformed-descendants.html 14 15 * rendering/RenderLayerBacking.cpp: 16 (WebCore::RenderLayerBacking::updateGeometry): 17 1 18 2016-05-10 Enrica Casucci <enrica@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r200602 r200665 816 816 renderBox.height() - renderBox.borderTop() - renderBox.borderBottom()); 817 817 818 IntSize scrollOffset = compAncestor->scrolledContentOffset();818 ScrollOffset scrollOffset = compAncestor->scrollOffset(); 819 819 // FIXME: pixel snap the padding box. 820 graphicsLayerParentLocation = paddingBox.location() - scrollOffset;820 graphicsLayerParentLocation = paddingBox.location() - toLayoutSize(scrollOffset); 821 821 } 822 822 #else
Note:
See TracChangeset
for help on using the changeset viewer.