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 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 RenderBlock* block = createAnonymousBlock(); | 1005 RenderBlock* block = createAnonymousBlock(); |
1006 children()->insertChildNode(this, block, inlineRunStart); | 1006 children()->insertChildNode(this, block, inlineRunStart); |
1007 moveChildrenTo(block, inlineRunStart, child); | 1007 moveChildrenTo(block, inlineRunStart, child); |
1008 } | 1008 } |
1009 | 1009 |
1010 #if ENABLE(ASSERT) | 1010 #if ENABLE(ASSERT) |
1011 for (RenderObject *c = firstChild(); c; c = c->nextSibling()) | 1011 for (RenderObject *c = firstChild(); c; c = c->nextSibling()) |
1012 ASSERT(!c->isInline()); | 1012 ASSERT(!c->isInline()); |
1013 #endif | 1013 #endif |
1014 | 1014 |
1015 paintInvalidationForWholeRenderer(); | 1015 setShouldDoFullPaintInvalidation(true); |
1016 } | 1016 } |
1017 | 1017 |
1018 void RenderBlock::removeLeftoverAnonymousBlock(RenderBlock* child) | 1018 void RenderBlock::removeLeftoverAnonymousBlock(RenderBlock* child) |
1019 { | 1019 { |
1020 ASSERT(child->isAnonymousBlock()); | 1020 ASSERT(child->isAnonymousBlock()); |
1021 ASSERT(!child->childrenInline()); | 1021 ASSERT(!child->childrenInline()); |
1022 | 1022 |
1023 if (child->continuation() || (child->firstChild() && (child->isAnonymousColu
mnSpanBlock() || child->isAnonymousColumnsBlock()))) | 1023 if (child->continuation() || (child->firstChild() && (child->isAnonymousColu
mnSpanBlock() || child->isAnonymousColumnsBlock()))) |
1024 return; | 1024 return; |
1025 | 1025 |
(...skipping 3806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4832 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const | 4832 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const |
4833 { | 4833 { |
4834 showRenderObject(); | 4834 showRenderObject(); |
4835 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) | 4835 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) |
4836 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); | 4836 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); |
4837 } | 4837 } |
4838 | 4838 |
4839 #endif | 4839 #endif |
4840 | 4840 |
4841 } // namespace blink | 4841 } // namespace blink |
OLD | NEW |