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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "core/dom/ElementRareData.h" | 46 #include "core/dom/ElementRareData.h" |
47 #include "core/dom/ElementTraversal.h" | 47 #include "core/dom/ElementTraversal.h" |
48 #include "core/dom/ExceptionCode.h" | 48 #include "core/dom/ExceptionCode.h" |
49 #include "core/dom/LayoutTreeBuilderTraversal.h" | 49 #include "core/dom/LayoutTreeBuilderTraversal.h" |
50 #include "core/dom/LiveNodeList.h" | 50 #include "core/dom/LiveNodeList.h" |
51 #include "core/dom/NodeRareData.h" | 51 #include "core/dom/NodeRareData.h" |
52 #include "core/dom/NodeTraversal.h" | 52 #include "core/dom/NodeTraversal.h" |
53 #include "core/dom/ProcessingInstruction.h" | 53 #include "core/dom/ProcessingInstruction.h" |
54 #include "core/dom/Range.h" | 54 #include "core/dom/Range.h" |
55 #include "core/dom/StaticNodeList.h" | 55 #include "core/dom/StaticNodeList.h" |
| 56 #include "core/dom/StyleEngine.h" |
56 #include "core/dom/TemplateContentDocumentFragment.h" | 57 #include "core/dom/TemplateContentDocumentFragment.h" |
57 #include "core/dom/Text.h" | 58 #include "core/dom/Text.h" |
58 #include "core/dom/TreeScopeAdopter.h" | 59 #include "core/dom/TreeScopeAdopter.h" |
59 #include "core/dom/UserActionElementSet.h" | 60 #include "core/dom/UserActionElementSet.h" |
60 #include "core/dom/shadow/ComposedTreeTraversal.h" | 61 #include "core/dom/shadow/ComposedTreeTraversal.h" |
61 #include "core/dom/shadow/ElementShadow.h" | 62 #include "core/dom/shadow/ElementShadow.h" |
62 #include "core/dom/shadow/InsertionPoint.h" | 63 #include "core/dom/shadow/InsertionPoint.h" |
63 #include "core/dom/shadow/ShadowRoot.h" | 64 #include "core/dom/shadow/ShadowRoot.h" |
64 #include "core/editing/htmlediting.h" | 65 #include "core/editing/htmlediting.h" |
65 #include "core/editing/markup.h" | 66 #include "core/editing/markup.h" |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 doc.hoveredNodeDetached(this); | 975 doc.hoveredNodeDetached(this); |
975 if (inActiveChain()) | 976 if (inActiveChain()) |
976 doc.activeChainNodeDetached(this); | 977 doc.activeChainNodeDetached(this); |
977 doc.userActionElements().didDetach(this); | 978 doc.userActionElements().didDetach(this); |
978 } | 979 } |
979 } | 980 } |
980 | 981 |
981 setStyleChange(NeedsReattachStyleChange); | 982 setStyleChange(NeedsReattachStyleChange); |
982 setChildNeedsStyleRecalc(); | 983 setChildNeedsStyleRecalc(); |
983 | 984 |
984 if (StyleResolver* resolver = document().styleResolver()) | 985 document().styleEngine().styleInvalidator().clearInvalidation(*this); |
985 resolver->ruleFeatureSet().styleInvalidator().clearInvalidation(*this); | |
986 clearChildNeedsStyleInvalidation(); | 986 clearChildNeedsStyleInvalidation(); |
987 clearNeedsStyleInvalidation(); | 987 clearNeedsStyleInvalidation(); |
988 | 988 |
989 #if ENABLE(ASSERT) | 989 #if ENABLE(ASSERT) |
990 detachingNode = nullptr; | 990 detachingNode = nullptr; |
991 #endif | 991 #endif |
992 } | 992 } |
993 | 993 |
994 void Node::reattachWhitespaceSiblingsIfNeeded(Text* start) | 994 void Node::reattachWhitespaceSiblingsIfNeeded(Text* start) |
995 { | 995 { |
(...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2501 node->showTreeForThis(); | 2501 node->showTreeForThis(); |
2502 } | 2502 } |
2503 | 2503 |
2504 void showNodePath(const blink::Node* node) | 2504 void showNodePath(const blink::Node* node) |
2505 { | 2505 { |
2506 if (node) | 2506 if (node) |
2507 node->showNodePathForThis(); | 2507 node->showNodePathForThis(); |
2508 } | 2508 } |
2509 | 2509 |
2510 #endif | 2510 #endif |
OLD | NEW |