| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  327     CSSPropertyCy, |  327     CSSPropertyCy, | 
|  328     CSSPropertyX, |  328     CSSPropertyX, | 
|  329     CSSPropertyY, |  329     CSSPropertyY, | 
|  330     CSSPropertyR, |  330     CSSPropertyR, | 
|  331     CSSPropertyRx, |  331     CSSPropertyRx, | 
|  332     CSSPropertyRy, |  332     CSSPropertyRy, | 
|  333     CSSPropertyScrollSnapType, |  333     CSSPropertyScrollSnapType, | 
|  334     CSSPropertyScrollSnapPointsX, |  334     CSSPropertyScrollSnapPointsX, | 
|  335     CSSPropertyScrollSnapPointsY, |  335     CSSPropertyScrollSnapPointsY, | 
|  336     CSSPropertyScrollSnapCoordinate, |  336     CSSPropertyScrollSnapCoordinate, | 
|  337     CSSPropertyScrollSnapDestination |  337     CSSPropertyScrollSnapDestination, | 
 |  338     CSSPropertyTranslate, | 
 |  339     CSSPropertyRotate, | 
 |  340     CSSPropertyScale | 
|  338 }; |  341 }; | 
|  339  |  342  | 
|  340 static const Vector<CSSPropertyID>& computableProperties() |  343 static const Vector<CSSPropertyID>& computableProperties() | 
|  341 { |  344 { | 
|  342     DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |  345     DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); | 
|  343     if (properties.isEmpty()) |  346     if (properties.isEmpty()) | 
|  344         CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab
     leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); |  347         CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab
     leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); | 
|  345     return properties; |  348     return properties; | 
|  346 } |  349 } | 
|  347  |  350  | 
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  456     // statement must remain in sync with the conditions in the main switch. |  459     // statement must remain in sync with the conditions in the main switch. | 
|  457     // FIXME: Some of these cases could be narrowed down or optimized better. |  460     // FIXME: Some of these cases could be narrowed down or optimized better. | 
|  458     switch (propertyID) { |  461     switch (propertyID) { | 
|  459     case CSSPropertyBottom: |  462     case CSSPropertyBottom: | 
|  460     case CSSPropertyHeight: |  463     case CSSPropertyHeight: | 
|  461     case CSSPropertyLeft: |  464     case CSSPropertyLeft: | 
|  462     case CSSPropertyRight: |  465     case CSSPropertyRight: | 
|  463     case CSSPropertyTop: |  466     case CSSPropertyTop: | 
|  464     case CSSPropertyPerspectiveOrigin: |  467     case CSSPropertyPerspectiveOrigin: | 
|  465     case CSSPropertyTransform: |  468     case CSSPropertyTransform: | 
 |  469     case CSSPropertyTranslate: | 
 |  470     case CSSPropertyRotate: | 
 |  471     case CSSPropertyScale: | 
|  466     case CSSPropertyTransformOrigin: |  472     case CSSPropertyTransformOrigin: | 
|  467     case CSSPropertyMotionPath: |  473     case CSSPropertyMotionPath: | 
|  468     case CSSPropertyMotionOffset: |  474     case CSSPropertyMotionOffset: | 
|  469     case CSSPropertyMotionRotation: |  475     case CSSPropertyMotionRotation: | 
|  470     case CSSPropertyWidth: |  476     case CSSPropertyWidth: | 
|  471     case CSSPropertyWebkitFilter: |  477     case CSSPropertyWebkitFilter: | 
|  472     case CSSPropertyX: |  478     case CSSPropertyX: | 
|  473     case CSSPropertyY: |  479     case CSSPropertyY: | 
|  474     case CSSPropertyRx: |  480     case CSSPropertyRx: | 
|  475     case CSSPropertyRy: |  481     case CSSPropertyRy: | 
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  683     exceptionState.throwDOMException(NoModificationAllowedError, "These styles a
     re computed, and therefore the '" + getPropertyNameString(id) + "' property is r
     ead-only."); |  689     exceptionState.throwDOMException(NoModificationAllowedError, "These styles a
     re computed, and therefore the '" + getPropertyNameString(id) + "' property is r
     ead-only."); | 
|  684 } |  690 } | 
|  685  |  691  | 
|  686 DEFINE_TRACE(CSSComputedStyleDeclaration) |  692 DEFINE_TRACE(CSSComputedStyleDeclaration) | 
|  687 { |  693 { | 
|  688     visitor->trace(m_node); |  694     visitor->trace(m_node); | 
|  689     CSSStyleDeclaration::trace(visitor); |  695     CSSStyleDeclaration::trace(visitor); | 
|  690 } |  696 } | 
|  691  |  697  | 
|  692 } // namespace blink |  698 } // namespace blink | 
| OLD | NEW |