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) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1679 box->layoutIfNeeded(); | 1679 box->layoutIfNeeded(); |
1680 } | 1680 } |
1681 } | 1681 } |
1682 } | 1682 } |
1683 | 1683 |
1684 bool RenderBlock::simplifiedLayout() | 1684 bool RenderBlock::simplifiedLayout() |
1685 { | 1685 { |
1686 if ((!posChildNeedsLayout() && !needsSimplifiedNormalFlowLayout()) || normal
ChildNeedsLayout() || selfNeedsLayout()) | 1686 if ((!posChildNeedsLayout() && !needsSimplifiedNormalFlowLayout()) || normal
ChildNeedsLayout() || selfNeedsLayout()) |
1687 return false; | 1687 return false; |
1688 | 1688 |
1689 LayoutStateMaintainer statePusher(this, locationOffset(), hasColumns() || ha
sTransform() || hasReflection() || style()->isFlippedBlocksWritingMode()); | 1689 LayoutStateMaintainer statePusher(this, locationOffset()); |
1690 | 1690 |
1691 if (needsPositionedMovementLayout() && !tryLayoutDoingPositionedMovementOnly
()) | 1691 if (needsPositionedMovementLayout() && !tryLayoutDoingPositionedMovementOnly
()) |
1692 return false; | 1692 return false; |
1693 | 1693 |
1694 FastTextAutosizer::LayoutScope fastTextAutosizerLayoutScope(document(), this
); | 1694 FastTextAutosizer::LayoutScope fastTextAutosizerLayoutScope(document(), this
); |
1695 | 1695 |
1696 // Lay out positioned descendants or objects that just need to recompute ove
rflow. | 1696 // Lay out positioned descendants or objects that just need to recompute ove
rflow. |
1697 if (needsSimplifiedNormalFlowLayout()) | 1697 if (needsSimplifiedNormalFlowLayout()) |
1698 simplifiedNormalFlowLayout(); | 1698 simplifiedNormalFlowLayout(); |
1699 | 1699 |
(...skipping 3786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5486 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const | 5486 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const |
5487 { | 5487 { |
5488 showRenderObject(); | 5488 showRenderObject(); |
5489 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) | 5489 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) |
5490 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); | 5490 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); |
5491 } | 5491 } |
5492 | 5492 |
5493 #endif | 5493 #endif |
5494 | 5494 |
5495 } // namespace WebCore | 5495 } // namespace WebCore |
OLD | NEW |