Changeset 164600 in webkit
- Timestamp:
- Feb 24, 2014 12:51:05 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r164592 r164600 1 2014-02-24 Radu Stavila <stavila@adobe.com> 2 3 [CSS Regions] Relative positioned elements overflowing the region do not get painted into the next tile 4 https://bugs.webkit.org/show_bug.cgi?id=129254 5 6 Reviewed by Antti Koivisto. 7 8 Added test for the painting across tiles of relative positioned elements flowed into regions. 9 10 * fast/regions/content-relative-next-tile-expected.html: Added. 11 * fast/regions/content-relative-next-tile.html: Added. 12 1 13 2014-02-24 Dirk Schulze <krit@webkit.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r164594 r164600 1 2014-02-24 Radu Stavila <stavila@adobe.com> 2 3 [CSS Regions] Relative positioned elements overflowing the region do not get painted into the next tile 4 https://bugs.webkit.org/show_bug.cgi?id=129254 5 6 Reviewed by Antti Koivisto. 7 8 The painting of the region's layer should not be aborted so early if the region's fragment shouldn't be painted 9 because that would prevent all the layer's children from being painted. 10 11 Another problem this patch addresses is that clipping should also be performed when the clip rect is empty, 12 which is what happens when painting in a tile in which the flowed element would normally be painted 13 if it wasn't clipped by the region. 14 15 Test: fast/regions/content-relative-next-tile.html 16 17 * rendering/RenderLayer.cpp: 18 (WebCore::RenderLayer::paintFlowThreadIfRegionForFragments): 19 1 20 2014-02-24 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com> 2 21 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r164594 r164600 6822 6822 const LayerFragment& fragment = fragments.at(i); 6823 6823 6824 if (!fragment.shouldPaintContent)6825 continue;6826 6827 6824 ClipRect clipRect = fragment.backgroundRect; 6828 6825 if (flowFragment->shouldClipFlowThreadContent()) 6829 6826 clipRect.intersect(regionClipRect); 6830 6827 6831 bool shouldClip = !clipRect.isEmpty() && clipRect != LayoutRect::infiniteRect();6828 bool shouldClip = (clipRect != LayoutRect::infiniteRect()); 6832 6829 // Optimize clipping for the single fragment case. 6833 6830 if (shouldClip)
Note: See TracChangeset
for help on using the changeset viewer.