| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 CSSPropertyRight, | 181 CSSPropertyRight, |
| 182 CSSPropertySpeak, | 182 CSSPropertySpeak, |
| 183 CSSPropertyTableLayout, | 183 CSSPropertyTableLayout, |
| 184 CSSPropertyTabSize, | 184 CSSPropertyTabSize, |
| 185 CSSPropertyTextAlign, | 185 CSSPropertyTextAlign, |
| 186 CSSPropertyTextAlignLast, | 186 CSSPropertyTextAlignLast, |
| 187 CSSPropertyTextDecoration, | 187 CSSPropertyTextDecoration, |
| 188 CSSPropertyTextDecorationLine, | 188 CSSPropertyTextDecorationLine, |
| 189 CSSPropertyTextDecorationStyle, | 189 CSSPropertyTextDecorationStyle, |
| 190 CSSPropertyTextDecorationColor, | 190 CSSPropertyTextDecorationColor, |
| 191 CSSPropertyTextJustify, |
| 191 #if ENABLE(CSS3_TEXT) | 192 #if ENABLE(CSS3_TEXT) |
| 192 CSSPropertyWebkitTextUnderlinePosition, | 193 CSSPropertyWebkitTextUnderlinePosition, |
| 193 #endif // CSS3_TEXT | 194 #endif // CSS3_TEXT |
| 194 CSSPropertyTextIndent, | 195 CSSPropertyTextIndent, |
| 195 CSSPropertyTextRendering, | 196 CSSPropertyTextRendering, |
| 196 CSSPropertyTextShadow, | 197 CSSPropertyTextShadow, |
| 197 CSSPropertyTextOverflow, | 198 CSSPropertyTextOverflow, |
| 198 CSSPropertyTextTransform, | 199 CSSPropertyTextTransform, |
| 199 CSSPropertyTop, | 200 CSSPropertyTop, |
| 200 CSSPropertyTouchAction, | 201 CSSPropertyTouchAction, |
| (...skipping 2058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2259 case CSSPropertyTextAlignLast: | 2260 case CSSPropertyTextAlignLast: |
| 2260 return cssValuePool().createValue(style->textAlignLast()); | 2261 return cssValuePool().createValue(style->textAlignLast()); |
| 2261 case CSSPropertyTextDecoration: | 2262 case CSSPropertyTextDecoration: |
| 2262 return valuesForShorthandProperty(textDecorationShorthand()); | 2263 return valuesForShorthandProperty(textDecorationShorthand()); |
| 2263 case CSSPropertyTextDecorationLine: | 2264 case CSSPropertyTextDecorationLine: |
| 2264 return renderTextDecorationFlagsToCSSValue(style->textDecoration()); | 2265 return renderTextDecorationFlagsToCSSValue(style->textDecoration()); |
| 2265 case CSSPropertyTextDecorationStyle: | 2266 case CSSPropertyTextDecorationStyle: |
| 2266 return valueForTextDecorationStyle(style->textDecorationStyle()); | 2267 return valueForTextDecorationStyle(style->textDecorationStyle()); |
| 2267 case CSSPropertyTextDecorationColor: | 2268 case CSSPropertyTextDecorationColor: |
| 2268 return currentColorOrValidColor(style.get(), style->textDecorationCo
lor()); | 2269 return currentColorOrValidColor(style.get(), style->textDecorationCo
lor()); |
| 2270 case CSSPropertyTextJustify: |
| 2271 return cssValuePool().createValue(style->textJustify()); |
| 2269 #if ENABLE(CSS3_TEXT) | 2272 #if ENABLE(CSS3_TEXT) |
| 2270 case CSSPropertyWebkitTextUnderlinePosition: | 2273 case CSSPropertyWebkitTextUnderlinePosition: |
| 2271 return cssValuePool().createValue(style->textUnderlinePosition()); | 2274 return cssValuePool().createValue(style->textUnderlinePosition()); |
| 2272 #endif // CSS3_TEXT | 2275 #endif // CSS3_TEXT |
| 2273 case CSSPropertyWebkitTextDecorationsInEffect: | 2276 case CSSPropertyWebkitTextDecorationsInEffect: |
| 2274 return renderTextDecorationFlagsToCSSValue(style->textDecorationsInE
ffect()); | 2277 return renderTextDecorationFlagsToCSSValue(style->textDecorationsInE
ffect()); |
| 2275 case CSSPropertyWebkitTextFillColor: | 2278 case CSSPropertyWebkitTextFillColor: |
| 2276 return currentColorOrValidColor(style.get(), style->textFillColor())
; | 2279 return currentColorOrValidColor(style.get(), style->textFillColor())
; |
| 2277 case CSSPropertyWebkitTextEmphasisColor: | 2280 case CSSPropertyWebkitTextEmphasisColor: |
| 2278 return currentColorOrValidColor(style.get(), style->textEmphasisColo
r()); | 2281 return currentColorOrValidColor(style.get(), style->textEmphasisColo
r()); |
| (...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3237 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3240 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 3238 CSSPropertyB
ackgroundClip }; | 3241 CSSPropertyB
ackgroundClip }; |
| 3239 | 3242 |
| 3240 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3243 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 3241 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 3244 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 3242 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 3245 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 3243 return list.release(); | 3246 return list.release(); |
| 3244 } | 3247 } |
| 3245 | 3248 |
| 3246 } // namespace WebCore | 3249 } // namespace WebCore |
| OLD | NEW |