OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
12 * | 12 * |
13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 * Lesser General Public License for more details. | 16 * Lesser General Public License for more details. |
17 * | 17 * |
18 * You should have received a copy of the GNU Lesser General Public | 18 * You should have received a copy of the GNU Lesser General Public |
19 * License along with this library; if not, write to the Free Software | 19 * License along with this library; if not, write to the Free Software |
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
21 * 02110-1301 USA | 21 * 02110-1301 USA |
22 */ | 22 */ |
23 | 23 |
24 #include "config.h" | 24 #include "config.h" |
25 #include "core/css/CSSComputedStyleDeclaration.h" | 25 #include "core/css/CSSComputedStyleDeclaration.h" |
26 | 26 |
27 #include "CSSPropertyNames.h" | 27 #include "CSSPropertyNames.h" |
28 #include "Document.h" | |
29 #include "ExceptionCode.h" | |
30 #include "HTMLFrameOwnerElement.h" | 28 #include "HTMLFrameOwnerElement.h" |
31 #include "PseudoElement.h" | |
32 #include "WebCoreMemoryInstrumentation.h" | |
33 #include "WebKitFontFamilyNames.h" | 29 #include "WebKitFontFamilyNames.h" |
34 #include "core/css/BasicShapeFunctions.h" | 30 #include "core/css/BasicShapeFunctions.h" |
35 #include "core/css/CSSAspectRatioValue.h" | 31 #include "core/css/CSSAspectRatioValue.h" |
36 #include "core/css/CSSBasicShapes.h" | 32 #include "core/css/CSSBasicShapes.h" |
37 #include "core/css/CSSBorderImage.h" | 33 #include "core/css/CSSBorderImage.h" |
38 #include "core/css/CSSFunctionValue.h" | 34 #include "core/css/CSSFunctionValue.h" |
39 #include "core/css/CSSLineBoxContainValue.h" | 35 #include "core/css/CSSLineBoxContainValue.h" |
40 #include "core/css/CSSParser.h" | 36 #include "core/css/CSSParser.h" |
41 #include "core/css/CSSPrimitiveValue.h" | 37 #include "core/css/CSSPrimitiveValue.h" |
42 #include "core/css/CSSPrimitiveValueMappings.h" | 38 #include "core/css/CSSPrimitiveValueMappings.h" |
43 #include "core/css/CSSReflectValue.h" | 39 #include "core/css/CSSReflectValue.h" |
44 #include "core/css/CSSSelector.h" | 40 #include "core/css/CSSSelector.h" |
45 #include "core/css/CSSTimingFunctionValue.h" | 41 #include "core/css/CSSTimingFunctionValue.h" |
46 #include "core/css/CSSValueList.h" | 42 #include "core/css/CSSValueList.h" |
47 #include "core/css/CSSValuePool.h" | 43 #include "core/css/CSSValuePool.h" |
48 #include "core/css/FontFeatureValue.h" | 44 #include "core/css/FontFeatureValue.h" |
49 #include "core/css/FontValue.h" | 45 #include "core/css/FontValue.h" |
50 #include "core/css/Pair.h" | 46 #include "core/css/Pair.h" |
51 #include "core/css/Rect.h" | 47 #include "core/css/Rect.h" |
52 #include "core/css/ShadowValue.h" | 48 #include "core/css/ShadowValue.h" |
53 #include "core/css/StylePropertySet.h" | 49 #include "core/css/StylePropertySet.h" |
54 #include "core/css/StylePropertyShorthand.h" | 50 #include "core/css/StylePropertyShorthand.h" |
55 #include "core/css/StyleResolver.h" | 51 #include "core/css/StyleResolver.h" |
56 #include "core/css/WebKitCSSTransformValue.h" | 52 #include "core/css/WebKitCSSTransformValue.h" |
| 53 #include "core/dom/Document.h" |
| 54 #include "core/dom/ExceptionCode.h" |
| 55 #include "core/dom/PseudoElement.h" |
| 56 #include "core/dom/WebCoreMemoryInstrumentation.h" |
57 #include "core/page/RuntimeCSSEnabled.h" | 57 #include "core/page/RuntimeCSSEnabled.h" |
58 #include "core/page/animation/AnimationController.h" | 58 #include "core/page/animation/AnimationController.h" |
59 #include "core/platform/graphics/FontFeatureSettings.h" | 59 #include "core/platform/graphics/FontFeatureSettings.h" |
60 #include "core/rendering/RenderBox.h" | 60 #include "core/rendering/RenderBox.h" |
61 #include "core/rendering/RenderView.h" | 61 #include "core/rendering/RenderView.h" |
62 #include "core/rendering/style/BasicShapes.h" | 62 #include "core/rendering/style/BasicShapes.h" |
63 #include "core/rendering/style/ContentData.h" | 63 #include "core/rendering/style/ContentData.h" |
64 #include "core/rendering/style/CounterContent.h" | 64 #include "core/rendering/style/CounterContent.h" |
65 #include "core/rendering/style/CursorList.h" | 65 #include "core/rendering/style/CursorList.h" |
66 #include "core/rendering/style/RenderStyle.h" | 66 #include "core/rendering/style/RenderStyle.h" |
(...skipping 2933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3000 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3000 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
3001 CSSPropertyB
ackgroundClip }; | 3001 CSSPropertyB
ackgroundClip }; |
3002 | 3002 |
3003 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3003 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
3004 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); | 3004 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); |
3005 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); | 3005 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); |
3006 return list.release(); | 3006 return list.release(); |
3007 } | 3007 } |
3008 | 3008 |
3009 } // namespace WebCore | 3009 } // namespace WebCore |
OLD | NEW |