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