| 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) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 doc.activeChainNodeDetached(this); | 1015 doc.activeChainNodeDetached(this); |
| 1016 doc.userActionElements().didDetach(this); | 1016 doc.userActionElements().didDetach(this); |
| 1017 } | 1017 } |
| 1018 } | 1018 } |
| 1019 | 1019 |
| 1020 setStyleChange(NeedsReattachStyleChange); | 1020 setStyleChange(NeedsReattachStyleChange); |
| 1021 setChildNeedsStyleRecalc(); | 1021 setChildNeedsStyleRecalc(); |
| 1022 | 1022 |
| 1023 if (StyleResolver* resolver = document().styleResolver()) | 1023 if (StyleResolver* resolver = document().styleResolver()) |
| 1024 resolver->ruleFeatureSet().styleInvalidator().clearInvalidation(*this); | 1024 resolver->ruleFeatureSet().styleInvalidator().clearInvalidation(*this); |
| 1025 clearChildNeedsStyleInvalidation(); |
| 1026 clearNeedsStyleInvalidation(); |
| 1025 | 1027 |
| 1026 #ifndef NDEBUG | 1028 #ifndef NDEBUG |
| 1027 detachingNode = 0; | 1029 detachingNode = 0; |
| 1028 #endif | 1030 #endif |
| 1029 } | 1031 } |
| 1030 | 1032 |
| 1031 void Node::reattachWhitespaceSiblings(Text* start) | 1033 void Node::reattachWhitespaceSiblings(Text* start) |
| 1032 { | 1034 { |
| 1033 for (Node* sibling = start; sibling; sibling = sibling->nextSibling()) { | 1035 for (Node* sibling = start; sibling; sibling = sibling->nextSibling()) { |
| 1034 if (sibling->isTextNode() && toText(sibling)->containsOnlyWhitespace())
{ | 1036 if (sibling->isTextNode() && toText(sibling)->containsOnlyWhitespace())
{ |
| (...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2584 node->showTreeForThis(); | 2586 node->showTreeForThis(); |
| 2585 } | 2587 } |
| 2586 | 2588 |
| 2587 void showNodePath(const WebCore::Node* node) | 2589 void showNodePath(const WebCore::Node* node) |
| 2588 { | 2590 { |
| 2589 if (node) | 2591 if (node) |
| 2590 node->showNodePathForThis(); | 2592 node->showNodePathForThis(); |
| 2591 } | 2593 } |
| 2592 | 2594 |
| 2593 #endif | 2595 #endif |
| OLD | NEW |