| 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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 void LayoutBlock::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& p
aintOffset) const | 826 void LayoutBlock::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& p
aintOffset) const |
| 827 { | 827 { |
| 828 BlockPainter(*this).paintChildren(paintInfo, paintOffset); | 828 BlockPainter(*this).paintChildren(paintInfo, paintOffset); |
| 829 } | 829 } |
| 830 | 830 |
| 831 void LayoutBlock::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pai
ntOffset) const | 831 void LayoutBlock::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pai
ntOffset) const |
| 832 { | 832 { |
| 833 BlockPainter(*this).paintObject(paintInfo, paintOffset); | 833 BlockPainter(*this).paintObject(paintInfo, paintOffset); |
| 834 } | 834 } |
| 835 | 835 |
| 836 void LayoutBlock::paintContentsAndFloats(const PaintInfo& paintInfo, const Layou
tPoint& paintOffset) const |
| 837 { |
| 838 BlockPainter(*this).paintContents(paintInfo, paintOffset); |
| 839 } |
| 840 |
| 836 bool LayoutBlock::isSelectionRoot() const | 841 bool LayoutBlock::isSelectionRoot() const |
| 837 { | 842 { |
| 838 if (isPseudoElement()) | 843 if (isPseudoElement()) |
| 839 return false; | 844 return false; |
| 840 ASSERT(node() || isAnonymous()); | 845 ASSERT(node() || isAnonymous()); |
| 841 | 846 |
| 842 // FIXME: Eventually tables should have to learn how to fill gaps between ce
lls, at least in simple non-spanning cases. | 847 // FIXME: Eventually tables should have to learn how to fill gaps between ce
lls, at least in simple non-spanning cases. |
| 843 if (isTable()) | 848 if (isTable()) |
| 844 return false; | 849 return false; |
| 845 | 850 |
| (...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1921 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda
ntSet->begin(); it != end; ++it) { | 1926 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda
ntSet->begin(); it != end; ++it) { |
| 1922 LayoutBox* currBox = *it; | 1927 LayoutBox* currBox = *it; |
| 1923 ASSERT(!currBox->needsLayout()); | 1928 ASSERT(!currBox->needsLayout()); |
| 1924 } | 1929 } |
| 1925 } | 1930 } |
| 1926 } | 1931 } |
| 1927 | 1932 |
| 1928 #endif | 1933 #endif |
| 1929 | 1934 |
| 1930 } // namespace blink | 1935 } // namespace blink |
| OLD | NEW |