| 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, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 // the node's rendering object from the rendering tree and delete it. | 558 // the node's rendering object from the rendering tree and delete it. |
| 559 virtual void detach(const AttachContext& = AttachContext()); | 559 virtual void detach(const AttachContext& = AttachContext()); |
| 560 | 560 |
| 561 #ifndef NDEBUG | 561 #ifndef NDEBUG |
| 562 bool inDetach() const; | 562 bool inDetach() const; |
| 563 #endif | 563 #endif |
| 564 | 564 |
| 565 void reattach(const AttachContext& = AttachContext()); | 565 void reattach(const AttachContext& = AttachContext()); |
| 566 void lazyReattachIfAttached(); | 566 void lazyReattachIfAttached(); |
| 567 ContainerNode* parentNodeForRenderingAndStyle(); | 567 ContainerNode* parentNodeForRenderingAndStyle(); |
| 568 | 568 |
| 569 void reattachWhitespaceSiblings() const; |
| 570 |
| 569 // Wrapper for nodes that don't have a renderer, but still cache the style (
like HTMLOptionElement). | 571 // Wrapper for nodes that don't have a renderer, but still cache the style (
like HTMLOptionElement). |
| 570 RenderStyle* renderStyle() const; | 572 RenderStyle* renderStyle() const; |
| 571 | 573 |
| 572 RenderStyle* computedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { ret
urn virtualComputedStyle(pseudoElementSpecifier); } | 574 RenderStyle* computedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { ret
urn virtualComputedStyle(pseudoElementSpecifier); } |
| 573 | 575 |
| 574 // -------------------------------------------------------------------------
---- | 576 // -------------------------------------------------------------------------
---- |
| 575 // Notification of document structure changes (see ContainerNode.h for more
notification methods) | 577 // Notification of document structure changes (see ContainerNode.h for more
notification methods) |
| 576 // | 578 // |
| 577 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also | 579 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also |
| 578 // when a node is added through the DOM methods insertBefore(), appendChild(
) or replaceChild(). The call happens _after_ the node has been added to the tre
e. | 580 // when a node is added through the DOM methods insertBefore(), appendChild(
) or replaceChild(). The call happens _after_ the node has been added to the tre
e. |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 | 940 |
| 939 } //namespace | 941 } //namespace |
| 940 | 942 |
| 941 #ifndef NDEBUG | 943 #ifndef NDEBUG |
| 942 // Outside the WebCore namespace for ease of invocation from gdb. | 944 // Outside the WebCore namespace for ease of invocation from gdb. |
| 943 void showTree(const WebCore::Node*); | 945 void showTree(const WebCore::Node*); |
| 944 void showNodePath(const WebCore::Node*); | 946 void showNodePath(const WebCore::Node*); |
| 945 #endif | 947 #endif |
| 946 | 948 |
| 947 #endif | 949 #endif |
| OLD | NEW |