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 "sky/engine/config.h" | |
25 #include "sky/engine/core/css/CSSComputedStyleDeclaration.h" | 24 #include "sky/engine/core/css/CSSComputedStyleDeclaration.h" |
26 | 25 |
27 #include "gen/sky/core/CSSPropertyNames.h" | 26 #include "gen/sky/core/CSSPropertyNames.h" |
28 #include "gen/sky/core/StylePropertyShorthand.h" | 27 #include "gen/sky/core/StylePropertyShorthand.h" |
29 #include "gen/sky/platform/FontFamilyNames.h" | 28 #include "gen/sky/platform/FontFamilyNames.h" |
30 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 29 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
31 #include "sky/engine/bindings/exception_state.h" | 30 #include "sky/engine/bindings/exception_state.h" |
32 #include "sky/engine/core/animation/DocumentAnimations.h" | 31 #include "sky/engine/core/animation/DocumentAnimations.h" |
33 #include "sky/engine/core/css/BasicShapeFunctions.h" | 32 #include "sky/engine/core/css/BasicShapeFunctions.h" |
34 #include "sky/engine/core/css/CSSAspectRatioValue.h" | 33 #include "sky/engine/core/css/CSSAspectRatioValue.h" |
(...skipping 2191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2226 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 2225 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
2227 CSSPropertyB
ackgroundClip }; | 2226 CSSPropertyB
ackgroundClip }; |
2228 | 2227 |
2229 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 2228 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
2230 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 2229 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
2231 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 2230 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
2232 return list.release(); | 2231 return list.release(); |
2233 } | 2232 } |
2234 | 2233 |
2235 } // namespace blink | 2234 } // namespace blink |
OLD | NEW |