Changeset 170045 in webkit
- Timestamp:
- Jun 16, 2014 10:35:42 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r170034 r170045 1 2014-06-16 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions] Region with border radius and overflow:hidden does not clip content 4 https://bugs.webkit.org/show_bug.cgi?id=133476 5 6 Reviewed by Andrei Bucur. 7 8 * fast/regions/region-border-radius-overflow-clip-expected.html: Added. 9 * fast/regions/region-border-radius-overflow-clip.html: Added. 10 1 11 2014-06-12 Mark Lam <mark.lam@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r170044 r170045 1 2014-06-16 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions] Region with border radius and overflow:hidden does not clip content 4 https://bugs.webkit.org/show_bug.cgi?id=133476 5 6 Reviewed by Andrei Bucur. 7 8 When setting the clip before painting the named flow content, 9 use the region's foreground rect to take the region's border radius 10 into account if needed. 11 12 Test: fast/regions/region-border-radius-overflow-clip.html 13 14 * rendering/RenderLayer.cpp: 15 (WebCore::RenderLayer::paintFlowThreadIfRegionForFragments): 16 1 17 2014-06-16 Sam Weinig <sam@webkit.org> 2 18 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r170024 r170045 6745 6745 const LayerFragment& fragment = fragments.at(i); 6746 6746 6747 ClipRect clipRect = fragment. backgroundRect;6747 ClipRect clipRect = fragment.foregroundRect; 6748 6748 if (flowFragment->shouldClipFlowThreadContent()) 6749 6749 clipRect.intersect(regionClipRect);
Note: See TracChangeset
for help on using the changeset viewer.