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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 CSSPropertyStrokeWidth, | 336 CSSPropertyStrokeWidth, |
337 CSSPropertyAlignmentBaseline, | 337 CSSPropertyAlignmentBaseline, |
338 CSSPropertyBaselineShift, | 338 CSSPropertyBaselineShift, |
339 CSSPropertyDominantBaseline, | 339 CSSPropertyDominantBaseline, |
340 CSSPropertyTextAnchor, | 340 CSSPropertyTextAnchor, |
341 CSSPropertyWritingMode, | 341 CSSPropertyWritingMode, |
342 CSSPropertyGlyphOrientationHorizontal, | 342 CSSPropertyGlyphOrientationHorizontal, |
343 CSSPropertyGlyphOrientationVertical, | 343 CSSPropertyGlyphOrientationVertical, |
344 CSSPropertyVectorEffect, | 344 CSSPropertyVectorEffect, |
345 CSSPropertyPaintOrder, | 345 CSSPropertyPaintOrder, |
| 346 CSSPropertyCx, |
| 347 CSSPropertyCy, |
346 CSSPropertyX, | 348 CSSPropertyX, |
347 CSSPropertyY, | 349 CSSPropertyY, |
| 350 CSSPropertyR, |
348 CSSPropertyRx, | 351 CSSPropertyRx, |
349 CSSPropertyRy | 352 CSSPropertyRy |
350 }; | 353 }; |
351 | 354 |
352 static const Vector<CSSPropertyID>& computableProperties() | 355 static const Vector<CSSPropertyID>& computableProperties() |
353 { | 356 { |
354 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); | 357 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |
355 if (properties.isEmpty()) | 358 if (properties.isEmpty()) |
356 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab
leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); | 359 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab
leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); |
357 return properties; | 360 return properties; |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a
re computed, and therefore the '" + getPropertyNameString(id) + "' property is r
ead-only."); | 694 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a
re computed, and therefore the '" + getPropertyNameString(id) + "' property is r
ead-only."); |
692 } | 695 } |
693 | 696 |
694 DEFINE_TRACE(CSSComputedStyleDeclaration) | 697 DEFINE_TRACE(CSSComputedStyleDeclaration) |
695 { | 698 { |
696 visitor->trace(m_node); | 699 visitor->trace(m_node); |
697 CSSStyleDeclaration::trace(visitor); | 700 CSSStyleDeclaration::trace(visitor); |
698 } | 701 } |
699 | 702 |
700 } // namespace blink | 703 } // namespace blink |
OLD | NEW |