| 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 CSSPropertyStrokeWidth, | 372 CSSPropertyStrokeWidth, |
| 373 CSSPropertyAlignmentBaseline, | 373 CSSPropertyAlignmentBaseline, |
| 374 CSSPropertyBaselineShift, | 374 CSSPropertyBaselineShift, |
| 375 CSSPropertyDominantBaseline, | 375 CSSPropertyDominantBaseline, |
| 376 CSSPropertyKerning, | 376 CSSPropertyKerning, |
| 377 CSSPropertyTextAnchor, | 377 CSSPropertyTextAnchor, |
| 378 CSSPropertyWritingMode, | 378 CSSPropertyWritingMode, |
| 379 CSSPropertyGlyphOrientationHorizontal, | 379 CSSPropertyGlyphOrientationHorizontal, |
| 380 CSSPropertyGlyphOrientationVertical, | 380 CSSPropertyGlyphOrientationVertical, |
| 381 CSSPropertyWebkitSvgShadow, | 381 CSSPropertyWebkitSvgShadow, |
| 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 2391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2784 case CSSPropertyStrokeWidth: | 2785 case CSSPropertyStrokeWidth: |
| 2785 case CSSPropertyAlignmentBaseline: | 2786 case CSSPropertyAlignmentBaseline: |
| 2786 case CSSPropertyBaselineShift: | 2787 case CSSPropertyBaselineShift: |
| 2787 case CSSPropertyDominantBaseline: | 2788 case CSSPropertyDominantBaseline: |
| 2788 case CSSPropertyGlyphOrientationHorizontal: | 2789 case CSSPropertyGlyphOrientationHorizontal: |
| 2789 case CSSPropertyGlyphOrientationVertical: | 2790 case CSSPropertyGlyphOrientationVertical: |
| 2790 case CSSPropertyKerning: | 2791 case CSSPropertyKerning: |
| 2791 case CSSPropertyTextAnchor: | 2792 case CSSPropertyTextAnchor: |
| 2792 case CSSPropertyVectorEffect: | 2793 case CSSPropertyVectorEffect: |
| 2793 case CSSPropertyWritingMode: | 2794 case CSSPropertyWritingMode: |
| 2795 case CSSPropertyPaintOrder: |
| 2794 case CSSPropertyWebkitSvgShadow: | 2796 case CSSPropertyWebkitSvgShadow: |
| 2795 return getSVGPropertyCSSValue(propertyID, DoNotUpdateLayout); | 2797 return getSVGPropertyCSSValue(propertyID, DoNotUpdateLayout); |
| 2796 } | 2798 } |
| 2797 | 2799 |
| 2798 logUnimplementedPropertyID(propertyID); | 2800 logUnimplementedPropertyID(propertyID); |
| 2799 return 0; | 2801 return 0; |
| 2800 } | 2802 } |
| 2801 | 2803 |
| 2802 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c
onst | 2804 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c
onst |
| 2803 { | 2805 { |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2988 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 2990 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 2989 CSSPropertyB
ackgroundClip }; | 2991 CSSPropertyB
ackgroundClip }; |
| 2990 | 2992 |
| 2991 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 2993 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 2992 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); | 2994 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); |
| 2993 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); | 2995 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); |
| 2994 return list.release(); | 2996 return list.release(); |
| 2995 } | 2997 } |
| 2996 | 2998 |
| 2997 } // namespace WebCore | 2999 } // namespace WebCore |
| OLD | NEW |