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 2801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2812 case CSSPropertyMargin: | 2812 case CSSPropertyMargin: |
2813 return valuesForSidesShorthand(marginShorthand()); | 2813 return valuesForSidesShorthand(marginShorthand()); |
2814 case CSSPropertyOutline: | 2814 case CSSPropertyOutline: |
2815 return valuesForShorthandProperty(outlineShorthand()); | 2815 return valuesForShorthandProperty(outlineShorthand()); |
2816 case CSSPropertyPadding: | 2816 case CSSPropertyPadding: |
2817 return valuesForSidesShorthand(paddingShorthand()); | 2817 return valuesForSidesShorthand(paddingShorthand()); |
2818 /* Individual properties not part of the spec */ | 2818 /* Individual properties not part of the spec */ |
2819 case CSSPropertyBackgroundRepeatX: | 2819 case CSSPropertyBackgroundRepeatX: |
2820 case CSSPropertyBackgroundRepeatY: | 2820 case CSSPropertyBackgroundRepeatY: |
2821 break; | 2821 break; |
| 2822 case CSSPropertyInternalCallback: |
| 2823 // This property is hidden from the web. |
| 2824 return 0; |
2822 | 2825 |
2823 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties)
*/ | 2826 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties)
*/ |
2824 case CSSPropertyWebkitTextEmphasis: | 2827 case CSSPropertyWebkitTextEmphasis: |
2825 case CSSPropertyTextLineThroughColor: | 2828 case CSSPropertyTextLineThroughColor: |
2826 case CSSPropertyTextLineThroughMode: | 2829 case CSSPropertyTextLineThroughMode: |
2827 case CSSPropertyTextLineThroughStyle: | 2830 case CSSPropertyTextLineThroughStyle: |
2828 case CSSPropertyTextLineThroughWidth: | 2831 case CSSPropertyTextLineThroughWidth: |
2829 case CSSPropertyTextOverlineColor: | 2832 case CSSPropertyTextOverlineColor: |
2830 case CSSPropertyTextOverlineMode: | 2833 case CSSPropertyTextOverlineMode: |
2831 case CSSPropertyTextOverlineStyle: | 2834 case CSSPropertyTextOverlineStyle: |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3226 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3229 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
3227 CSSPropertyB
ackgroundClip }; | 3230 CSSPropertyB
ackgroundClip }; |
3228 | 3231 |
3229 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3232 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
3230 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 3233 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
3231 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 3234 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
3232 return list.release(); | 3235 return list.release(); |
3233 } | 3236 } |
3234 | 3237 |
3235 } // namespace WebCore | 3238 } // namespace WebCore |
OLD | NEW |