| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 CSSPropertyWebkitAnimationIterationCount, | 214 CSSPropertyWebkitAnimationIterationCount, |
| 215 CSSPropertyWebkitAnimationName, | 215 CSSPropertyWebkitAnimationName, |
| 216 CSSPropertyWebkitAnimationPlayState, | 216 CSSPropertyWebkitAnimationPlayState, |
| 217 CSSPropertyWebkitAnimationTimingFunction, | 217 CSSPropertyWebkitAnimationTimingFunction, |
| 218 CSSPropertyBackfaceVisibility, | 218 CSSPropertyBackfaceVisibility, |
| 219 CSSPropertyWebkitBackfaceVisibility, | 219 CSSPropertyWebkitBackfaceVisibility, |
| 220 CSSPropertyWebkitBackgroundClip, | 220 CSSPropertyWebkitBackgroundClip, |
| 221 CSSPropertyWebkitBackgroundComposite, | 221 CSSPropertyWebkitBackgroundComposite, |
| 222 CSSPropertyWebkitBackgroundOrigin, | 222 CSSPropertyWebkitBackgroundOrigin, |
| 223 CSSPropertyWebkitBackgroundSize, | 223 CSSPropertyWebkitBackgroundSize, |
| 224 CSSPropertyWebkitBorderFit, | |
| 225 CSSPropertyWebkitBorderHorizontalSpacing, | 224 CSSPropertyWebkitBorderHorizontalSpacing, |
| 226 CSSPropertyWebkitBorderImage, | 225 CSSPropertyWebkitBorderImage, |
| 227 CSSPropertyWebkitBorderVerticalSpacing, | 226 CSSPropertyWebkitBorderVerticalSpacing, |
| 228 CSSPropertyWebkitBoxDecorationBreak, | 227 CSSPropertyWebkitBoxDecorationBreak, |
| 229 CSSPropertyWebkitBoxShadow, | 228 CSSPropertyWebkitBoxShadow, |
| 230 CSSPropertyWebkitClipPath, | 229 CSSPropertyWebkitClipPath, |
| 231 CSSPropertyWebkitFilter, | 230 CSSPropertyWebkitFilter, |
| 232 CSSPropertyAlignContent, | 231 CSSPropertyAlignContent, |
| 233 CSSPropertyAlignItems, | 232 CSSPropertyAlignItems, |
| 234 CSSPropertyAlignSelf, | 233 CSSPropertyAlignSelf, |
| (...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1798 } | 1797 } |
| 1799 return zoomAdjustedPixelValueForLength(style->height(), *style); | 1798 return zoomAdjustedPixelValueForLength(style->height(), *style); |
| 1800 case CSSPropertyWebkitHighlight: | 1799 case CSSPropertyWebkitHighlight: |
| 1801 if (style->highlight() == nullAtom) | 1800 if (style->highlight() == nullAtom) |
| 1802 return cssValuePool().createIdentifierValue(CSSValueNone); | 1801 return cssValuePool().createIdentifierValue(CSSValueNone); |
| 1803 return cssValuePool().createValue(style->highlight(), CSSPrimitiveVa
lue::CSS_STRING); | 1802 return cssValuePool().createValue(style->highlight(), CSSPrimitiveVa
lue::CSS_STRING); |
| 1804 case CSSPropertyWebkitHyphenateCharacter: | 1803 case CSSPropertyWebkitHyphenateCharacter: |
| 1805 if (style->hyphenationString().isNull()) | 1804 if (style->hyphenationString().isNull()) |
| 1806 return cssValuePool().createIdentifierValue(CSSValueAuto); | 1805 return cssValuePool().createIdentifierValue(CSSValueAuto); |
| 1807 return cssValuePool().createValue(style->hyphenationString(), CSSPri
mitiveValue::CSS_STRING); | 1806 return cssValuePool().createValue(style->hyphenationString(), CSSPri
mitiveValue::CSS_STRING); |
| 1808 case CSSPropertyWebkitBorderFit: | |
| 1809 if (style->borderFit() == BorderFitBorder) | |
| 1810 return cssValuePool().createIdentifierValue(CSSValueBorder); | |
| 1811 return cssValuePool().createIdentifierValue(CSSValueLines); | |
| 1812 case CSSPropertyImageRendering: | 1807 case CSSPropertyImageRendering: |
| 1813 return CSSPrimitiveValue::create(style->imageRendering()); | 1808 return CSSPrimitiveValue::create(style->imageRendering()); |
| 1814 case CSSPropertyIsolation: | 1809 case CSSPropertyIsolation: |
| 1815 return cssValuePool().createValue(style->isolation()); | 1810 return cssValuePool().createValue(style->isolation()); |
| 1816 case CSSPropertyJustifyItems: | 1811 case CSSPropertyJustifyItems: |
| 1817 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifyItems(), m_node.get()), style->justifyItemsOverflowAlignment(),
style->justifyItemsPositionType()); | 1812 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifyItems(), m_node.get()), style->justifyItemsOverflowAlignment(),
style->justifyItemsPositionType()); |
| 1818 case CSSPropertyJustifySelf: | 1813 case CSSPropertyJustifySelf: |
| 1819 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifySelf(), m_node->parentNode()), style->justifySelfOverflowAlignme
nt(), NonLegacyPosition); | 1814 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifySelf(), m_node->parentNode()), style->justifySelfOverflowAlignme
nt(), NonLegacyPosition); |
| 1820 case CSSPropertyLeft: | 1815 case CSSPropertyLeft: |
| 1821 return valueForPositionOffset(*style, CSSPropertyLeft, renderer); | 1816 return valueForPositionOffset(*style, CSSPropertyLeft, renderer); |
| (...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2747 return list.release(); | 2742 return list.release(); |
| 2748 } | 2743 } |
| 2749 | 2744 |
| 2750 void CSSComputedStyleDeclaration::trace(Visitor* visitor) | 2745 void CSSComputedStyleDeclaration::trace(Visitor* visitor) |
| 2751 { | 2746 { |
| 2752 visitor->trace(m_node); | 2747 visitor->trace(m_node); |
| 2753 CSSStyleDeclaration::trace(visitor); | 2748 CSSStyleDeclaration::trace(visitor); |
| 2754 } | 2749 } |
| 2755 | 2750 |
| 2756 } // namespace blink | 2751 } // namespace blink |
| OLD | NEW |