| 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. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. |
| 4 * All rights reserved. | 4 * All rights reserved. |
| 5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
| 7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 CSSPropertyStrokeDashoffset, CSSPropertyStrokeLinecap, | 166 CSSPropertyStrokeDashoffset, CSSPropertyStrokeLinecap, |
| 167 CSSPropertyStrokeLinejoin, CSSPropertyStrokeMiterlimit, | 167 CSSPropertyStrokeLinejoin, CSSPropertyStrokeMiterlimit, |
| 168 CSSPropertyStrokeOpacity, CSSPropertyStrokeWidth, | 168 CSSPropertyStrokeOpacity, CSSPropertyStrokeWidth, |
| 169 CSSPropertyAlignmentBaseline, CSSPropertyBaselineShift, | 169 CSSPropertyAlignmentBaseline, CSSPropertyBaselineShift, |
| 170 CSSPropertyDominantBaseline, CSSPropertyTextAnchor, CSSPropertyWritingMode, | 170 CSSPropertyDominantBaseline, CSSPropertyTextAnchor, CSSPropertyWritingMode, |
| 171 CSSPropertyVectorEffect, CSSPropertyPaintOrder, CSSPropertyD, CSSPropertyCx, | 171 CSSPropertyVectorEffect, CSSPropertyPaintOrder, CSSPropertyD, CSSPropertyCx, |
| 172 CSSPropertyCy, CSSPropertyX, CSSPropertyY, CSSPropertyR, CSSPropertyRx, | 172 CSSPropertyCy, CSSPropertyX, CSSPropertyY, CSSPropertyR, CSSPropertyRx, |
| 173 CSSPropertyRy, CSSPropertyScrollSnapType, CSSPropertyScrollSnapPointsX, | 173 CSSPropertyRy, CSSPropertyScrollSnapType, CSSPropertyScrollSnapPointsX, |
| 174 CSSPropertyScrollSnapPointsY, CSSPropertyScrollSnapCoordinate, | 174 CSSPropertyScrollSnapPointsY, CSSPropertyScrollSnapCoordinate, |
| 175 CSSPropertyScrollSnapDestination, CSSPropertyTranslate, CSSPropertyRotate, | 175 CSSPropertyScrollSnapDestination, CSSPropertyTranslate, CSSPropertyRotate, |
| 176 CSSPropertyScale, | 176 CSSPropertyScale, CSSPropertyCaretColor}; |
| 177 }; | |
| 178 | 177 |
| 179 static const Vector<CSSPropertyID>& computableProperties() { | 178 static const Vector<CSSPropertyID>& computableProperties() { |
| 180 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); | 179 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |
| 181 if (properties.isEmpty()) | 180 if (properties.isEmpty()) |
| 182 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector( | 181 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector( |
| 183 staticComputableProperties, | 182 staticComputableProperties, |
| 184 WTF_ARRAY_LENGTH(staticComputableProperties), properties); | 183 WTF_ARRAY_LENGTH(staticComputableProperties), properties); |
| 185 return properties; | 184 return properties; |
| 186 } | 185 } |
| 187 | 186 |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 "These styles are computed, and therefore the '" + | 558 "These styles are computed, and therefore the '" + |
| 560 getPropertyNameString(id) + "' property is read-only."); | 559 getPropertyNameString(id) + "' property is read-only."); |
| 561 } | 560 } |
| 562 | 561 |
| 563 DEFINE_TRACE(CSSComputedStyleDeclaration) { | 562 DEFINE_TRACE(CSSComputedStyleDeclaration) { |
| 564 visitor->trace(m_node); | 563 visitor->trace(m_node); |
| 565 CSSStyleDeclaration::trace(visitor); | 564 CSSStyleDeclaration::trace(visitor); |
| 566 } | 565 } |
| 567 | 566 |
| 568 } // namespace blink | 567 } // namespace blink |
| OLD | NEW |