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 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 LayoutUnit negativeMargin() const { return m_negativeMargin; } | 897 LayoutUnit negativeMargin() const { return m_negativeMargin; } |
898 LayoutUnit margin() const { return m_positiveMargin - m_negativeMargin;
} | 898 LayoutUnit margin() const { return m_positiveMargin - m_negativeMargin;
} |
899 }; | 899 }; |
900 | 900 |
901 void layoutBlockChild(RenderBox* child, MarginInfo&, LayoutUnit& previousFlo
atLogicalBottom, LayoutUnit& maxFloatLogicalBottom); | 901 void layoutBlockChild(RenderBox* child, MarginInfo&, LayoutUnit& previousFlo
atLogicalBottom, LayoutUnit& maxFloatLogicalBottom); |
902 void adjustPositionedBlock(RenderBox* child, const MarginInfo&); | 902 void adjustPositionedBlock(RenderBox* child, const MarginInfo&); |
903 void adjustFloatingBlock(const MarginInfo&); | 903 void adjustFloatingBlock(const MarginInfo&); |
904 bool handleSpecialChild(RenderBox* child, const MarginInfo&); | 904 bool handleSpecialChild(RenderBox* child, const MarginInfo&); |
905 bool handleFloatingChild(RenderBox* child, const MarginInfo&); | 905 bool handleFloatingChild(RenderBox* child, const MarginInfo&); |
906 bool handlePositionedChild(RenderBox* child, const MarginInfo&); | 906 bool handlePositionedChild(RenderBox* child, const MarginInfo&); |
907 bool handleRunInChild(RenderBox* child); | 907 |
| 908 RenderBoxModelObject* createReplacementRunIn(RenderBoxModelObject* runIn); |
| 909 void moveRunInUnderSiblingBlockIfNeeded(RenderObject* runIn); |
| 910 void moveRunInToOriginalPosition(RenderObject* runIn); |
| 911 |
908 LayoutUnit collapseMargins(RenderBox* child, MarginInfo&); | 912 LayoutUnit collapseMargins(RenderBox* child, MarginInfo&); |
909 LayoutUnit clearFloatsIfNeeded(RenderBox* child, MarginInfo&, LayoutUnit old
TopPosMargin, LayoutUnit oldTopNegMargin, LayoutUnit yPos); | 913 LayoutUnit clearFloatsIfNeeded(RenderBox* child, MarginInfo&, LayoutUnit old
TopPosMargin, LayoutUnit oldTopNegMargin, LayoutUnit yPos); |
910 LayoutUnit estimateLogicalTopPosition(RenderBox* child, const MarginInfo&, L
ayoutUnit& estimateWithoutPagination); | 914 LayoutUnit estimateLogicalTopPosition(RenderBox* child, const MarginInfo&, L
ayoutUnit& estimateWithoutPagination); |
911 void determineLogicalLeftPositionForChild(RenderBox* child); | 915 void determineLogicalLeftPositionForChild(RenderBox* child); |
912 void handleAfterSideOfBlock(LayoutUnit top, LayoutUnit bottom, MarginInfo&); | 916 void handleAfterSideOfBlock(LayoutUnit top, LayoutUnit bottom, MarginInfo&); |
913 void setCollapsedBottomMargin(const MarginInfo&); | 917 void setCollapsedBottomMargin(const MarginInfo&); |
914 // End helper functions and structs used by layoutBlockChildren. | 918 // End helper functions and structs used by layoutBlockChildren. |
915 | 919 |
916 // Helper function for layoutInlineChildren() | 920 // Helper function for layoutInlineChildren() |
917 RootInlineBox* createLineBoxesFromBidiRuns(BidiRunList<BidiRun>&, const Inli
neIterator& end, LineInfo&, VerticalPositionCache&, BidiRun* trailingSpaceRun); | 921 RootInlineBox* createLineBoxesFromBidiRuns(BidiRunList<BidiRun>&, const Inli
neIterator& end, LineInfo&, VerticalPositionCache&, BidiRun* trailingSpaceRun); |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 static String string(const int value); | 1135 static String string(const int value); |
1132 }; | 1136 }; |
1133 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1137 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
1134 static String string(const RenderBlock::FloatingObject*); | 1138 static String string(const RenderBlock::FloatingObject*); |
1135 }; | 1139 }; |
1136 #endif | 1140 #endif |
1137 | 1141 |
1138 } // namespace WebCore | 1142 } // namespace WebCore |
1139 | 1143 |
1140 #endif // RenderBlock_h | 1144 #endif // RenderBlock_h |
OLD | NEW |