| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 CSSPropertyStrokeOpacity, | 372 CSSPropertyStrokeOpacity, |
| 373 CSSPropertyStrokeWidth, | 373 CSSPropertyStrokeWidth, |
| 374 CSSPropertyAlignmentBaseline, | 374 CSSPropertyAlignmentBaseline, |
| 375 CSSPropertyBaselineShift, | 375 CSSPropertyBaselineShift, |
| 376 CSSPropertyDominantBaseline, | 376 CSSPropertyDominantBaseline, |
| 377 CSSPropertyKerning, | 377 CSSPropertyKerning, |
| 378 CSSPropertyTextAnchor, | 378 CSSPropertyTextAnchor, |
| 379 CSSPropertyWritingMode, | 379 CSSPropertyWritingMode, |
| 380 CSSPropertyGlyphOrientationHorizontal, | 380 CSSPropertyGlyphOrientationHorizontal, |
| 381 CSSPropertyGlyphOrientationVertical, | 381 CSSPropertyGlyphOrientationVertical, |
| 382 CSSPropertyVectorEffect | 382 CSSPropertyVectorEffect, |
| 383 CSSPropertyPaintOrder |
| 383 }; | 384 }; |
| 384 | 385 |
| 385 static const Vector<CSSPropertyID>& computableProperties() | 386 static const Vector<CSSPropertyID>& computableProperties() |
| 386 { | 387 { |
| 387 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); | 388 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |
| 388 if (properties.isEmpty()) | 389 if (properties.isEmpty()) |
| 389 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticComputable
Properties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); | 390 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticComputable
Properties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); |
| 390 return properties; | 391 return properties; |
| 391 } | 392 } |
| 392 | 393 |
| (...skipping 2507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2900 case CSSPropertyStrokeOpacity: | 2901 case CSSPropertyStrokeOpacity: |
| 2901 case CSSPropertyStrokeWidth: | 2902 case CSSPropertyStrokeWidth: |
| 2902 case CSSPropertyAlignmentBaseline: | 2903 case CSSPropertyAlignmentBaseline: |
| 2903 case CSSPropertyBaselineShift: | 2904 case CSSPropertyBaselineShift: |
| 2904 case CSSPropertyDominantBaseline: | 2905 case CSSPropertyDominantBaseline: |
| 2905 case CSSPropertyGlyphOrientationHorizontal: | 2906 case CSSPropertyGlyphOrientationHorizontal: |
| 2906 case CSSPropertyGlyphOrientationVertical: | 2907 case CSSPropertyGlyphOrientationVertical: |
| 2907 case CSSPropertyKerning: | 2908 case CSSPropertyKerning: |
| 2908 case CSSPropertyTextAnchor: | 2909 case CSSPropertyTextAnchor: |
| 2909 case CSSPropertyVectorEffect: | 2910 case CSSPropertyVectorEffect: |
| 2911 case CSSPropertyPaintOrder: |
| 2910 case CSSPropertyWritingMode: | 2912 case CSSPropertyWritingMode: |
| 2911 return getSVGPropertyCSSValue(propertyID, DoNotUpdateLayout); | 2913 return getSVGPropertyCSSValue(propertyID, DoNotUpdateLayout); |
| 2912 } | 2914 } |
| 2913 | 2915 |
| 2914 logUnimplementedPropertyID(propertyID); | 2916 logUnimplementedPropertyID(propertyID); |
| 2915 return 0; | 2917 return 0; |
| 2916 } | 2918 } |
| 2917 | 2919 |
| 2918 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c
onst | 2920 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c
onst |
| 2919 { | 2921 { |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3151 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3153 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 3152 CSSPropertyB
ackgroundClip }; | 3154 CSSPropertyB
ackgroundClip }; |
| 3153 | 3155 |
| 3154 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3156 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 3155 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 3157 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 3156 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 3158 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 3157 return list.release(); | 3159 return list.release(); |
| 3158 } | 3160 } |
| 3159 | 3161 |
| 3160 } // namespace WebCore | 3162 } // namespace WebCore |
| OLD | NEW |