| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 CSSPropertyWebkitAnimationName, | 220 CSSPropertyWebkitAnimationName, |
| 221 CSSPropertyWebkitAnimationPlayState, | 221 CSSPropertyWebkitAnimationPlayState, |
| 222 CSSPropertyWebkitAnimationTimingFunction, | 222 CSSPropertyWebkitAnimationTimingFunction, |
| 223 CSSPropertyWebkitAppearance, | 223 CSSPropertyWebkitAppearance, |
| 224 CSSPropertyBackfaceVisibility, | 224 CSSPropertyBackfaceVisibility, |
| 225 CSSPropertyWebkitBackfaceVisibility, | 225 CSSPropertyWebkitBackfaceVisibility, |
| 226 CSSPropertyWebkitBackgroundClip, | 226 CSSPropertyWebkitBackgroundClip, |
| 227 CSSPropertyWebkitBackgroundComposite, | 227 CSSPropertyWebkitBackgroundComposite, |
| 228 CSSPropertyWebkitBackgroundOrigin, | 228 CSSPropertyWebkitBackgroundOrigin, |
| 229 CSSPropertyWebkitBackgroundSize, | 229 CSSPropertyWebkitBackgroundSize, |
| 230 CSSPropertyWebkitBorderFit, | |
| 231 CSSPropertyWebkitBorderHorizontalSpacing, | 230 CSSPropertyWebkitBorderHorizontalSpacing, |
| 232 CSSPropertyWebkitBorderImage, | 231 CSSPropertyWebkitBorderImage, |
| 233 CSSPropertyWebkitBorderVerticalSpacing, | 232 CSSPropertyWebkitBorderVerticalSpacing, |
| 234 CSSPropertyWebkitBoxAlign, | 233 CSSPropertyWebkitBoxAlign, |
| 235 CSSPropertyWebkitBoxDecorationBreak, | 234 CSSPropertyWebkitBoxDecorationBreak, |
| 236 CSSPropertyWebkitBoxDirection, | 235 CSSPropertyWebkitBoxDirection, |
| 237 CSSPropertyWebkitBoxFlex, | 236 CSSPropertyWebkitBoxFlex, |
| 238 CSSPropertyWebkitBoxFlexGroup, | 237 CSSPropertyWebkitBoxFlexGroup, |
| 239 CSSPropertyWebkitBoxLines, | 238 CSSPropertyWebkitBoxLines, |
| 240 CSSPropertyWebkitBoxOrdinalGroup, | 239 CSSPropertyWebkitBoxOrdinalGroup, |
| (...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1983 } | 1982 } |
| 1984 return zoomAdjustedPixelValueForLength(style->height(), *style); | 1983 return zoomAdjustedPixelValueForLength(style->height(), *style); |
| 1985 case CSSPropertyWebkitHighlight: | 1984 case CSSPropertyWebkitHighlight: |
| 1986 if (style->highlight() == nullAtom) | 1985 if (style->highlight() == nullAtom) |
| 1987 return cssValuePool().createIdentifierValue(CSSValueNone); | 1986 return cssValuePool().createIdentifierValue(CSSValueNone); |
| 1988 return cssValuePool().createValue(style->highlight(), CSSPrimitiveVa
lue::CSS_STRING); | 1987 return cssValuePool().createValue(style->highlight(), CSSPrimitiveVa
lue::CSS_STRING); |
| 1989 case CSSPropertyWebkitHyphenateCharacter: | 1988 case CSSPropertyWebkitHyphenateCharacter: |
| 1990 if (style->hyphenationString().isNull()) | 1989 if (style->hyphenationString().isNull()) |
| 1991 return cssValuePool().createIdentifierValue(CSSValueAuto); | 1990 return cssValuePool().createIdentifierValue(CSSValueAuto); |
| 1992 return cssValuePool().createValue(style->hyphenationString(), CSSPri
mitiveValue::CSS_STRING); | 1991 return cssValuePool().createValue(style->hyphenationString(), CSSPri
mitiveValue::CSS_STRING); |
| 1993 case CSSPropertyWebkitBorderFit: | |
| 1994 if (style->borderFit() == BorderFitBorder) | |
| 1995 return cssValuePool().createIdentifierValue(CSSValueBorder); | |
| 1996 return cssValuePool().createIdentifierValue(CSSValueLines); | |
| 1997 case CSSPropertyImageRendering: | 1992 case CSSPropertyImageRendering: |
| 1998 return CSSPrimitiveValue::create(style->imageRendering()); | 1993 return CSSPrimitiveValue::create(style->imageRendering()); |
| 1999 case CSSPropertyIsolation: | 1994 case CSSPropertyIsolation: |
| 2000 return cssValuePool().createValue(style->isolation()); | 1995 return cssValuePool().createValue(style->isolation()); |
| 2001 case CSSPropertyJustifyItems: | 1996 case CSSPropertyJustifyItems: |
| 2002 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifyItems(), styledNode), style->justifyItemsOverflowAlignment(), st
yle->justifyItemsPositionType()); | 1997 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifyItems(), styledNode), style->justifyItemsOverflowAlignment(), st
yle->justifyItemsPositionType()); |
| 2003 case CSSPropertyJustifySelf: | 1998 case CSSPropertyJustifySelf: |
| 2004 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifySelf(), styledNode->parentNode()), style->justifySelfOverflowAli
gnment(), NonLegacyPosition); | 1999 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->justifySelf(), styledNode->parentNode()), style->justifySelfOverflowAli
gnment(), NonLegacyPosition); |
| 2005 case CSSPropertyLeft: | 2000 case CSSPropertyLeft: |
| 2006 return valueForPositionOffset(*style, CSSPropertyLeft, renderer); | 2001 return valueForPositionOffset(*style, CSSPropertyLeft, renderer); |
| (...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3003 return list.release(); | 2998 return list.release(); |
| 3004 } | 2999 } |
| 3005 | 3000 |
| 3006 void CSSComputedStyleDeclaration::trace(Visitor* visitor) | 3001 void CSSComputedStyleDeclaration::trace(Visitor* visitor) |
| 3007 { | 3002 { |
| 3008 visitor->trace(m_node); | 3003 visitor->trace(m_node); |
| 3009 CSSStyleDeclaration::trace(visitor); | 3004 CSSStyleDeclaration::trace(visitor); |
| 3010 } | 3005 } |
| 3011 | 3006 |
| 3012 } // namespace blink | 3007 } // namespace blink |
| OLD | NEW |