Changeset 148258 in webkit
- Timestamp:
- Apr 11, 2013 7:38:32 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 12 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r148255 r148258 1 2013-04-11 Shezan Baig <sbaig1@bloomberg.net> 2 3 Selection gaps don't repaint correctly with transforms 4 https://bugs.webkit.org/show_bug.cgi?id=111000 5 6 Reviewed by Simon Fraser. 7 8 * fast/repaint/selection-gap-absolute-child-expected.txt: Added. 9 * fast/repaint/selection-gap-absolute-child.html: Added. 10 * fast/repaint/selection-gap-fixed-child-expected.txt: Added. 11 * fast/repaint/selection-gap-fixed-child.html: Added. 12 * fast/repaint/selection-gap-flipped-absolute-child-expected.txt: Added. 13 * fast/repaint/selection-gap-flipped-absolute-child.html: Added. 14 * fast/repaint/selection-gap-flipped-fixed-child-expected.txt: Added. 15 * fast/repaint/selection-gap-flipped-fixed-child.html: Added. 16 * fast/repaint/selection-gap-transformed-absolute-child-expected.txt: Added. 17 * fast/repaint/selection-gap-transformed-absolute-child.html: Added. 18 * fast/repaint/selection-gap-transformed-fixed-child-expected.txt: Added. 19 * fast/repaint/selection-gap-transformed-fixed-child.html: Added. 20 1 21 2013-04-11 Ryosuke Niwa <rniwa@webkit.org> 2 22 -
trunk/Source/WebCore/ChangeLog
r148257 r148258 1 2013-04-11 Shezan Baig <sbaig1@bloomberg.net> 2 3 Selection gaps don't repaint correctly with transforms 4 https://bugs.webkit.org/show_bug.cgi?id=111000 5 6 Reviewed by Simon Fraser. 7 8 When computing offsetFromRepaintContainer, we need to add UseTransforms 9 to the MapCoordinateFlags argument. Note that ApplyContainerFlip is 10 the default value for the flag, so this change effectively only adds 11 the UseTransforms flag. 12 13 Tests: fast/repaint/selection-gap-absolute-child.html 14 fast/repaint/selection-gap-fixed-child.html 15 fast/repaint/selection-gap-flipped-absolute-child.html 16 fast/repaint/selection-gap-flipped-fixed-child.html 17 fast/repaint/selection-gap-transformed-absolute-child.html 18 fast/repaint/selection-gap-transformed-fixed-child.html 19 20 * rendering/RenderBlock.cpp: 21 (WebCore::RenderBlock::selectionGapRectsForRepaint): 22 1 23 2013-04-11 Oliver Hunt <oliver@apple.com> 2 24 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r148120 r148258 3393 3393 return GapRects(); 3394 3394 3395 // FIXME: this is broken with transforms3396 3395 TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint()); 3397 mapLocalToContainer(repaintContainer, transformState );3396 mapLocalToContainer(repaintContainer, transformState, ApplyContainerFlip | UseTransforms); 3398 3397 LayoutPoint offsetFromRepaintContainer = roundedLayoutPoint(transformState.mappedPoint()); 3399 3398
Note: See TracChangeset
for help on using the changeset viewer.