| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 CSSPropertyWebkitTextEmphasisColor, | 311 CSSPropertyWebkitTextEmphasisColor, |
| 312 CSSPropertyWebkitTextEmphasisPosition, | 312 CSSPropertyWebkitTextEmphasisPosition, |
| 313 CSSPropertyWebkitTextEmphasisStyle, | 313 CSSPropertyWebkitTextEmphasisStyle, |
| 314 CSSPropertyWebkitTextFillColor, | 314 CSSPropertyWebkitTextFillColor, |
| 315 CSSPropertyWebkitTextOrientation, | 315 CSSPropertyWebkitTextOrientation, |
| 316 CSSPropertyWebkitTextSecurity, | 316 CSSPropertyWebkitTextSecurity, |
| 317 CSSPropertyWebkitTextStrokeColor, | 317 CSSPropertyWebkitTextStrokeColor, |
| 318 CSSPropertyWebkitTextStrokeWidth, | 318 CSSPropertyWebkitTextStrokeWidth, |
| 319 CSSPropertyWebkitTransform, | 319 CSSPropertyWebkitTransform, |
| 320 CSSPropertyWebkitTransformOrigin, | 320 CSSPropertyWebkitTransformOrigin, |
| 321 CSSPropertyTransformStyle, |
| 321 CSSPropertyWebkitTransformStyle, | 322 CSSPropertyWebkitTransformStyle, |
| 322 CSSPropertyWebkitTransitionDelay, | 323 CSSPropertyWebkitTransitionDelay, |
| 323 CSSPropertyWebkitTransitionDuration, | 324 CSSPropertyWebkitTransitionDuration, |
| 324 CSSPropertyWebkitTransitionProperty, | 325 CSSPropertyWebkitTransitionProperty, |
| 325 CSSPropertyWebkitTransitionTimingFunction, | 326 CSSPropertyWebkitTransitionTimingFunction, |
| 326 CSSPropertyWebkitUserDrag, | 327 CSSPropertyWebkitUserDrag, |
| 327 CSSPropertyWebkitUserModify, | 328 CSSPropertyWebkitUserModify, |
| 328 CSSPropertyWebkitUserSelect, | 329 CSSPropertyWebkitUserSelect, |
| 329 CSSPropertyWebkitWritingMode, | 330 CSSPropertyWebkitWritingMode, |
| 330 CSSPropertyWebkitAppRegion, | 331 CSSPropertyWebkitAppRegion, |
| (...skipping 2237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2568 if (style->transformOriginZ() != 0) | 2569 if (style->transformOriginZ() != 0) |
| 2569 list->append(zoomAdjustedPixelValue(style->transformOriginZ(
), *style)); | 2570 list->append(zoomAdjustedPixelValue(style->transformOriginZ(
), *style)); |
| 2570 } else { | 2571 } else { |
| 2571 list->append(zoomAdjustedPixelValueForLength(style->transformOri
ginX(), *style)); | 2572 list->append(zoomAdjustedPixelValueForLength(style->transformOri
ginX(), *style)); |
| 2572 list->append(zoomAdjustedPixelValueForLength(style->transformOri
ginY(), *style)); | 2573 list->append(zoomAdjustedPixelValueForLength(style->transformOri
ginY(), *style)); |
| 2573 if (style->transformOriginZ() != 0) | 2574 if (style->transformOriginZ() != 0) |
| 2574 list->append(zoomAdjustedPixelValue(style->transformOriginZ(
), *style)); | 2575 list->append(zoomAdjustedPixelValue(style->transformOriginZ(
), *style)); |
| 2575 } | 2576 } |
| 2576 return list.release(); | 2577 return list.release(); |
| 2577 } | 2578 } |
| 2579 case CSSPropertyTransformStyle: |
| 2578 case CSSPropertyWebkitTransformStyle: | 2580 case CSSPropertyWebkitTransformStyle: |
| 2579 return cssValuePool().createIdentifierValue((style->transformStyle3D
() == TransformStyle3DPreserve3D) ? CSSValuePreserve3d : CSSValueFlat); | 2581 return cssValuePool().createIdentifierValue((style->transformStyle3D
() == TransformStyle3DPreserve3D) ? CSSValuePreserve3d : CSSValueFlat); |
| 2580 case CSSPropertyTransitionDelay: | 2582 case CSSPropertyTransitionDelay: |
| 2581 case CSSPropertyWebkitTransitionDelay: | 2583 case CSSPropertyWebkitTransitionDelay: |
| 2582 return valueForAnimationDelay(style->transitions()); | 2584 return valueForAnimationDelay(style->transitions()); |
| 2583 case CSSPropertyTransitionDuration: | 2585 case CSSPropertyTransitionDuration: |
| 2584 case CSSPropertyWebkitTransitionDuration: | 2586 case CSSPropertyWebkitTransitionDuration: |
| 2585 return valueForAnimationDuration(style->transitions()); | 2587 return valueForAnimationDuration(style->transitions()); |
| 2586 case CSSPropertyTransitionProperty: | 2588 case CSSPropertyTransitionProperty: |
| 2587 case CSSPropertyWebkitTransitionProperty: | 2589 case CSSPropertyWebkitTransitionProperty: |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2767 case CSSPropertyWebkitMaxLogicalHeight: | 2769 case CSSPropertyWebkitMaxLogicalHeight: |
| 2768 ASSERT_NOT_REACHED(); | 2770 ASSERT_NOT_REACHED(); |
| 2769 break; | 2771 break; |
| 2770 | 2772 |
| 2771 // FIXME: crbug.com/154772 Unimplemented css-transforms properties | 2773 // FIXME: crbug.com/154772 Unimplemented css-transforms properties |
| 2772 case CSSPropertyBackfaceVisibility: | 2774 case CSSPropertyBackfaceVisibility: |
| 2773 case CSSPropertyPerspective: | 2775 case CSSPropertyPerspective: |
| 2774 case CSSPropertyPerspectiveOrigin: | 2776 case CSSPropertyPerspectiveOrigin: |
| 2775 case CSSPropertyTransform: | 2777 case CSSPropertyTransform: |
| 2776 case CSSPropertyTransformOrigin: | 2778 case CSSPropertyTransformOrigin: |
| 2777 case CSSPropertyTransformStyle: | |
| 2778 ASSERT_NOT_REACHED(); | 2779 ASSERT_NOT_REACHED(); |
| 2779 break; | 2780 break; |
| 2780 | 2781 |
| 2781 /* Unimplemented @font-face properties */ | 2782 /* Unimplemented @font-face properties */ |
| 2782 case CSSPropertyFontStretch: | 2783 case CSSPropertyFontStretch: |
| 2783 case CSSPropertySrc: | 2784 case CSSPropertySrc: |
| 2784 case CSSPropertyUnicodeRange: | 2785 case CSSPropertyUnicodeRange: |
| 2785 break; | 2786 break; |
| 2786 | 2787 |
| 2787 /* Other unimplemented properties */ | 2788 /* Other unimplemented properties */ |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3052 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3053 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 3053 CSSPropertyB
ackgroundClip }; | 3054 CSSPropertyB
ackgroundClip }; |
| 3054 | 3055 |
| 3055 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated()
; | 3056 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated()
; |
| 3056 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 3057 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 3057 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 3058 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 3058 return list.release(); | 3059 return list.release(); |
| 3059 } | 3060 } |
| 3060 | 3061 |
| 3061 } // namespace WebCore | 3062 } // namespace WebCore |
| OLD | NEW |