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 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 if (inActiveChain()) | 997 if (inActiveChain()) |
998 doc.activeChainNodeDetached(this); | 998 doc.activeChainNodeDetached(this); |
999 doc.userActionElements().didDetach(this); | 999 doc.userActionElements().didDetach(this); |
1000 } | 1000 } |
1001 } | 1001 } |
1002 | 1002 |
1003 setStyleChange(NeedsReattachStyleChange); | 1003 setStyleChange(NeedsReattachStyleChange); |
1004 setChildNeedsStyleRecalc(); | 1004 setChildNeedsStyleRecalc(); |
1005 | 1005 |
1006 if (StyleResolver* resolver = document().styleResolver()) | 1006 if (StyleResolver* resolver = document().styleResolver()) |
1007 resolver->ruleFeatureSet().clearStyleInvalidation(this); | 1007 resolver->ruleFeatureSet().styleInvalidator().clearInvalidation(*this); |
1008 | 1008 |
1009 #ifndef NDEBUG | 1009 #ifndef NDEBUG |
1010 detachingNode = 0; | 1010 detachingNode = 0; |
1011 #endif | 1011 #endif |
1012 } | 1012 } |
1013 | 1013 |
1014 void Node::reattachWhitespaceSiblings(Text* start) | 1014 void Node::reattachWhitespaceSiblings(Text* start) |
1015 { | 1015 { |
1016 for (Node* sibling = start; sibling; sibling = sibling->nextSibling()) { | 1016 for (Node* sibling = start; sibling; sibling = sibling->nextSibling()) { |
1017 if (sibling->isTextNode() && toText(sibling)->containsOnlyWhitespace())
{ | 1017 if (sibling->isTextNode() && toText(sibling)->containsOnlyWhitespace())
{ |
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2524 node->showTreeForThis(); | 2524 node->showTreeForThis(); |
2525 } | 2525 } |
2526 | 2526 |
2527 void showNodePath(const WebCore::Node* node) | 2527 void showNodePath(const WebCore::Node* node) |
2528 { | 2528 { |
2529 if (node) | 2529 if (node) |
2530 node->showNodePathForThis(); | 2530 node->showNodePathForThis(); |
2531 } | 2531 } |
2532 | 2532 |
2533 #endif | 2533 #endif |
OLD | NEW |