works for floats contained inside layers. I added an optimization to
refine dirty rect checking for layers, and it incorrectly excluded floats
from the paint bounds since PaintPhaseSelection was not considered when
analyzing the floatRect().
Reviewed by beth
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paint):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15807
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-04 David Hyatt <hyatt@apple.com>
+
+ Fix for Radar bug #4644045, regression where dragging selection no longer
+ works for floats contained inside layers. I added an optimization to
+ refine dirty rect checking for layers, and it incorrectly excluded floats
+ from the paint bounds since PaintPhaseSelection was not considered when
+ analyzing the floatRect().
+
+ Reviewed by beth
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paint):
+
2006-08-04 David Hyatt <hyatt@apple.com>
Fix remove() so that it is equivalent to calling removeChild on the
bool intersectsOverflowBox = overflowBox.intersects(i.r);
if (!intersectsOverflowBox) {
// Check floats next.
- if (i.phase != PaintPhaseFloat)
+ if (i.phase != PaintPhaseFloat && i.phase != PaintPhaseSelection)
return;
IntRect floatBox = floatRect();
floatBox.inflate(maximalOutlineSize(i.phase));