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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 const DocumentType* documentTypeOther = toDocumentType(other); | 1321 const DocumentType* documentTypeOther = toDocumentType(other); |
1322 | 1322 |
1323 if (documentTypeThis->publicId() != documentTypeOther->publicId()) | 1323 if (documentTypeThis->publicId() != documentTypeOther->publicId()) |
1324 return false; | 1324 return false; |
1325 | 1325 |
1326 if (documentTypeThis->systemId() != documentTypeOther->systemId()) | 1326 if (documentTypeThis->systemId() != documentTypeOther->systemId()) |
1327 return false; | 1327 return false; |
1328 | 1328 |
1329 if (documentTypeThis->internalSubset() != documentTypeOther->internalSub
set()) | 1329 if (documentTypeThis->internalSubset() != documentTypeOther->internalSub
set()) |
1330 return false; | 1330 return false; |
1331 | |
1332 // FIXME: We don't compare entities or notations because currently both
are always empty. | |
1333 } | 1331 } |
1334 | 1332 |
1335 return true; | 1333 return true; |
1336 } | 1334 } |
1337 | 1335 |
1338 bool Node::isDefaultNamespace(const AtomicString& namespaceURIMaybeEmpty) const | 1336 bool Node::isDefaultNamespace(const AtomicString& namespaceURIMaybeEmpty) const |
1339 { | 1337 { |
1340 const AtomicString& namespaceURI = namespaceURIMaybeEmpty.isEmpty() ? nullAt
om : namespaceURIMaybeEmpty; | 1338 const AtomicString& namespaceURI = namespaceURIMaybeEmpty.isEmpty() ? nullAt
om : namespaceURIMaybeEmpty; |
1341 | 1339 |
1342 switch (nodeType()) { | 1340 switch (nodeType()) { |
(...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2560 node->showTreeForThis(); | 2558 node->showTreeForThis(); |
2561 } | 2559 } |
2562 | 2560 |
2563 void showNodePath(const WebCore::Node* node) | 2561 void showNodePath(const WebCore::Node* node) |
2564 { | 2562 { |
2565 if (node) | 2563 if (node) |
2566 node->showNodePathForThis(); | 2564 node->showNodePathForThis(); |
2567 } | 2565 } |
2568 | 2566 |
2569 #endif | 2567 #endif |
OLD | NEW |