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 |
(...skipping 2675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2686 return getCSSPropertyValuesForSidesShorthand(marginShorthand()); | 2686 return getCSSPropertyValuesForSidesShorthand(marginShorthand()); |
2687 case CSSPropertyOutline: | 2687 case CSSPropertyOutline: |
2688 return getCSSPropertyValuesForShorthandProperties(outlineShorthand()
); | 2688 return getCSSPropertyValuesForShorthandProperties(outlineShorthand()
); |
2689 case CSSPropertyPadding: | 2689 case CSSPropertyPadding: |
2690 return getCSSPropertyValuesForSidesShorthand(paddingShorthand()); | 2690 return getCSSPropertyValuesForSidesShorthand(paddingShorthand()); |
2691 /* Individual properties not part of the spec */ | 2691 /* Individual properties not part of the spec */ |
2692 case CSSPropertyBackgroundRepeatX: | 2692 case CSSPropertyBackgroundRepeatX: |
2693 case CSSPropertyBackgroundRepeatY: | 2693 case CSSPropertyBackgroundRepeatY: |
2694 break; | 2694 break; |
2695 | 2695 |
| 2696 #if ENABLE(CSS_CALLBACKS) |
| 2697 case CSSPropertyInternalCallback: |
| 2698 // This property is hidden from the web. |
| 2699 return 0; |
| 2700 #endif |
| 2701 |
2696 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties)
*/ | 2702 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties)
*/ |
2697 case CSSPropertyWebkitTextEmphasis: | 2703 case CSSPropertyWebkitTextEmphasis: |
2698 case CSSPropertyTextLineThroughColor: | 2704 case CSSPropertyTextLineThroughColor: |
2699 case CSSPropertyTextLineThroughMode: | 2705 case CSSPropertyTextLineThroughMode: |
2700 case CSSPropertyTextLineThroughStyle: | 2706 case CSSPropertyTextLineThroughStyle: |
2701 case CSSPropertyTextLineThroughWidth: | 2707 case CSSPropertyTextLineThroughWidth: |
2702 case CSSPropertyTextOverlineColor: | 2708 case CSSPropertyTextOverlineColor: |
2703 case CSSPropertyTextOverlineMode: | 2709 case CSSPropertyTextOverlineMode: |
2704 case CSSPropertyTextOverlineStyle: | 2710 case CSSPropertyTextOverlineStyle: |
2705 case CSSPropertyTextOverlineWidth: | 2711 case CSSPropertyTextOverlineWidth: |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3017 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3023 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
3018 CSSPropertyB
ackgroundClip }; | 3024 CSSPropertyB
ackgroundClip }; |
3019 | 3025 |
3020 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3026 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
3021 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope
rtiesBeforeSlashSeperator)))); | 3027 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope
rtiesBeforeSlashSeperator)))); |
3022 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper
tiesAfterSlashSeperator)))); | 3028 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper
tiesAfterSlashSeperator)))); |
3023 return list.release(); | 3029 return list.release(); |
3024 } | 3030 } |
3025 | 3031 |
3026 } // namespace WebCore | 3032 } // namespace WebCore |
OLD | NEW |