| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 CSSPropertyUnicodeBidi, | 172 CSSPropertyUnicodeBidi, |
| 173 CSSPropertyVerticalAlign, | 173 CSSPropertyVerticalAlign, |
| 174 CSSPropertyWhiteSpace, | 174 CSSPropertyWhiteSpace, |
| 175 CSSPropertyWidth, | 175 CSSPropertyWidth, |
| 176 CSSPropertyWillChange, | 176 CSSPropertyWillChange, |
| 177 CSSPropertyWordBreak, | 177 CSSPropertyWordBreak, |
| 178 CSSPropertyWordSpacing, | 178 CSSPropertyWordSpacing, |
| 179 CSSPropertyWordWrap, | 179 CSSPropertyWordWrap, |
| 180 CSSPropertyZIndex, | 180 CSSPropertyZIndex, |
| 181 | 181 |
| 182 CSSPropertyBackfaceVisibility, | |
| 183 CSSPropertyWebkitBackfaceVisibility, | |
| 184 CSSPropertyWebkitBackgroundClip, | 182 CSSPropertyWebkitBackgroundClip, |
| 185 CSSPropertyWebkitBackgroundComposite, | 183 CSSPropertyWebkitBackgroundComposite, |
| 186 CSSPropertyWebkitBackgroundOrigin, | 184 CSSPropertyWebkitBackgroundOrigin, |
| 187 CSSPropertyWebkitBackgroundSize, | 185 CSSPropertyWebkitBackgroundSize, |
| 188 CSSPropertyWebkitBorderHorizontalSpacing, | 186 CSSPropertyWebkitBorderHorizontalSpacing, |
| 189 CSSPropertyWebkitBorderImage, | 187 CSSPropertyWebkitBorderImage, |
| 190 CSSPropertyWebkitBorderVerticalSpacing, | 188 CSSPropertyWebkitBorderVerticalSpacing, |
| 191 CSSPropertyWebkitBoxDecorationBreak, | 189 CSSPropertyWebkitBoxDecorationBreak, |
| 192 CSSPropertyWebkitBoxShadow, | 190 CSSPropertyWebkitBoxShadow, |
| 193 CSSPropertyWebkitClipPath, | 191 CSSPropertyWebkitClipPath, |
| (...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1823 list->append(valueForAnimationDirection(CSSAnimationData::initialDir
ection())); | 1821 list->append(valueForAnimationDirection(CSSAnimationData::initialDir
ection())); |
| 1824 list->append(valueForAnimationFillMode(CSSAnimationData::initialFill
Mode())); | 1822 list->append(valueForAnimationFillMode(CSSAnimationData::initialFill
Mode())); |
| 1825 // Initial animation-play-state. | 1823 // Initial animation-play-state. |
| 1826 list->append(cssValuePool().createIdentifierValue(CSSValueRunning)); | 1824 list->append(cssValuePool().createIdentifierValue(CSSValueRunning)); |
| 1827 return list.release(); | 1825 return list.release(); |
| 1828 } | 1826 } |
| 1829 case CSSPropertyWebkitAspectRatio: | 1827 case CSSPropertyWebkitAspectRatio: |
| 1830 if (!style->hasAspectRatio()) | 1828 if (!style->hasAspectRatio()) |
| 1831 return cssValuePool().createIdentifierValue(CSSValueNone); | 1829 return cssValuePool().createIdentifierValue(CSSValueNone); |
| 1832 return CSSAspectRatioValue::create(style->aspectRatioNumerator(), st
yle->aspectRatioDenominator()); | 1830 return CSSAspectRatioValue::create(style->aspectRatioNumerator(), st
yle->aspectRatioDenominator()); |
| 1833 case CSSPropertyBackfaceVisibility: | |
| 1834 case CSSPropertyWebkitBackfaceVisibility: | |
| 1835 return cssValuePool().createIdentifierValue((style->backfaceVisibili
ty() == BackfaceVisibilityHidden) ? CSSValueHidden : CSSValueVisible); | |
| 1836 case CSSPropertyWebkitBorderImage: | 1831 case CSSPropertyWebkitBorderImage: |
| 1837 return valueForNinePieceImage(style->borderImage(), *style); | 1832 return valueForNinePieceImage(style->borderImage(), *style); |
| 1838 case CSSPropertyBorderImageOutset: | 1833 case CSSPropertyBorderImageOutset: |
| 1839 return valueForNinePieceImageQuad(style->borderImage().outset(), *st
yle); | 1834 return valueForNinePieceImageQuad(style->borderImage().outset(), *st
yle); |
| 1840 case CSSPropertyBorderImageRepeat: | 1835 case CSSPropertyBorderImageRepeat: |
| 1841 return valueForNinePieceImageRepeat(style->borderImage()); | 1836 return valueForNinePieceImageRepeat(style->borderImage()); |
| 1842 case CSSPropertyBorderImageSlice: | 1837 case CSSPropertyBorderImageSlice: |
| 1843 return valueForNinePieceImageSlice(style->borderImage()); | 1838 return valueForNinePieceImageSlice(style->borderImage()); |
| 1844 case CSSPropertyBorderImageWidth: | 1839 case CSSPropertyBorderImageWidth: |
| 1845 return valueForNinePieceImageQuad(style->borderImage().borderSlices(
), *style); | 1840 return valueForNinePieceImageQuad(style->borderImage().borderSlices(
), *style); |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2231 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 2226 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 2232 CSSPropertyB
ackgroundClip }; | 2227 CSSPropertyB
ackgroundClip }; |
| 2233 | 2228 |
| 2234 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 2229 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 2235 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 2230 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 2236 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 2231 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 2237 return list.release(); | 2232 return list.release(); |
| 2238 } | 2233 } |
| 2239 | 2234 |
| 2240 } // namespace blink | 2235 } // namespace blink |
| OLD | NEW |