| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 ASSERT(needsLayout()); | 301 ASSERT(needsLayout()); |
| 302 | 302 |
| 303 LayoutRectRecorder recorder(*this); | 303 LayoutRectRecorder recorder(*this); |
| 304 | 304 |
| 305 RenderObject* child = firstChild(); | 305 RenderObject* child = firstChild(); |
| 306 if (!child) { | 306 if (!child) { |
| 307 clearNeedsLayout(); | 307 clearNeedsLayout(); |
| 308 return; | 308 return; |
| 309 } | 309 } |
| 310 | 310 |
| 311 LayoutStateMaintainer statePusher(this, locationOffset(), style()->isFlipped
BlocksWritingMode()); | 311 LayoutStateMaintainer statePusher(this, locationOffset()); |
| 312 while (child) { | 312 while (child) { |
| 313 child->layoutIfNeeded(); | 313 child->layoutIfNeeded(); |
| 314 ASSERT(!child->needsLayout()); | 314 ASSERT(!child->needsLayout()); |
| 315 child = child->nextSibling(); | 315 child = child->nextSibling(); |
| 316 } | 316 } |
| 317 statePusher.pop(); | 317 statePusher.pop(); |
| 318 invalidateBackgroundObscurationStatus(); | 318 invalidateBackgroundObscurationStatus(); |
| 319 clearNeedsLayout(); | 319 clearNeedsLayout(); |
| 320 } | 320 } |
| 321 | 321 |
| (...skipping 4353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4675 return 0; | 4675 return 0; |
| 4676 | 4676 |
| 4677 if (!layoutState && !flowThreadContainingBlock()) | 4677 if (!layoutState && !flowThreadContainingBlock()) |
| 4678 return 0; | 4678 return 0; |
| 4679 | 4679 |
| 4680 RenderBlock* containerBlock = containingBlock(); | 4680 RenderBlock* containerBlock = containingBlock(); |
| 4681 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); | 4681 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); |
| 4682 } | 4682 } |
| 4683 | 4683 |
| 4684 } // namespace WebCore | 4684 } // namespace WebCore |
| OLD | NEW |