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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 214 |
215 CSSPropertyWebkitAnimationDelay, | 215 CSSPropertyWebkitAnimationDelay, |
216 CSSPropertyWebkitAnimationDirection, | 216 CSSPropertyWebkitAnimationDirection, |
217 CSSPropertyWebkitAnimationDuration, | 217 CSSPropertyWebkitAnimationDuration, |
218 CSSPropertyWebkitAnimationFillMode, | 218 CSSPropertyWebkitAnimationFillMode, |
219 CSSPropertyWebkitAnimationIterationCount, | 219 CSSPropertyWebkitAnimationIterationCount, |
220 CSSPropertyWebkitAnimationName, | 220 CSSPropertyWebkitAnimationName, |
221 CSSPropertyWebkitAnimationPlayState, | 221 CSSPropertyWebkitAnimationPlayState, |
222 CSSPropertyWebkitAnimationTimingFunction, | 222 CSSPropertyWebkitAnimationTimingFunction, |
223 CSSPropertyWebkitAppearance, | 223 CSSPropertyWebkitAppearance, |
| 224 CSSPropertyBackfaceVisibility, |
224 CSSPropertyWebkitBackfaceVisibility, | 225 CSSPropertyWebkitBackfaceVisibility, |
225 CSSPropertyWebkitBackgroundClip, | 226 CSSPropertyWebkitBackgroundClip, |
226 CSSPropertyWebkitBackgroundComposite, | 227 CSSPropertyWebkitBackgroundComposite, |
227 CSSPropertyWebkitBackgroundOrigin, | 228 CSSPropertyWebkitBackgroundOrigin, |
228 CSSPropertyWebkitBackgroundSize, | 229 CSSPropertyWebkitBackgroundSize, |
229 CSSPropertyWebkitBorderFit, | 230 CSSPropertyWebkitBorderFit, |
230 CSSPropertyWebkitBorderHorizontalSpacing, | 231 CSSPropertyWebkitBorderHorizontalSpacing, |
231 CSSPropertyWebkitBorderImage, | 232 CSSPropertyWebkitBorderImage, |
232 CSSPropertyWebkitBorderVerticalSpacing, | 233 CSSPropertyWebkitBorderVerticalSpacing, |
233 CSSPropertyWebkitBoxAlign, | 234 CSSPropertyWebkitBoxAlign, |
(...skipping 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2458 // Initial animation-play-state. | 2459 // Initial animation-play-state. |
2459 list->append(cssValuePool().createIdentifierValue(CSSValueRunning)); | 2460 list->append(cssValuePool().createIdentifierValue(CSSValueRunning)); |
2460 return list.release(); | 2461 return list.release(); |
2461 } | 2462 } |
2462 case CSSPropertyWebkitAppearance: | 2463 case CSSPropertyWebkitAppearance: |
2463 return cssValuePool().createValue(style->appearance()); | 2464 return cssValuePool().createValue(style->appearance()); |
2464 case CSSPropertyWebkitAspectRatio: | 2465 case CSSPropertyWebkitAspectRatio: |
2465 if (!style->hasAspectRatio()) | 2466 if (!style->hasAspectRatio()) |
2466 return cssValuePool().createIdentifierValue(CSSValueNone); | 2467 return cssValuePool().createIdentifierValue(CSSValueNone); |
2467 return CSSAspectRatioValue::create(style->aspectRatioNumerator(), st
yle->aspectRatioDenominator()); | 2468 return CSSAspectRatioValue::create(style->aspectRatioNumerator(), st
yle->aspectRatioDenominator()); |
| 2469 case CSSPropertyBackfaceVisibility: |
2468 case CSSPropertyWebkitBackfaceVisibility: | 2470 case CSSPropertyWebkitBackfaceVisibility: |
2469 return cssValuePool().createIdentifierValue((style->backfaceVisibili
ty() == BackfaceVisibilityHidden) ? CSSValueHidden : CSSValueVisible); | 2471 return cssValuePool().createIdentifierValue((style->backfaceVisibili
ty() == BackfaceVisibilityHidden) ? CSSValueHidden : CSSValueVisible); |
2470 case CSSPropertyWebkitBorderImage: | 2472 case CSSPropertyWebkitBorderImage: |
2471 return valueForNinePieceImage(style->borderImage(), *style); | 2473 return valueForNinePieceImage(style->borderImage(), *style); |
2472 case CSSPropertyBorderImageOutset: | 2474 case CSSPropertyBorderImageOutset: |
2473 return valueForNinePieceImageQuad(style->borderImage().outset(), *st
yle); | 2475 return valueForNinePieceImageQuad(style->borderImage().outset(), *st
yle); |
2474 case CSSPropertyBorderImageRepeat: | 2476 case CSSPropertyBorderImageRepeat: |
2475 return valueForNinePieceImageRepeat(style->borderImage()); | 2477 return valueForNinePieceImageRepeat(style->borderImage()); |
2476 case CSSPropertyBorderImageSlice: | 2478 case CSSPropertyBorderImageSlice: |
2477 return valueForNinePieceImageSlice(style->borderImage()); | 2479 return valueForNinePieceImageSlice(style->borderImage()); |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2758 case CSSPropertyWebkitLogicalWidth: | 2760 case CSSPropertyWebkitLogicalWidth: |
2759 case CSSPropertyWebkitLogicalHeight: | 2761 case CSSPropertyWebkitLogicalHeight: |
2760 case CSSPropertyWebkitMinLogicalWidth: | 2762 case CSSPropertyWebkitMinLogicalWidth: |
2761 case CSSPropertyWebkitMinLogicalHeight: | 2763 case CSSPropertyWebkitMinLogicalHeight: |
2762 case CSSPropertyWebkitMaxLogicalWidth: | 2764 case CSSPropertyWebkitMaxLogicalWidth: |
2763 case CSSPropertyWebkitMaxLogicalHeight: | 2765 case CSSPropertyWebkitMaxLogicalHeight: |
2764 ASSERT_NOT_REACHED(); | 2766 ASSERT_NOT_REACHED(); |
2765 break; | 2767 break; |
2766 | 2768 |
2767 // FIXME: crbug.com/154772 Unimplemented css-transforms properties | 2769 // FIXME: crbug.com/154772 Unimplemented css-transforms properties |
2768 case CSSPropertyBackfaceVisibility: | |
2769 case CSSPropertyPerspective: | 2770 case CSSPropertyPerspective: |
2770 case CSSPropertyPerspectiveOrigin: | 2771 case CSSPropertyPerspectiveOrigin: |
2771 case CSSPropertyTransform: | 2772 case CSSPropertyTransform: |
2772 case CSSPropertyTransformOrigin: | 2773 case CSSPropertyTransformOrigin: |
2773 break; | 2774 break; |
2774 | 2775 |
2775 /* Unimplemented @font-face properties */ | 2776 /* Unimplemented @font-face properties */ |
2776 case CSSPropertyFontStretch: | 2777 case CSSPropertyFontStretch: |
2777 case CSSPropertySrc: | 2778 case CSSPropertySrc: |
2778 case CSSPropertyUnicodeRange: | 2779 case CSSPropertyUnicodeRange: |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3046 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3047 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
3047 CSSPropertyB
ackgroundClip }; | 3048 CSSPropertyB
ackgroundClip }; |
3048 | 3049 |
3049 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated()
; | 3050 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated()
; |
3050 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 3051 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
3051 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 3052 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
3052 return list.release(); | 3053 return list.release(); |
3053 } | 3054 } |
3054 | 3055 |
3055 } // namespace WebCore | 3056 } // namespace WebCore |
OLD | NEW |