| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 CSSPropertyBorderTopRightRadius, | 104 CSSPropertyBorderTopRightRadius, |
| 105 CSSPropertyBorderTopStyle, | 105 CSSPropertyBorderTopStyle, |
| 106 CSSPropertyBorderTopWidth, | 106 CSSPropertyBorderTopWidth, |
| 107 CSSPropertyBottom, | 107 CSSPropertyBottom, |
| 108 CSSPropertyBoxShadow, | 108 CSSPropertyBoxShadow, |
| 109 CSSPropertyBoxSizing, | 109 CSSPropertyBoxSizing, |
| 110 CSSPropertyClip, | 110 CSSPropertyClip, |
| 111 CSSPropertyColor, | 111 CSSPropertyColor, |
| 112 CSSPropertyDirection, | 112 CSSPropertyDirection, |
| 113 CSSPropertyDisplay, | 113 CSSPropertyDisplay, |
| 114 CSSPropertyEmptyCells, | |
| 115 CSSPropertyFontFamily, | 114 CSSPropertyFontFamily, |
| 116 CSSPropertyFontKerning, | 115 CSSPropertyFontKerning, |
| 117 CSSPropertyFontSize, | 116 CSSPropertyFontSize, |
| 118 CSSPropertyFontStretch, | 117 CSSPropertyFontStretch, |
| 119 CSSPropertyFontStyle, | 118 CSSPropertyFontStyle, |
| 120 CSSPropertyFontVariant, | 119 CSSPropertyFontVariant, |
| 121 CSSPropertyFontVariantLigatures, | 120 CSSPropertyFontVariantLigatures, |
| 122 CSSPropertyFontWeight, | 121 CSSPropertyFontWeight, |
| 123 CSSPropertyHeight, | 122 CSSPropertyHeight, |
| 124 CSSPropertyImageRendering, | 123 CSSPropertyImageRendering, |
| (...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1357 case CSSPropertyWebkitBoxShadow: | 1356 case CSSPropertyWebkitBoxShadow: |
| 1358 return valueForShadowList(style->boxShadow(), *style, true); | 1357 return valueForShadowList(style->boxShadow(), *style, true); |
| 1359 case CSSPropertyColor: | 1358 case CSSPropertyColor: |
| 1360 return cssValuePool().createColorValue(m_allowVisitedStyle ? style->
colorIncludingFallback(CSSPropertyColor).rgb() : style->color().rgb()); | 1359 return cssValuePool().createColorValue(m_allowVisitedStyle ? style->
colorIncludingFallback(CSSPropertyColor).rgb() : style->color().rgb()); |
| 1361 case CSSPropertyTabSize: | 1360 case CSSPropertyTabSize: |
| 1362 return cssValuePool().createValue(style->tabSize(), CSSPrimitiveValu
e::CSS_NUMBER); | 1361 return cssValuePool().createValue(style->tabSize(), CSSPrimitiveValu
e::CSS_NUMBER); |
| 1363 case CSSPropertyDirection: | 1362 case CSSPropertyDirection: |
| 1364 return cssValuePool().createValue(style->direction()); | 1363 return cssValuePool().createValue(style->direction()); |
| 1365 case CSSPropertyDisplay: | 1364 case CSSPropertyDisplay: |
| 1366 return cssValuePool().createValue(style->display()); | 1365 return cssValuePool().createValue(style->display()); |
| 1367 case CSSPropertyEmptyCells: | |
| 1368 return cssValuePool().createValue(style->emptyCells()); | |
| 1369 case CSSPropertyAlignContent: | 1366 case CSSPropertyAlignContent: |
| 1370 return cssValuePool().createValue(style->alignContent()); | 1367 return cssValuePool().createValue(style->alignContent()); |
| 1371 case CSSPropertyAlignItems: | 1368 case CSSPropertyAlignItems: |
| 1372 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->alignItems(), m_node.get()), style->alignItemsOverflowAlignment(), NonL
egacyPosition); | 1369 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->alignItems(), m_node.get()), style->alignItemsOverflowAlignment(), NonL
egacyPosition); |
| 1373 case CSSPropertyAlignSelf: | 1370 case CSSPropertyAlignSelf: |
| 1374 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->alignSelf(), m_node->parentNode()), style->alignSelfOverflowAlignment()
, NonLegacyPosition); | 1371 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAut
o(style->alignSelf(), m_node->parentNode()), style->alignSelfOverflowAlignment()
, NonLegacyPosition); |
| 1375 case CSSPropertyFlex: | 1372 case CSSPropertyFlex: |
| 1376 return valuesForShorthandProperty(flexShorthand()); | 1373 return valuesForShorthandProperty(flexShorthand()); |
| 1377 case CSSPropertyFlexBasis: | 1374 case CSSPropertyFlexBasis: |
| 1378 return pixelValueForLength(style->flexBasis(), *style); | 1375 return pixelValueForLength(style->flexBasis(), *style); |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2242 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 2239 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 2243 CSSPropertyB
ackgroundClip }; | 2240 CSSPropertyB
ackgroundClip }; |
| 2244 | 2241 |
| 2245 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 2242 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 2246 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 2243 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 2247 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 2244 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 2248 return list.release(); | 2245 return list.release(); |
| 2249 } | 2246 } |
| 2250 | 2247 |
| 2251 } // namespace blink | 2248 } // namespace blink |
| OLD | NEW |