| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 CSSPropertyOverflowY, | 156 CSSPropertyOverflowY, |
| 157 CSSPropertyPaddingBottom, | 157 CSSPropertyPaddingBottom, |
| 158 CSSPropertyPaddingLeft, | 158 CSSPropertyPaddingLeft, |
| 159 CSSPropertyPaddingRight, | 159 CSSPropertyPaddingRight, |
| 160 CSSPropertyPaddingTop, | 160 CSSPropertyPaddingTop, |
| 161 CSSPropertyPageBreakAfter, | 161 CSSPropertyPageBreakAfter, |
| 162 CSSPropertyPageBreakBefore, | 162 CSSPropertyPageBreakBefore, |
| 163 CSSPropertyPageBreakInside, | 163 CSSPropertyPageBreakInside, |
| 164 CSSPropertyPointerEvents, | 164 CSSPropertyPointerEvents, |
| 165 CSSPropertyPosition, | 165 CSSPropertyPosition, |
| 166 CSSPropertyResize, | |
| 167 CSSPropertyRight, | 166 CSSPropertyRight, |
| 168 CSSPropertyScrollBehavior, | 167 CSSPropertyScrollBehavior, |
| 169 CSSPropertySpeak, | 168 CSSPropertySpeak, |
| 170 CSSPropertyTableLayout, | 169 CSSPropertyTableLayout, |
| 171 CSSPropertyTabSize, | 170 CSSPropertyTabSize, |
| 172 CSSPropertyTextAlign, | 171 CSSPropertyTextAlign, |
| 173 CSSPropertyTextAlignLast, | 172 CSSPropertyTextAlignLast, |
| 174 CSSPropertyTextDecoration, | 173 CSSPropertyTextDecoration, |
| 175 CSSPropertyTextDecorationLine, | 174 CSSPropertyTextDecorationLine, |
| 176 CSSPropertyTextDecorationStyle, | 175 CSSPropertyTextDecorationStyle, |
| (...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1873 case CSSPropertyWillChange: | 1872 case CSSPropertyWillChange: |
| 1874 return valueForWillChange(style->willChangeProperties(), style->will
ChangeContents(), style->willChangeScrollPosition()); | 1873 return valueForWillChange(style->willChangeProperties(), style->will
ChangeContents(), style->willChangeScrollPosition()); |
| 1875 case CSSPropertyWordBreak: | 1874 case CSSPropertyWordBreak: |
| 1876 return cssValuePool().createValue(style->wordBreak()); | 1875 return cssValuePool().createValue(style->wordBreak()); |
| 1877 case CSSPropertyWordSpacing: | 1876 case CSSPropertyWordSpacing: |
| 1878 return zoomAdjustedPixelValue(style->wordSpacing(), *style); | 1877 return zoomAdjustedPixelValue(style->wordSpacing(), *style); |
| 1879 case CSSPropertyWordWrap: | 1878 case CSSPropertyWordWrap: |
| 1880 return cssValuePool().createValue(style->overflowWrap()); | 1879 return cssValuePool().createValue(style->overflowWrap()); |
| 1881 case CSSPropertyWebkitLineBreak: | 1880 case CSSPropertyWebkitLineBreak: |
| 1882 return cssValuePool().createValue(style->lineBreak()); | 1881 return cssValuePool().createValue(style->lineBreak()); |
| 1883 case CSSPropertyResize: | |
| 1884 return cssValuePool().createValue(style->resize()); | |
| 1885 case CSSPropertyFontKerning: | 1882 case CSSPropertyFontKerning: |
| 1886 return cssValuePool().createValue(style->fontDescription().kerning()
); | 1883 return cssValuePool().createValue(style->fontDescription().kerning()
); |
| 1887 case CSSPropertyWebkitFontSmoothing: | 1884 case CSSPropertyWebkitFontSmoothing: |
| 1888 return cssValuePool().createValue(style->fontDescription().fontSmoot
hing()); | 1885 return cssValuePool().createValue(style->fontDescription().fontSmoot
hing()); |
| 1889 case CSSPropertyFontVariantLigatures: { | 1886 case CSSPropertyFontVariantLigatures: { |
| 1890 FontDescription::LigaturesState commonLigaturesState = style->fontDe
scription().commonLigaturesState(); | 1887 FontDescription::LigaturesState commonLigaturesState = style->fontDe
scription().commonLigaturesState(); |
| 1891 FontDescription::LigaturesState discretionaryLigaturesState = style-
>fontDescription().discretionaryLigaturesState(); | 1888 FontDescription::LigaturesState discretionaryLigaturesState = style-
>fontDescription().discretionaryLigaturesState(); |
| 1892 FontDescription::LigaturesState historicalLigaturesState = style->fo
ntDescription().historicalLigaturesState(); | 1889 FontDescription::LigaturesState historicalLigaturesState = style->fo
ntDescription().historicalLigaturesState(); |
| 1893 FontDescription::LigaturesState contextualLigaturesState = style->fo
ntDescription().contextualLigaturesState(); | 1890 FontDescription::LigaturesState contextualLigaturesState = style->fo
ntDescription().contextualLigaturesState(); |
| 1894 if (commonLigaturesState == FontDescription::NormalLigaturesState &&
discretionaryLigaturesState == FontDescription::NormalLigaturesState | 1891 if (commonLigaturesState == FontDescription::NormalLigaturesState &&
discretionaryLigaturesState == FontDescription::NormalLigaturesState |
| (...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2505 return list.release(); | 2502 return list.release(); |
| 2506 } | 2503 } |
| 2507 | 2504 |
| 2508 void CSSComputedStyleDeclaration::trace(Visitor* visitor) | 2505 void CSSComputedStyleDeclaration::trace(Visitor* visitor) |
| 2509 { | 2506 { |
| 2510 visitor->trace(m_node); | 2507 visitor->trace(m_node); |
| 2511 CSSStyleDeclaration::trace(visitor); | 2508 CSSStyleDeclaration::trace(visitor); |
| 2512 } | 2509 } |
| 2513 | 2510 |
| 2514 } // namespace blink | 2511 } // namespace blink |
| OLD | NEW |