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 * Copyright (C) 2011 Google Inc. All rights reserved. | 7 * Copyright (C) 2011 Google Inc. All rights reserved. |
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 InsertionPoint* insertionPoint() const; | 61 InsertionPoint* insertionPoint() const; |
62 | 62 |
63 const RenderStyle* style() const; | 63 const RenderStyle* style() const; |
64 | 64 |
65 bool isOnUpperEncapsulationBoundary() const; | 65 bool isOnUpperEncapsulationBoundary() const; |
66 bool isOnEncapsulationBoundary() const; | 66 bool isOnEncapsulationBoundary() const; |
67 | 67 |
68 private: | 68 private: |
69 bool shouldCreateRenderer() const; | 69 bool shouldCreateRenderer() const; |
70 void moveToFlowThreadIfNeeded(); | 70 void moveToFlowThreadIfNeeded(); |
| 71 bool elementInsideRegionNeedsRenderer(); |
71 | 72 |
72 Node* m_node; | 73 Node* m_node; |
73 ContainerNode* m_renderingParent; | 74 ContainerNode* m_renderingParent; |
74 NodeRenderingTraversal::ParentDetails m_parentDetails; | 75 NodeRenderingTraversal::ParentDetails m_parentDetails; |
75 RefPtr<RenderStyle> m_style; | 76 RefPtr<RenderStyle> m_style; |
76 RenderNamedFlowThread* m_parentFlowRenderer; | 77 RenderNamedFlowThread* m_parentFlowRenderer; |
77 AtomicString m_flowThread; | 78 AtomicString m_flowThread; |
78 }; | 79 }; |
79 | 80 |
80 inline Node* NodeRenderingContext::node() const | 81 inline Node* NodeRenderingContext::node() const |
(...skipping 17 matching lines...) Expand all Loading... |
98 } | 99 } |
99 | 100 |
100 inline InsertionPoint* NodeRenderingContext::insertionPoint() const | 101 inline InsertionPoint* NodeRenderingContext::insertionPoint() const |
101 { | 102 { |
102 return m_parentDetails.insertionPoint(); | 103 return m_parentDetails.insertionPoint(); |
103 } | 104 } |
104 | 105 |
105 } // namespace WebCore | 106 } // namespace WebCore |
106 | 107 |
107 #endif | 108 #endif |
OLD | NEW |