| 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 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1297 | 1297 | 
| 1298     if (parent->isShadowRoot()) | 1298     if (parent->isShadowRoot()) | 
| 1299         return toShadowRoot(parent)->host(); | 1299         return toShadowRoot(parent)->host(); | 
| 1300 | 1300 | 
| 1301     if (!parent->isElementNode()) | 1301     if (!parent->isElementNode()) | 
| 1302         return 0; | 1302         return 0; | 
| 1303 | 1303 | 
| 1304     return toElement(parent); | 1304     return toElement(parent); | 
| 1305 } | 1305 } | 
| 1306 | 1306 | 
| 1307 bool Node::needsShadowTreeWalkerSlow() const |  | 
| 1308 { |  | 
| 1309     return (isShadowRoot() || (isElementNode() && (isInsertionPoint() || isPseud
      oElement() || toElement(this)->hasPseudoElements() || toElement(this)->shadow())
      )); |  | 
| 1310 } |  | 
| 1311 |  | 
| 1312 bool Node::isBlockFlowElement() const | 1307 bool Node::isBlockFlowElement() const | 
| 1313 { | 1308 { | 
| 1314     return isElementNode() && renderer() && renderer()->isBlockFlow(); | 1309     return isElementNode() && renderer() && renderer()->isBlockFlow(); | 
| 1315 } | 1310 } | 
| 1316 | 1311 | 
| 1317 Element *Node::enclosingBlockFlowElement() const | 1312 Element *Node::enclosingBlockFlowElement() const | 
| 1318 { | 1313 { | 
| 1319     Node *n = const_cast<Node *>(this); | 1314     Node *n = const_cast<Node *>(this); | 
| 1320     if (isBlockFlowElement()) | 1315     if (isBlockFlowElement()) | 
| 1321         return toElement(n); | 1316         return toElement(n); | 
| (...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2785         node->showTreeForThis(); | 2780         node->showTreeForThis(); | 
| 2786 } | 2781 } | 
| 2787 | 2782 | 
| 2788 void showNodePath(const WebCore::Node* node) | 2783 void showNodePath(const WebCore::Node* node) | 
| 2789 { | 2784 { | 
| 2790     if (node) | 2785     if (node) | 
| 2791         node->showNodePathForThis(); | 2786         node->showNodePathForThis(); | 
| 2792 } | 2787 } | 
| 2793 | 2788 | 
| 2794 #endif | 2789 #endif | 
| OLD | NEW | 
|---|