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