| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 CSSPropertyPaddingBottom, | 148 CSSPropertyPaddingBottom, |
| 149 CSSPropertyPaddingLeft, | 149 CSSPropertyPaddingLeft, |
| 150 CSSPropertyPaddingRight, | 150 CSSPropertyPaddingRight, |
| 151 CSSPropertyPaddingTop, | 151 CSSPropertyPaddingTop, |
| 152 CSSPropertyPageBreakAfter, | 152 CSSPropertyPageBreakAfter, |
| 153 CSSPropertyPageBreakBefore, | 153 CSSPropertyPageBreakBefore, |
| 154 CSSPropertyPageBreakInside, | 154 CSSPropertyPageBreakInside, |
| 155 CSSPropertyPointerEvents, | 155 CSSPropertyPointerEvents, |
| 156 CSSPropertyPosition, | 156 CSSPropertyPosition, |
| 157 CSSPropertyRight, | 157 CSSPropertyRight, |
| 158 CSSPropertySpeak, | |
| 159 CSSPropertyTableLayout, | 158 CSSPropertyTableLayout, |
| 160 CSSPropertyTabSize, | 159 CSSPropertyTabSize, |
| 161 CSSPropertyTextAlign, | 160 CSSPropertyTextAlign, |
| 162 CSSPropertyTextAlignLast, | 161 CSSPropertyTextAlignLast, |
| 163 CSSPropertyTextDecoration, | 162 CSSPropertyTextDecoration, |
| 164 CSSPropertyTextDecorationLine, | 163 CSSPropertyTextDecorationLine, |
| 165 CSSPropertyTextDecorationStyle, | 164 CSSPropertyTextDecorationStyle, |
| 166 CSSPropertyTextDecorationColor, | 165 CSSPropertyTextDecorationColor, |
| 167 CSSPropertyTextJustify, | 166 CSSPropertyTextJustify, |
| 168 CSSPropertyTextUnderlinePosition, | 167 CSSPropertyTextUnderlinePosition, |
| (...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1923 case CSSPropertyClip: { | 1922 case CSSPropertyClip: { |
| 1924 if (style->hasAutoClip()) | 1923 if (style->hasAutoClip()) |
| 1925 return cssValuePool().createIdentifierValue(CSSValueAuto); | 1924 return cssValuePool().createIdentifierValue(CSSValueAuto); |
| 1926 RefPtr<Rect> rect = Rect::create(); | 1925 RefPtr<Rect> rect = Rect::create(); |
| 1927 rect->setTop(pixelValue(style->clip().top().value(), *style)); | 1926 rect->setTop(pixelValue(style->clip().top().value(), *style)); |
| 1928 rect->setRight(pixelValue(style->clip().right().value(), *style)); | 1927 rect->setRight(pixelValue(style->clip().right().value(), *style)); |
| 1929 rect->setBottom(pixelValue(style->clip().bottom().value(), *style)); | 1928 rect->setBottom(pixelValue(style->clip().bottom().value(), *style)); |
| 1930 rect->setLeft(pixelValue(style->clip().left().value(), *style)); | 1929 rect->setLeft(pixelValue(style->clip().left().value(), *style)); |
| 1931 return cssValuePool().createValue(rect.release()); | 1930 return cssValuePool().createValue(rect.release()); |
| 1932 } | 1931 } |
| 1933 case CSSPropertySpeak: | |
| 1934 return cssValuePool().createValue(style->speak()); | |
| 1935 case CSSPropertyTransform: | 1932 case CSSPropertyTransform: |
| 1936 case CSSPropertyWebkitTransform: | 1933 case CSSPropertyWebkitTransform: |
| 1937 return computedTransform(renderer, *style); | 1934 return computedTransform(renderer, *style); |
| 1938 case CSSPropertyTransformOrigin: | 1935 case CSSPropertyTransformOrigin: |
| 1939 case CSSPropertyWebkitTransformOrigin: { | 1936 case CSSPropertyWebkitTransformOrigin: { |
| 1940 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); | 1937 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); |
| 1941 if (renderer) { | 1938 if (renderer) { |
| 1942 LayoutRect box; | 1939 LayoutRect box; |
| 1943 if (renderer->isBox()) | 1940 if (renderer->isBox()) |
| 1944 box = toRenderBox(renderer)->borderBoxRect(); | 1941 box = toRenderBox(renderer)->borderBoxRect(); |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2276 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 2273 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 2277 CSSPropertyB
ackgroundClip }; | 2274 CSSPropertyB
ackgroundClip }; |
| 2278 | 2275 |
| 2279 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 2276 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 2280 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 2277 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 2281 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 2278 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 2282 return list.release(); | 2279 return list.release(); |
| 2283 } | 2280 } |
| 2284 | 2281 |
| 2285 } // namespace blink | 2282 } // namespace blink |
| OLD | NEW |