| 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 CSSPropertyStrokeWidth, | 392 CSSPropertyStrokeWidth, |
| 393 CSSPropertyAlignmentBaseline, | 393 CSSPropertyAlignmentBaseline, |
| 394 CSSPropertyBaselineShift, | 394 CSSPropertyBaselineShift, |
| 395 CSSPropertyDominantBaseline, | 395 CSSPropertyDominantBaseline, |
| 396 CSSPropertyKerning, | 396 CSSPropertyKerning, |
| 397 CSSPropertyTextAnchor, | 397 CSSPropertyTextAnchor, |
| 398 CSSPropertyWritingMode, | 398 CSSPropertyWritingMode, |
| 399 CSSPropertyGlyphOrientationHorizontal, | 399 CSSPropertyGlyphOrientationHorizontal, |
| 400 CSSPropertyGlyphOrientationVertical, | 400 CSSPropertyGlyphOrientationVertical, |
| 401 CSSPropertyWebkitSvgShadow, | 401 CSSPropertyWebkitSvgShadow, |
| 402 CSSPropertyVectorEffect | 402 CSSPropertyVectorEffect, |
| 403 CSSPropertyPaintOrder |
| 403 #endif | 404 #endif |
| 404 }; | 405 }; |
| 405 | 406 |
| 406 const unsigned numComputedProperties = WTF_ARRAY_LENGTH(computedProperties); | 407 const unsigned numComputedProperties = WTF_ARRAY_LENGTH(computedProperties); |
| 407 | 408 |
| 408 static int valueForRepeatRule(int rule) | 409 static int valueForRepeatRule(int rule) |
| 409 { | 410 { |
| 410 switch (rule) { | 411 switch (rule) { |
| 411 case RepeatImageRule: | 412 case RepeatImageRule: |
| 412 return CSSValueRepeat; | 413 return CSSValueRepeat; |
| (...skipping 2371 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 #endif | 2798 #endif |
| 2797 } | 2799 } |
| 2798 | 2800 |
| 2799 logUnimplementedPropertyID(propertyID); | 2801 logUnimplementedPropertyID(propertyID); |
| 2800 return 0; | 2802 return 0; |
| 2801 } | 2803 } |
| 2802 | 2804 |
| 2803 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c
onst | 2805 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c
onst |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2989 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 2991 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 2990 CSSPropertyB
ackgroundClip }; | 2992 CSSPropertyB
ackgroundClip }; |
| 2991 | 2993 |
| 2992 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 2994 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 2993 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); | 2995 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); |
| 2994 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); | 2996 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); |
| 2995 return list.release(); | 2997 return list.release(); |
| 2996 } | 2998 } |
| 2997 | 2999 |
| 2998 } // namespace WebCore | 3000 } // namespace WebCore |
| OLD | NEW |