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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 clearNeedsLayout(); | 307 clearNeedsLayout(); |
308 return; | 308 return; |
309 } | 309 } |
310 | 310 |
311 LayoutStateMaintainer statePusher(*this, locationOffset()); | 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 | |
318 m_overflow.clear(); | |
319 addVisualEffectOverflow(); | |
320 | |
321 statePusher.pop(); | |
322 invalidateBackgroundObscurationStatus(); | 317 invalidateBackgroundObscurationStatus(); |
323 clearNeedsLayout(); | 318 clearNeedsLayout(); |
324 } | 319 } |
325 | 320 |
326 // More IE extensions. clientWidth and clientHeight represent the interior of a
n object | 321 // More IE extensions. clientWidth and clientHeight represent the interior of a
n object |
327 // excluding border and scrollbar. | 322 // excluding border and scrollbar. |
328 LayoutUnit RenderBox::clientWidth() const | 323 LayoutUnit RenderBox::clientWidth() const |
329 { | 324 { |
330 return width() - borderLeft() - borderRight() - verticalScrollbarWidth(); | 325 return width() - borderLeft() - borderRight() - verticalScrollbarWidth(); |
331 } | 326 } |
(...skipping 4350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4682 return 0; | 4677 return 0; |
4683 | 4678 |
4684 if (!layoutState && !flowThreadContainingBlock()) | 4679 if (!layoutState && !flowThreadContainingBlock()) |
4685 return 0; | 4680 return 0; |
4686 | 4681 |
4687 RenderBlock* containerBlock = containingBlock(); | 4682 RenderBlock* containerBlock = containingBlock(); |
4688 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); | 4683 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); |
4689 } | 4684 } |
4690 | 4685 |
4691 } // namespace WebCore | 4686 } // namespace WebCore |
OLD | NEW |