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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1003 RenderBlock* block = createAnonymousBlock(); | 1003 RenderBlock* block = createAnonymousBlock(); |
1004 children()->insertChildNode(this, block, inlineRunStart); | 1004 children()->insertChildNode(this, block, inlineRunStart); |
1005 moveChildrenTo(block, inlineRunStart, child); | 1005 moveChildrenTo(block, inlineRunStart, child); |
1006 } | 1006 } |
1007 | 1007 |
1008 #ifndef NDEBUG | 1008 #ifndef NDEBUG |
1009 for (RenderObject *c = firstChild(); c; c = c->nextSibling()) | 1009 for (RenderObject *c = firstChild(); c; c = c->nextSibling()) |
1010 ASSERT(!c->isInline()); | 1010 ASSERT(!c->isInline()); |
1011 #endif | 1011 #endif |
1012 | 1012 |
1013 repaint(); | 1013 paintInvalidationForWholeRenderer(); |
1014 } | 1014 } |
1015 | 1015 |
1016 void RenderBlock::removeLeftoverAnonymousBlock(RenderBlock* child) | 1016 void RenderBlock::removeLeftoverAnonymousBlock(RenderBlock* child) |
1017 { | 1017 { |
1018 ASSERT(child->isAnonymousBlock()); | 1018 ASSERT(child->isAnonymousBlock()); |
1019 ASSERT(!child->childrenInline()); | 1019 ASSERT(!child->childrenInline()); |
1020 | 1020 |
1021 if (child->continuation() || (child->firstChild() && (child->isAnonymousColu
mnSpanBlock() || child->isAnonymousColumnsBlock()))) | 1021 if (child->continuation() || (child->firstChild() && (child->isAnonymousColu
mnSpanBlock() || child->isAnonymousColumnsBlock()))) |
1022 return; | 1022 return; |
1023 | 1023 |
(...skipping 4023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5047 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const | 5047 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const |
5048 { | 5048 { |
5049 showRenderObject(); | 5049 showRenderObject(); |
5050 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) | 5050 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) |
5051 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); | 5051 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); |
5052 } | 5052 } |
5053 | 5053 |
5054 #endif | 5054 #endif |
5055 | 5055 |
5056 } // namespace WebCore | 5056 } // namespace WebCore |
OLD | NEW |