| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 CSSPropertyWebkitTransformOrigin, | 296 CSSPropertyWebkitTransformOrigin, |
| 297 CSSPropertyTransformStyle, | 297 CSSPropertyTransformStyle, |
| 298 CSSPropertyWebkitTransformStyle, | 298 CSSPropertyWebkitTransformStyle, |
| 299 CSSPropertyWebkitTransitionDelay, | 299 CSSPropertyWebkitTransitionDelay, |
| 300 CSSPropertyWebkitTransitionDuration, | 300 CSSPropertyWebkitTransitionDuration, |
| 301 CSSPropertyWebkitTransitionProperty, | 301 CSSPropertyWebkitTransitionProperty, |
| 302 CSSPropertyWebkitTransitionTimingFunction, | 302 CSSPropertyWebkitTransitionTimingFunction, |
| 303 CSSPropertyWebkitUserDrag, | 303 CSSPropertyWebkitUserDrag, |
| 304 CSSPropertyWebkitUserModify, | 304 CSSPropertyWebkitUserModify, |
| 305 CSSPropertyWebkitUserSelect, | 305 CSSPropertyWebkitUserSelect, |
| 306 CSSPropertyWebkitWritingMode, | |
| 307 CSSPropertyMaskSourceType, | 306 CSSPropertyMaskSourceType, |
| 308 }; | 307 }; |
| 309 | 308 |
| 310 static const Vector<CSSPropertyID>& computableProperties() | 309 static const Vector<CSSPropertyID>& computableProperties() |
| 311 { | 310 { |
| 312 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); | 311 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |
| 313 if (properties.isEmpty()) | 312 if (properties.isEmpty()) |
| 314 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab
leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); | 313 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab
leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); |
| 315 return properties; | 314 return properties; |
| 316 } | 315 } |
| (...skipping 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2402 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); | 2401 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); |
| 2403 // transition-property default value. | 2402 // transition-property default value. |
| 2404 list->append(cssValuePool().createIdentifierValue(CSSValueAll)); | 2403 list->append(cssValuePool().createIdentifierValue(CSSValueAll)); |
| 2405 list->append(cssValuePool().createValue(CSSTransitionData::initialDu
ration(), CSSPrimitiveValue::CSS_S)); | 2404 list->append(cssValuePool().createValue(CSSTransitionData::initialDu
ration(), CSSPrimitiveValue::CSS_S)); |
| 2406 list->append(createTimingFunctionValue(CSSTransitionData::initialTim
ingFunction().get())); | 2405 list->append(createTimingFunctionValue(CSSTransitionData::initialTim
ingFunction().get())); |
| 2407 list->append(cssValuePool().createValue(CSSTransitionData::initialDe
lay(), CSSPrimitiveValue::CSS_S)); | 2406 list->append(cssValuePool().createValue(CSSTransitionData::initialDe
lay(), CSSPrimitiveValue::CSS_S)); |
| 2408 return list.release(); | 2407 return list.release(); |
| 2409 } | 2408 } |
| 2410 case CSSPropertyPointerEvents: | 2409 case CSSPropertyPointerEvents: |
| 2411 return cssValuePool().createValue(style->pointerEvents()); | 2410 return cssValuePool().createValue(style->pointerEvents()); |
| 2412 case CSSPropertyWebkitWritingMode: | |
| 2413 return cssValuePool().createValue(style->writingMode()); | |
| 2414 case CSSPropertyWebkitTextCombine: | 2411 case CSSPropertyWebkitTextCombine: |
| 2415 return cssValuePool().createValue(style->textCombine()); | 2412 return cssValuePool().createValue(style->textCombine()); |
| 2416 case CSSPropertyWebkitTextOrientation: | 2413 case CSSPropertyWebkitTextOrientation: |
| 2417 return CSSPrimitiveValue::create(style->textOrientation()); | 2414 return CSSPrimitiveValue::create(style->textOrientation()); |
| 2418 case CSSPropertyWebkitLineBoxContain: | 2415 case CSSPropertyWebkitLineBoxContain: |
| 2419 return createLineBoxContainValue(style->lineBoxContain()); | 2416 return createLineBoxContainValue(style->lineBoxContain()); |
| 2420 case CSSPropertyContent: | 2417 case CSSPropertyContent: |
| 2421 return valueForContentData(*style); | 2418 return valueForContentData(*style); |
| 2422 case CSSPropertyWebkitClipPath: | 2419 case CSSPropertyWebkitClipPath: |
| 2423 if (ClipPathOperation* operation = style->clipPath()) { | 2420 if (ClipPathOperation* operation = style->clipPath()) { |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2753 return list.release(); | 2750 return list.release(); |
| 2754 } | 2751 } |
| 2755 | 2752 |
| 2756 void CSSComputedStyleDeclaration::trace(Visitor* visitor) | 2753 void CSSComputedStyleDeclaration::trace(Visitor* visitor) |
| 2757 { | 2754 { |
| 2758 visitor->trace(m_node); | 2755 visitor->trace(m_node); |
| 2759 CSSStyleDeclaration::trace(visitor); | 2756 CSSStyleDeclaration::trace(visitor); |
| 2760 } | 2757 } |
| 2761 | 2758 |
| 2762 } // namespace blink | 2759 } // namespace blink |
| OLD | NEW |