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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 // the node's rendering object from the rendering tree and delete it. | 554 // the node's rendering object from the rendering tree and delete it. |
555 virtual void detach(const AttachContext& = AttachContext()); | 555 virtual void detach(const AttachContext& = AttachContext()); |
556 | 556 |
557 #ifndef NDEBUG | 557 #ifndef NDEBUG |
558 bool inDetach() const; | 558 bool inDetach() const; |
559 #endif | 559 #endif |
560 | 560 |
561 void reattach(const AttachContext& = AttachContext()); | 561 void reattach(const AttachContext& = AttachContext()); |
562 void lazyReattachIfAttached(); | 562 void lazyReattachIfAttached(); |
563 | 563 |
| 564 void reattachWhitespaceSiblings() const; |
| 565 |
564 // Wrapper for nodes that don't have a renderer, but still cache the style (
like HTMLOptionElement). | 566 // Wrapper for nodes that don't have a renderer, but still cache the style (
like HTMLOptionElement). |
565 RenderStyle* renderStyle() const; | 567 RenderStyle* renderStyle() const; |
566 RenderStyle* parentRenderStyle() const; | 568 RenderStyle* parentRenderStyle() const; |
567 | 569 |
568 RenderStyle* computedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { ret
urn virtualComputedStyle(pseudoElementSpecifier); } | 570 RenderStyle* computedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { ret
urn virtualComputedStyle(pseudoElementSpecifier); } |
569 | 571 |
570 // -------------------------------------------------------------------------
---- | 572 // -------------------------------------------------------------------------
---- |
571 // Notification of document structure changes (see ContainerNode.h for more
notification methods) | 573 // Notification of document structure changes (see ContainerNode.h for more
notification methods) |
572 // | 574 // |
573 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also | 575 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 | 943 |
942 } // namespace WebCore | 944 } // namespace WebCore |
943 | 945 |
944 #ifndef NDEBUG | 946 #ifndef NDEBUG |
945 // Outside the WebCore namespace for ease of invocation from gdb. | 947 // Outside the WebCore namespace for ease of invocation from gdb. |
946 void showTree(const WebCore::Node*); | 948 void showTree(const WebCore::Node*); |
947 void showNodePath(const WebCore::Node*); | 949 void showNodePath(const WebCore::Node*); |
948 #endif | 950 #endif |
949 | 951 |
950 #endif | 952 #endif |
OLD | NEW |