| 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 // Unnamed HTMLCollection types cached in elements. | 43 // Unnamed HTMLCollection types cached in elements. |
| 44 NodeChildren, // first-level children (IE) | 44 NodeChildren, // first-level children (IE) |
| 45 TableTBodies, // all <tbody> elements in this table | 45 TableTBodies, // all <tbody> elements in this table |
| 46 TSectionRows, // all row elements in this table section | 46 TSectionRows, // all row elements in this table section |
| 47 TableRows, | 47 TableRows, |
| 48 TRCells, // all cells in this row | 48 TRCells, // all cells in this row |
| 49 SelectOptions, | 49 SelectOptions, |
| 50 SelectedOptions, | 50 SelectedOptions, |
| 51 DataListOptions, | 51 DataListOptions, |
| 52 MapAreas, | 52 MapAreas, |
| 53 #if ENABLE(MICRODATA) | |
| 54 ItemProperties, // Microdata item properties in the document | |
| 55 #endif | |
| 56 FormControls, | 53 FormControls, |
| 57 | 54 |
| 58 // Live NodeList. | 55 // Live NodeList. |
| 59 ChildNodeListType, | 56 ChildNodeListType, |
| 60 ClassNodeListType, | 57 ClassNodeListType, |
| 61 NameNodeListType, | 58 NameNodeListType, |
| 62 TagNodeListType, | 59 TagNodeListType, |
| 63 HTMLTagNodeListType, | 60 HTMLTagNodeListType, |
| 64 RadioNodeListType, | 61 RadioNodeListType, |
| 65 LabelsNodeListType, | 62 LabelsNodeListType, |
| 66 MicroDataItemListType, | |
| 67 PropertyNodeListType, | |
| 68 }; | 63 }; |
| 69 | 64 |
| 70 static const CollectionType FirstNodeListType = ChildNodeListType; | 65 static const CollectionType FirstNodeListType = ChildNodeListType; |
| 71 | 66 |
| 72 inline bool isNodeList(CollectionType type) | 67 inline bool isNodeList(CollectionType type) |
| 73 { | 68 { |
| 74 return type >= FirstNodeListType; | 69 return type >= FirstNodeListType; |
| 75 } | 70 } |
| 76 | 71 |
| 77 } // namespace | 72 } // namespace |
| 78 | 73 |
| 79 #endif | 74 #endif |
| OLD | NEW |