Changeset 95567 in webkit
- Timestamp:
- Sep 20, 2011 1:26:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r95566 r95567 1 2011-09-20 David Hyatt <hyatt@apple.com> 2 3 https://bugs.webkit.org/show_bug.cgi?id=68314 4 5 Added some more clipping tests for overflow to make sure the right things happen 6 when border-radius is specified. 7 8 Reviewed by Simon Fraser and Darin Adler. 9 10 * fast/clip/overflow-border-radius-fixed-position.html: Added. 11 * platform/mac/fast/clip/overflow-border-radius-fixed-position-expected.png: Added. 12 * platform/mac/fast/clip/overflow-border-radius-fixed-position-expected.txt: Added. 13 1 14 2011-09-20 Dan Bernstein <mitz@apple.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r95566 r95567 1 2011-09-20 David Hyatt <hyatt@apple.com> 2 3 https://bugs.webkit.org/show_bug.cgi?id=68314 4 5 Make sure that the containing block loop when clipping to border-radius 6 terminates by checking if you hit the RenderView. Null checking isn't sufficient 7 for stupid historical reasons that should be fixed (i.e., the RenderView returns itself 8 as its own containing block, even though this should just be changed). 9 10 Reviewed by Simon Fraser and Darin Adler. 11 12 Added new test in fast/clip. 13 14 * rendering/RenderLayer.cpp: 15 (WebCore::inContainingBlockChain): 16 1 17 2011-09-20 Dan Bernstein <mitz@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r95239 r95567 2560 2560 return true; 2561 2561 2562 for (RenderBlock* currentBlock = startLayer->renderer()->containingBlock(); currentBlock; currentBlock = currentBlock->containingBlock()) { 2562 RenderView* view = startLayer->renderer()->view(); 2563 for (RenderBlock* currentBlock = startLayer->renderer()->containingBlock(); currentBlock && currentBlock != view; currentBlock = currentBlock->containingBlock()) { 2563 2564 if (currentBlock->layer() == endLayer) 2564 2565 return true;
Note: See TracChangeset
for help on using the changeset viewer.