Changeset 51205 in webkit
- Timestamp:
- Nov 19, 2009 2:04:51 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51204 r51205 1 2009-11-19 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Dave Hyatt. 4 5 -webkit-user-drag: element Drag images include overflow decorations from incorrect nodes 6 https://bugs.webkit.org/show_bug.cgi?id=31656 7 8 Make sure we're a child of the painting root before drawing overflow features. 9 10 * manual-tests/user-drag-with-decorations.html: Added. 11 * rendering/RenderBlock.cpp: 12 (WebCore::RenderBlock::paint): 13 1 14 2009-11-19 Dmitry Titov <dimich@chromium.org> 2 15 -
trunk/WebCore/rendering/RenderBlock.cpp
r50869 r51205 1524 1524 // z-index. We paint after we painted the background/border, so that the scrollbars will 1525 1525 // sit above the background/border. 1526 if (hasOverflowClip() && style()->visibility() == VISIBLE && (phase == PaintPhaseBlockBackground || phase == PaintPhaseChildBlockBackground) )1526 if (hasOverflowClip() && style()->visibility() == VISIBLE && (phase == PaintPhaseBlockBackground || phase == PaintPhaseChildBlockBackground) && shouldPaintWithinRoot(paintInfo)) 1527 1527 layer()->paintOverflowControls(paintInfo.context, tx, ty, paintInfo.rect); 1528 1528 }
Note: See TracChangeset
for help on using the changeset viewer.