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 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
11 * modify it under the terms of the GNU Library General Public | 11 * modify it under the terms of the GNU Library General Public |
12 * License as published by the Free Software Foundation; either | 12 * License as published by the Free Software Foundation; either |
13 * version 2 of the License, or (at your option) any later version. | 13 * version 2 of the License, or (at your option) any later version. |
14 * | 14 * |
15 * This library is distributed in the hope that it will be useful, | 15 * This library is distributed in the hope that it will be useful, |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
18 * Library General Public License for more details. | 18 * Library General Public License for more details. |
19 * | 19 * |
20 * You should have received a copy of the GNU Library General Public License | 20 * You should have received a copy of the GNU Library General Public License |
21 * along with this library; see the file COPYING.LIB. If not, write to | 21 * along with this library; see the file COPYING.LIB. If not, write to |
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "Element.h" | 27 #include "core/dom/Element.h" |
28 | 28 |
29 #include "Attr.h" | |
30 #include "ClassList.h" | 29 #include "ClassList.h" |
31 #include "ClientRect.h" | |
32 #include "ClientRectList.h" | |
33 #include "CustomElementRegistry.h" | |
34 #include "DOMTokenList.h" | 30 #include "DOMTokenList.h" |
35 #include "DatasetDOMStringMap.h" | |
36 #include "Document.h" | |
37 #include "DocumentFragment.h" | |
38 #include "DocumentSharedObjectPool.h" | |
39 #include "ElementRareData.h" | |
40 #include "ExceptionCode.h" | |
41 #include "HTMLCollection.h" | 31 #include "HTMLCollection.h" |
42 #include "HTMLDocument.h" | 32 #include "HTMLDocument.h" |
43 #include "HTMLElement.h" | 33 #include "HTMLElement.h" |
44 #include "HTMLFormControlsCollection.h" | 34 #include "HTMLFormControlsCollection.h" |
45 #include "HTMLFrameOwnerElement.h" | 35 #include "HTMLFrameOwnerElement.h" |
46 #include "HTMLLabelElement.h" | 36 #include "HTMLLabelElement.h" |
47 #include "HTMLNames.h" | 37 #include "HTMLNames.h" |
48 #include "HTMLOptionsCollection.h" | 38 #include "HTMLOptionsCollection.h" |
49 #include "HTMLParserIdioms.h" | 39 #include "HTMLParserIdioms.h" |
50 #include "HTMLTableRowsCollection.h" | 40 #include "HTMLTableRowsCollection.h" |
51 #include "InsertionPoint.h" | 41 #include "InsertionPoint.h" |
52 #include "InspectorInstrumentation.h" | 42 #include "InspectorInstrumentation.h" |
53 #include "MutationObserverInterestGroup.h" | |
54 #include "MutationRecord.h" | |
55 #include "NamedNodeMap.h" | |
56 #include "NodeList.h" | |
57 #include "NodeRenderStyle.h" | |
58 #include "NodeRenderingContext.h" | |
59 #include "NodeTraversal.h" | |
60 #include "PseudoElement.h" | |
61 #include "SelectorQuery.h" | |
62 #include "ShadowRoot.h" | |
63 #include "Text.h" | |
64 #include "VoidCallback.h" | 43 #include "VoidCallback.h" |
65 #include "WebCoreMemoryInstrumentation.h" | |
66 #include "XMLNSNames.h" | 44 #include "XMLNSNames.h" |
67 #include "XMLNames.h" | 45 #include "XMLNames.h" |
68 #include "core/accessibility/AXObjectCache.h" | 46 #include "core/accessibility/AXObjectCache.h" |
69 #include "core/css/CSSParser.h" | 47 #include "core/css/CSSParser.h" |
70 #include "core/css/CSSSelectorList.h" | 48 #include "core/css/CSSSelectorList.h" |
71 #include "core/css/StylePropertySet.h" | 49 #include "core/css/StylePropertySet.h" |
72 #include "core/css/StyleResolver.h" | 50 #include "core/css/StyleResolver.h" |
| 51 #include "core/dom/Attr.h" |
| 52 #include "core/dom/ClientRect.h" |
| 53 #include "core/dom/ClientRectList.h" |
| 54 #include "core/dom/CustomElementRegistry.h" |
| 55 #include "core/dom/DatasetDOMStringMap.h" |
| 56 #include "core/dom/Document.h" |
| 57 #include "core/dom/DocumentFragment.h" |
| 58 #include "core/dom/DocumentSharedObjectPool.h" |
| 59 #include "core/dom/ElementRareData.h" |
| 60 #include "core/dom/ExceptionCode.h" |
| 61 #include "core/dom/MutationObserverInterestGroup.h" |
| 62 #include "core/dom/MutationRecord.h" |
| 63 #include "core/dom/NamedNodeMap.h" |
| 64 #include "core/dom/NodeList.h" |
| 65 #include "core/dom/NodeRenderStyle.h" |
| 66 #include "core/dom/NodeRenderingContext.h" |
| 67 #include "core/dom/NodeTraversal.h" |
| 68 #include "core/dom/PseudoElement.h" |
| 69 #include "core/dom/SelectorQuery.h" |
| 70 #include "core/dom/ShadowRoot.h" |
| 71 #include "core/dom/Text.h" |
| 72 #include "core/dom/WebCoreMemoryInstrumentation.h" |
73 #include "core/editing/FrameSelection.h" | 73 #include "core/editing/FrameSelection.h" |
74 #include "core/editing/TextIterator.h" | 74 #include "core/editing/TextIterator.h" |
75 #include "core/editing/htmlediting.h" | 75 #include "core/editing/htmlediting.h" |
76 #include "core/page/FocusController.h" | 76 #include "core/page/FocusController.h" |
77 #include "core/page/Frame.h" | 77 #include "core/page/Frame.h" |
78 #include "core/page/FrameView.h" | 78 #include "core/page/FrameView.h" |
79 #include "core/page/Page.h" | 79 #include "core/page/Page.h" |
80 #include "core/page/PointerLockController.h" | 80 #include "core/page/PointerLockController.h" |
81 #include "core/page/Settings.h" | 81 #include "core/page/Settings.h" |
82 #include "core/rendering/FlowThreadController.h" | 82 #include "core/rendering/FlowThreadController.h" |
(...skipping 3030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3113 return 0; | 3113 return 0; |
3114 } | 3114 } |
3115 | 3115 |
3116 Attribute* UniqueElementData::attributeItem(unsigned index) | 3116 Attribute* UniqueElementData::attributeItem(unsigned index) |
3117 { | 3117 { |
3118 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3118 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
3119 return &m_attributeVector.at(index); | 3119 return &m_attributeVector.at(index); |
3120 } | 3120 } |
3121 | 3121 |
3122 } // namespace WebCore | 3122 } // namespace WebCore |
OLD | NEW |