Changeset 151571 in webkit
- Timestamp:
- Jun 13, 2013 3:32:50 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r151553 r151571 1 2013-06-13 Max Vujovic <mvujovic@adobe.com> 2 3 [CSS Regions] Selection dragged from a region paints its background 4 https://bugs.webkit.org/show_bug.cgi?id=117607 5 6 Reviewed by Alexandru Chiculita. 7 8 Add a manual test for the painting of a dragged selection from a region. We don't have an 9 automated way to test this yet. This test is similar to the other manual selection dragging 10 tests (e.g. ManualTests/drag-image.html). 11 12 * ManualTests/regions/drag-selection-painting.html: Added. 13 1 14 2013-06-13 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r151570 r151571 1 2013-06-13 Max Vujovic <mvujovic@adobe.com> 2 3 [CSS Regions] Selection dragged from a region paints its background 4 https://bugs.webkit.org/show_bug.cgi?id=117607 5 6 Reviewed by Alexandru Chiculita. 7 8 When a RenderFlowThread is in the selection paint phase, tell its layer to paint with the 9 selection only behavior. This way, only foregrounds and not backgrounds will be painted in 10 the dragged selection. 11 12 Manual test: ManualTests/regions/drag-selection-painting.html 13 14 * rendering/RenderFlowThread.cpp: 15 (WebCore::RenderFlowThread::paintFlowThreadPortionInRegion): 16 1 17 2013-06-13 Zoltan Horvath <zoltan@webkit.org> 2 18 -
trunk/Source/WebCore/rendering/RenderFlowThread.cpp
r151555 r151571 307 307 if (info.phase == PaintPhaseTextClip) 308 308 paintBehavior |= PaintBehaviorForceBlackText; 309 else if (info.phase == PaintPhaseSelection) 310 paintBehavior |= PaintBehaviorSelectionOnly; 309 311 310 312 layer()->paint(context, info.rect, paintBehavior, 0, region, RenderLayer::PaintLayerTemporaryClipRects);
Note: See TracChangeset
for help on using the changeset viewer.