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 case CSSPropertyMargin: | 2686 case CSSPropertyMargin: |
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 case CSSPropertyInternalCallback: |
| 2697 // This property is hidden from the web. |
| 2698 return 0; |
2696 | 2699 |
2697 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties)
*/ | 2700 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties)
*/ |
2698 case CSSPropertyWebkitTextEmphasis: | 2701 case CSSPropertyWebkitTextEmphasis: |
2699 case CSSPropertyTextLineThroughColor: | 2702 case CSSPropertyTextLineThroughColor: |
2700 case CSSPropertyTextLineThroughMode: | 2703 case CSSPropertyTextLineThroughMode: |
2701 case CSSPropertyTextLineThroughStyle: | 2704 case CSSPropertyTextLineThroughStyle: |
2702 case CSSPropertyTextLineThroughWidth: | 2705 case CSSPropertyTextLineThroughWidth: |
2703 case CSSPropertyTextOverlineColor: | 2706 case CSSPropertyTextOverlineColor: |
2704 case CSSPropertyTextOverlineMode: | 2707 case CSSPropertyTextOverlineMode: |
2705 case CSSPropertyTextOverlineStyle: | 2708 case CSSPropertyTextOverlineStyle: |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3018 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3021 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
3019 CSSPropertyB
ackgroundClip }; | 3022 CSSPropertyB
ackgroundClip }; |
3020 | 3023 |
3021 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3024 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
3022 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope
rtiesBeforeSlashSeperator)))); | 3025 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)))); | 3026 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper
tiesAfterSlashSeperator)))); |
3024 return list.release(); | 3027 return list.release(); |
3025 } | 3028 } |
3026 | 3029 |
3027 } // namespace WebCore | 3030 } // namespace WebCore |
OLD | NEW |