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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 void addVisualOverflowFromTheme(); | 473 void addVisualOverflowFromTheme(); |
474 | 474 |
475 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint&); | 475 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint&); |
476 | 476 |
477 #if ENABLE(SVG) | 477 #if ENABLE(SVG) |
478 // Only used by RenderSVGText, which explicitely overrides RenderBlock::layo
utBlock(), do NOT use for anything else. | 478 // Only used by RenderSVGText, which explicitely overrides RenderBlock::layo
utBlock(), do NOT use for anything else. |
479 void forceLayoutInlineChildren() | 479 void forceLayoutInlineChildren() |
480 { | 480 { |
481 LayoutUnit repaintLogicalTop = 0; | 481 LayoutUnit repaintLogicalTop = 0; |
482 LayoutUnit repaintLogicalBottom = 0; | 482 LayoutUnit repaintLogicalBottom = 0; |
| 483 clearFloats(NormalLayoutPass); |
483 layoutInlineChildren(true, repaintLogicalTop, repaintLogicalBottom); | 484 layoutInlineChildren(true, repaintLogicalTop, repaintLogicalBottom); |
484 } | 485 } |
485 #endif | 486 #endif |
486 | 487 |
487 void computeInitialRegionRangeForBlock(); | 488 void computeInitialRegionRangeForBlock(); |
488 void computeRegionRangeForBlock(); | 489 void computeRegionRangeForBlock(); |
489 private: | 490 private: |
490 virtual RenderObjectChildList* virtualChildren() { return children(); } | 491 virtual RenderObjectChildList* virtualChildren() { return children(); } |
491 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 492 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
492 | 493 |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 static String string(const int value); | 1163 static String string(const int value); |
1163 }; | 1164 }; |
1164 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1165 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
1165 static String string(const RenderBlock::FloatingObject*); | 1166 static String string(const RenderBlock::FloatingObject*); |
1166 }; | 1167 }; |
1167 #endif | 1168 #endif |
1168 | 1169 |
1169 } // namespace WebCore | 1170 } // namespace WebCore |
1170 | 1171 |
1171 #endif // RenderBlock_h | 1172 #endif // RenderBlock_h |
OLD | NEW |