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 "core/dom/Element.h" | 27 #include "core/dom/Element.h" |
28 | 28 |
29 #include "CSSPropertyNames.h" | |
30 #include "CSSValueKeywords.h" | 29 #include "CSSValueKeywords.h" |
31 #include "HTMLNames.h" | |
32 #include "RuntimeEnabledFeatures.h" | 30 #include "RuntimeEnabledFeatures.h" |
33 #include "SVGNames.h" | 31 #include "SVGNames.h" |
34 #include "XMLNames.h" | 32 #include "XMLNames.h" |
35 #include "bindings/v8/ExceptionState.h" | 33 #include "bindings/v8/ExceptionState.h" |
36 #include "core/accessibility/AXObjectCache.h" | 34 #include "core/accessibility/AXObjectCache.h" |
37 #include "core/animation/DocumentTimeline.h" | 35 #include "core/animation/DocumentTimeline.h" |
38 #include "core/animation/css/CSSAnimations.h" | 36 #include "core/animation/css/CSSAnimations.h" |
39 #include "core/css/CSSParser.h" | 37 #include "core/css/CSSParser.h" |
40 #include "core/css/CSSStyleSheet.h" | 38 #include "core/css/CSSStyleSheet.h" |
41 #include "core/css/CSSValuePool.h" | 39 #include "core/css/CSSValuePool.h" |
42 #include "core/css/PropertySetCSSStyleDeclaration.h" | 40 #include "core/css/PropertySetCSSStyleDeclaration.h" |
43 #include "core/css/StylePropertySet.h" | 41 #include "core/css/StylePropertySet.h" |
44 #include "core/css/resolver/StyleResolver.h" | 42 #include "core/css/resolver/StyleResolver.h" |
45 #include "core/dom/Attr.h" | 43 #include "core/dom/Attr.h" |
46 #include "core/dom/Attribute.h" | |
47 #include "core/dom/CSSSelectorWatch.h" | 44 #include "core/dom/CSSSelectorWatch.h" |
48 #include "core/dom/ClientRect.h" | 45 #include "core/dom/ClientRect.h" |
49 #include "core/dom/ClientRectList.h" | 46 #include "core/dom/ClientRectList.h" |
50 #include "core/dom/DatasetDOMStringMap.h" | 47 #include "core/dom/DatasetDOMStringMap.h" |
51 #include "core/dom/Document.h" | |
52 #include "core/dom/DocumentSharedObjectPool.h" | 48 #include "core/dom/DocumentSharedObjectPool.h" |
53 #include "core/dom/ElementRareData.h" | 49 #include "core/dom/ElementRareData.h" |
54 #include "core/dom/ExceptionCode.h" | 50 #include "core/dom/ExceptionCode.h" |
55 #include "core/dom/FullscreenElementStack.h" | 51 #include "core/dom/FullscreenElementStack.h" |
56 #include "core/dom/MutationObserverInterestGroup.h" | 52 #include "core/dom/MutationObserverInterestGroup.h" |
57 #include "core/dom/MutationRecord.h" | 53 #include "core/dom/MutationRecord.h" |
58 #include "core/dom/NamedNodeMap.h" | 54 #include "core/dom/NamedNodeMap.h" |
59 #include "core/dom/NodeRenderStyle.h" | 55 #include "core/dom/NodeRenderStyle.h" |
60 #include "core/dom/NodeRenderingContext.h" | 56 #include "core/dom/NodeRenderingContext.h" |
61 #include "core/dom/PostAttachCallbacks.h" | 57 #include "core/dom/PostAttachCallbacks.h" |
(...skipping 3475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3537 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi
stItems | 3533 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi
stItems |
3538 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg
i?id=88405 | 3534 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg
i?id=88405 |
3539 if (hasTagName(optionTag) || hasTagName(optgroupTag)) | 3535 if (hasTagName(optionTag) || hasTagName(optgroupTag)) |
3540 return false; | 3536 return false; |
3541 if (FullscreenElementStack::isActiveFullScreenElement(this)) | 3537 if (FullscreenElementStack::isActiveFullScreenElement(this)) |
3542 return false; | 3538 return false; |
3543 return true; | 3539 return true; |
3544 } | 3540 } |
3545 | 3541 |
3546 } // namespace WebCore | 3542 } // namespace WebCore |
OLD | NEW |