Changeset 35138 in webkit
- Timestamp:
- Jul 11, 2008 3:34:42 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r35135 r35138 1 2008-07-11 Simon Fraser <simon.fraser@apple.com> 2 3 Reviewed by Dave Hyatt 4 5 Test for <https://bugs.webkit.org/show_bug.cgi?id=18885> 6 (requires visual inspection or pixel test). 7 8 * fast/transforms/transform-positioned-ancestor.html: Added. 9 * platform/mac/fast/transforms/transform-positioned-ancestor-expected.txt: Added. 10 1 11 2008-07-11 Eric Seidel <eric@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r35137 r35138 1 2008-07-11 Simon Fraser <simon.fraser@apple.com> 2 3 Reviewed by Dave Hyatt 4 5 Bug 18885: RenderLayer::enclosingPositionedAncestor() should 6 look for transforms, since transforms create containing 7 blocks. 8 <https://bugs.webkit.org/show_bug.cgi?id=18885> 9 10 Test: fast/transforms/transform-positioned-ancestor.html 11 12 * rendering/RenderLayer.cpp: 13 (WebCore::RenderLayer::stackingContext): 14 (WebCore::RenderLayer::enclosingPositionedAncestor): 15 (WebCore::RenderLayer::enclosingTransformedAncestor): 16 1 17 2008-07-11 Jacob Refstrup <jacob.refstrup@hp.com> 2 18 -
trunk/WebCore/rendering/RenderLayer.cpp
r35100 r35138 426 426 for ( ; curr && !curr->m_object->isRenderView() && !curr->m_object->isRoot() && 427 427 curr->m_object->style()->hasAutoZIndex(); 428 curr = curr->parent()) { } ;428 curr = curr->parent()) { } 429 429 return curr; 430 430 } … … 433 433 { 434 434 RenderLayer* curr = parent(); 435 for ( ; curr && !curr->m_object->isRenderView() && !curr->m_object->isPositioned() && !curr->m_object->isRelPositioned() ;436 curr = curr->parent()) { } ;435 for ( ; curr && !curr->m_object->isRenderView() && !curr->m_object->isPositioned() && !curr->m_object->isRelPositioned() && !curr->m_object->hasTransform(); 436 curr = curr->parent()) { } 437 437 return curr; 438 438 } … … 442 442 RenderLayer* curr = parent(); 443 443 for ( ; curr && !curr->m_object->isRenderView() && !curr->transform(); curr = curr->parent()) 444 { } ;444 { } 445 445 return curr; 446 446 }
Note: See TracChangeset
for help on using the changeset viewer.