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 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 5 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
6 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
7 * Copyright (C) 2010 Google Inc. All rights reserved. | 7 * Copyright (C) 2010 Google Inc. All rights reserved. |
8 * Copyright (C) 2011 Motorola Mobility, Inc. All rights reserved. | 8 * Copyright (C) 2011 Motorola Mobility, Inc. All rights reserved. |
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 |
(...skipping 11 matching lines...) Expand all Loading... |
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 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 #include "core/html/HTMLOptionElement.h" | 28 #include "core/html/HTMLOptionElement.h" |
29 | 29 |
30 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
31 #include "core/css/resolver/StyleResolver.h" | 31 #include "core/css/resolver/StyleResolver.h" |
32 #include "core/dom/Attribute.h" | |
33 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
34 #include "core/dom/ExceptionCode.h" | |
35 #include "core/dom/NodeRenderStyle.h" | 33 #include "core/dom/NodeRenderStyle.h" |
36 #include "core/dom/NodeRenderingContext.h" | |
37 #include "core/dom/NodeTraversal.h" | 34 #include "core/dom/NodeTraversal.h" |
38 #include "core/dom/ScriptElement.h" | 35 #include "core/dom/ScriptElement.h" |
39 #include "core/dom/Text.h" | 36 #include "core/dom/Text.h" |
40 #include "core/html/HTMLDataListElement.h" | 37 #include "core/html/HTMLDataListElement.h" |
41 #include "core/html/HTMLSelectElement.h" | 38 #include "core/html/HTMLSelectElement.h" |
42 #include "core/html/parser/HTMLParserIdioms.h" | 39 #include "core/html/parser/HTMLParserIdioms.h" |
43 #include "core/rendering/RenderMenuList.h" | |
44 #include "core/rendering/RenderTheme.h" | 40 #include "core/rendering/RenderTheme.h" |
45 #include <wtf/StdLibExtras.h> | 41 #include <wtf/StdLibExtras.h> |
46 #include <wtf/text/StringBuilder.h> | 42 #include <wtf/text/StringBuilder.h> |
47 #include <wtf/Vector.h> | 43 #include <wtf/Vector.h> |
48 | 44 |
49 namespace WebCore { | 45 namespace WebCore { |
50 | 46 |
51 using namespace HTMLNames; | 47 using namespace HTMLNames; |
52 | 48 |
53 HTMLOptionElement::HTMLOptionElement(const QualifiedName& tagName, Document* doc
ument) | 49 HTMLOptionElement::HTMLOptionElement(const QualifiedName& tagName, Document* doc
ument) |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 | 406 |
411 const HTMLOptionElement* toHTMLOptionElement(const Node* node) | 407 const HTMLOptionElement* toHTMLOptionElement(const Node* node) |
412 { | 408 { |
413 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(optionTag)); | 409 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(optionTag)); |
414 return static_cast<const HTMLOptionElement*>(node); | 410 return static_cast<const HTMLOptionElement*>(node); |
415 } | 411 } |
416 | 412 |
417 #endif | 413 #endif |
418 | 414 |
419 } // namespace | 415 } // namespace |
OLD | NEW |