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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 void addVisualOverflowFromTheme(); | 437 void addVisualOverflowFromTheme(); |
438 | 438 |
439 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint&); | 439 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint&); |
440 | 440 |
441 #if ENABLE(SVG) | 441 #if ENABLE(SVG) |
442 // Only used by RenderSVGText, which explicitely overrides RenderBlock::layo
utBlock(), do NOT use for anything else. | 442 // Only used by RenderSVGText, which explicitely overrides RenderBlock::layo
utBlock(), do NOT use for anything else. |
443 void forceLayoutInlineChildren() | 443 void forceLayoutInlineChildren() |
444 { | 444 { |
445 LayoutUnit repaintLogicalTop = 0; | 445 LayoutUnit repaintLogicalTop = 0; |
446 LayoutUnit repaintLogicalBottom = 0; | 446 LayoutUnit repaintLogicalBottom = 0; |
| 447 clearFloats(NormalLayoutPass); |
447 layoutInlineChildren(true, repaintLogicalTop, repaintLogicalBottom); | 448 layoutInlineChildren(true, repaintLogicalTop, repaintLogicalBottom); |
448 } | 449 } |
449 #endif | 450 #endif |
450 | 451 |
451 void computeInitialRegionRangeForBlock(); | 452 void computeInitialRegionRangeForBlock(); |
452 void computeRegionRangeForBlock(); | 453 void computeRegionRangeForBlock(); |
453 private: | 454 private: |
454 virtual RenderObjectChildList* virtualChildren() { return children(); } | 455 virtual RenderObjectChildList* virtualChildren() { return children(); } |
455 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 456 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
456 | 457 |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1107 static String string(const int value); | 1108 static String string(const int value); |
1108 }; | 1109 }; |
1109 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1110 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
1110 static String string(const RenderBlock::FloatingObject*); | 1111 static String string(const RenderBlock::FloatingObject*); |
1111 }; | 1112 }; |
1112 #endif | 1113 #endif |
1113 | 1114 |
1114 } // namespace WebCore | 1115 } // namespace WebCore |
1115 | 1116 |
1116 #endif // RenderBlock_h | 1117 #endif // RenderBlock_h |
OLD | NEW |