OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
(...skipping 11 matching lines...) Expand all Loading... |
22 * | 22 * |
23 * You should have received a copy of the GNU Library General Public License | 23 * You should have received a copy of the GNU Library General Public License |
24 * along with this library; see the file COPYING.LIB. If not, write to | 24 * along with this library; see the file COPYING.LIB. If not, write to |
25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
26 * Boston, MA 02110-1301, USA. | 26 * Boston, MA 02110-1301, USA. |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "core/css/resolver/StyleAdjuster.h" | 30 #include "core/css/resolver/StyleAdjuster.h" |
31 | 31 |
32 // FIXME: This include list is way more than we need! | |
33 #include "CSSPropertyNames.h" | |
34 #include "HTMLNames.h" | 32 #include "HTMLNames.h" |
35 #include "RuntimeEnabledFeatures.h" | |
36 #include "SVGNames.h" | 33 #include "SVGNames.h" |
37 #include "XMLNames.h" | 34 #include "core/dom/ContainerNode.h" |
38 #include "core/animation/AnimatableValue.h" | 35 #include "core/dom/Document.h" |
39 #include "core/animation/Animation.h" | 36 #include "core/dom/Element.h" |
40 #include "core/css/CSSCalculationValue.h" | |
41 #include "core/css/CSSCursorImageValue.h" | |
42 #include "core/css/CSSDefaultStyleSheets.h" | |
43 #include "core/css/CSSFontSelector.h" | |
44 #include "core/css/CSSImageSetValue.h" | |
45 #include "core/css/CSSKeyframeRule.h" | |
46 #include "core/css/CSSKeyframesRule.h" | |
47 #include "core/css/CSSLineBoxContainValue.h" | |
48 #include "core/css/CSSParser.h" | |
49 #include "core/css/CSSPrimitiveValueMappings.h" | |
50 #include "core/css/CSSReflectValue.h" | |
51 #include "core/css/CSSSVGDocumentValue.h" | |
52 #include "core/css/CSSSelector.h" | |
53 #include "core/css/CSSSelectorList.h" | |
54 #include "core/css/CSSStyleRule.h" | |
55 #include "core/css/CSSValueList.h" | |
56 #include "core/css/CSSVariableValue.h" | |
57 #include "core/css/Pair.h" | |
58 #include "core/css/RuleSet.h" | |
59 #include "core/css/StylePropertySet.h" | |
60 #include "core/css/StylePropertyShorthand.h" | |
61 #include "core/css/StyleSheetContents.h" | |
62 #include "core/css/resolver/StyleResolver.h" | |
63 #include "core/dom/DocumentStyleSheetCollection.h" | |
64 #include "core/dom/FullscreenController.h" | |
65 #include "core/dom/NodeRenderStyle.h" | |
66 #include "core/dom/NodeRenderingContext.h" | |
67 #include "core/dom/Text.h" | |
68 #include "core/dom/shadow/ShadowRoot.h" | |
69 #include "core/html/HTMLHtmlElement.h" | 37 #include "core/html/HTMLHtmlElement.h" |
70 #include "core/html/HTMLIFrameElement.h" | 38 #include "core/html/HTMLIFrameElement.h" |
71 #include "core/html/HTMLInputElement.h" | 39 #include "core/html/HTMLInputElement.h" |
72 #include "core/html/HTMLOptGroupElement.h" | |
73 #include "core/html/HTMLTableElement.h" | 40 #include "core/html/HTMLTableElement.h" |
74 #include "core/html/HTMLTextAreaElement.h" | 41 #include "core/html/HTMLTextAreaElement.h" |
75 #include "core/html/track/WebVTTElement.h" | |
76 #include "core/page/Frame.h" | |
77 #include "core/page/FrameView.h" | 42 #include "core/page/FrameView.h" |
78 #include "core/page/Page.h" | 43 #include "core/page/Page.h" |
79 #include "core/page/Settings.h" | 44 #include "core/page/Settings.h" |
80 #include "core/platform/LinkHash.h" | 45 #include "core/platform/Length.h" |
81 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h" | 46 #include "core/rendering/Pagination.h" |
82 #include "core/rendering/RenderTheme.h" | 47 #include "core/rendering/RenderTheme.h" |
83 #include "core/rendering/RenderView.h" | 48 #include "core/rendering/style/GridPosition.h" |
84 #include "core/rendering/style/ContentData.h" | |
85 #include "core/rendering/style/CursorList.h" | |
86 #include "core/rendering/style/KeyframeList.h" | |
87 #include "core/rendering/style/RenderStyle.h" | 49 #include "core/rendering/style/RenderStyle.h" |
88 #include "core/rendering/style/RenderStyleConstants.h" | 50 #include "core/rendering/style/RenderStyleConstants.h" |
89 #include "core/rendering/style/StyleCachedImage.h" | 51 #include "wtf/Assertions.h" |
90 #include "core/rendering/style/StyleCachedImageSet.h" | |
91 #include "core/rendering/style/StyleCustomFilterProgramCache.h" | |
92 #include "core/rendering/style/StyleGeneratedImage.h" | |
93 #include "core/svg/SVGDocumentExtensions.h" | |
94 #include "core/svg/SVGElement.h" | |
95 #include "core/svg/SVGFontFaceElement.h" | |
96 #include "wtf/StdLibExtras.h" | |
97 #include "wtf/Vector.h" | |
98 | |
99 | 52 |
100 namespace WebCore { | 53 namespace WebCore { |
101 | 54 |
102 using namespace HTMLNames; | 55 using namespace HTMLNames; |
103 | 56 |
104 // FIXME: This is duplicated with StyleResolver.cpp | 57 // FIXME: This is duplicated with StyleResolver.cpp |
105 // Perhaps this should move onto ElementResolveContext or even Element? | 58 // Perhaps this should move onto ElementResolveContext or even Element? |
106 static inline bool isAtShadowBoundary(const Element* element) | 59 static inline bool isAtShadowBoundary(const Element* element) |
107 { | 60 { |
108 if (!element) | 61 if (!element) |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 | 398 |
446 if (style->gridRowStart().isSpan() && style->gridRowEnd().isSpan()) { | 399 if (style->gridRowStart().isSpan() && style->gridRowEnd().isSpan()) { |
447 style->setGridRowStart(GridPosition()); | 400 style->setGridRowStart(GridPosition()); |
448 style->setGridRowEnd(GridPosition()); | 401 style->setGridRowEnd(GridPosition()); |
449 } | 402 } |
450 } | 403 } |
451 | 404 |
452 | 405 |
453 | 406 |
454 } | 407 } |
OLD | NEW |