| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 CSSPropertyPaddingLeft, | 168 CSSPropertyPaddingLeft, |
| 169 CSSPropertyPaddingRight, | 169 CSSPropertyPaddingRight, |
| 170 CSSPropertyPaddingTop, | 170 CSSPropertyPaddingTop, |
| 171 CSSPropertyPageBreakAfter, | 171 CSSPropertyPageBreakAfter, |
| 172 CSSPropertyPageBreakBefore, | 172 CSSPropertyPageBreakBefore, |
| 173 CSSPropertyPageBreakInside, | 173 CSSPropertyPageBreakInside, |
| 174 CSSPropertyPointerEvents, | 174 CSSPropertyPointerEvents, |
| 175 CSSPropertyPosition, | 175 CSSPropertyPosition, |
| 176 CSSPropertyResize, | 176 CSSPropertyResize, |
| 177 CSSPropertyRight, | 177 CSSPropertyRight, |
| 178 CSSPropertyScrollBehavior, |
| 178 CSSPropertySpeak, | 179 CSSPropertySpeak, |
| 179 CSSPropertyTableLayout, | 180 CSSPropertyTableLayout, |
| 180 CSSPropertyTabSize, | 181 CSSPropertyTabSize, |
| 181 CSSPropertyTextAlign, | 182 CSSPropertyTextAlign, |
| 182 CSSPropertyTextAlignLast, | 183 CSSPropertyTextAlignLast, |
| 183 CSSPropertyTextDecoration, | 184 CSSPropertyTextDecoration, |
| 184 CSSPropertyTextDecorationLine, | 185 CSSPropertyTextDecorationLine, |
| 185 CSSPropertyTextDecorationStyle, | 186 CSSPropertyTextDecorationStyle, |
| 186 CSSPropertyTextDecorationColor, | 187 CSSPropertyTextDecorationColor, |
| 187 CSSPropertyTextJustify, | 188 CSSPropertyTextJustify, |
| (...skipping 1962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2150 if (pageBreak == PBALWAYS) | 2151 if (pageBreak == PBALWAYS) |
| 2151 return 0; | 2152 return 0; |
| 2152 return cssValuePool().createValue(style->pageBreakInside()); | 2153 return cssValuePool().createValue(style->pageBreakInside()); |
| 2153 } | 2154 } |
| 2154 case CSSPropertyPosition: | 2155 case CSSPropertyPosition: |
| 2155 return cssValuePool().createValue(style->position()); | 2156 return cssValuePool().createValue(style->position()); |
| 2156 case CSSPropertyRight: | 2157 case CSSPropertyRight: |
| 2157 return valueForPositionOffset(*style, CSSPropertyRight, renderer); | 2158 return valueForPositionOffset(*style, CSSPropertyRight, renderer); |
| 2158 case CSSPropertyWebkitRubyPosition: | 2159 case CSSPropertyWebkitRubyPosition: |
| 2159 return cssValuePool().createValue(style->rubyPosition()); | 2160 return cssValuePool().createValue(style->rubyPosition()); |
| 2161 case CSSPropertyScrollBehavior: |
| 2162 return cssValuePool().createValue(style->scrollBehavior()); |
| 2160 case CSSPropertyTableLayout: | 2163 case CSSPropertyTableLayout: |
| 2161 return cssValuePool().createValue(style->tableLayout()); | 2164 return cssValuePool().createValue(style->tableLayout()); |
| 2162 case CSSPropertyTextAlign: | 2165 case CSSPropertyTextAlign: |
| 2163 return cssValuePool().createValue(style->textAlign()); | 2166 return cssValuePool().createValue(style->textAlign()); |
| 2164 case CSSPropertyTextAlignLast: | 2167 case CSSPropertyTextAlignLast: |
| 2165 return cssValuePool().createValue(style->textAlignLast()); | 2168 return cssValuePool().createValue(style->textAlignLast()); |
| 2166 case CSSPropertyTextDecoration: | 2169 case CSSPropertyTextDecoration: |
| 2167 return valuesForShorthandProperty(textDecorationShorthand()); | 2170 return valuesForShorthandProperty(textDecorationShorthand()); |
| 2168 case CSSPropertyTextDecorationLine: | 2171 case CSSPropertyTextDecorationLine: |
| 2169 return renderTextDecorationFlagsToCSSValue(style->textDecoration()); | 2172 return renderTextDecorationFlagsToCSSValue(style->textDecoration()); |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3144 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3147 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 3145 CSSPropertyB
ackgroundClip }; | 3148 CSSPropertyB
ackgroundClip }; |
| 3146 | 3149 |
| 3147 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3150 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 3148 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 3151 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 3149 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 3152 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 3150 return list.release(); | 3153 return list.release(); |
| 3151 } | 3154 } |
| 3152 | 3155 |
| 3153 } // namespace WebCore | 3156 } // namespace WebCore |
| OLD | NEW |