| 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 * Copyright (C) 2015 Google Inc. All rights reserved. | 7 * Copyright (C) 2015 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
| (...skipping 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1745 case CSSPropertyWebkitHighlight: | 1745 case CSSPropertyWebkitHighlight: |
| 1746 if (style.highlight() == nullAtom) | 1746 if (style.highlight() == nullAtom) |
| 1747 return cssValuePool().createIdentifierValue(CSSValueNone); | 1747 return cssValuePool().createIdentifierValue(CSSValueNone); |
| 1748 return cssValuePool().createValue(style.highlight(), CSSPrimitiveValue::
CSS_STRING); | 1748 return cssValuePool().createValue(style.highlight(), CSSPrimitiveValue::
CSS_STRING); |
| 1749 case CSSPropertyWebkitHyphenateCharacter: | 1749 case CSSPropertyWebkitHyphenateCharacter: |
| 1750 if (style.hyphenationString().isNull()) | 1750 if (style.hyphenationString().isNull()) |
| 1751 return cssValuePool().createIdentifierValue(CSSValueAuto); | 1751 return cssValuePool().createIdentifierValue(CSSValueAuto); |
| 1752 return cssValuePool().createValue(style.hyphenationString(), CSSPrimitiv
eValue::CSS_STRING); | 1752 return cssValuePool().createValue(style.hyphenationString(), CSSPrimitiv
eValue::CSS_STRING); |
| 1753 case CSSPropertyImageRendering: | 1753 case CSSPropertyImageRendering: |
| 1754 return CSSPrimitiveValue::create(style.imageRendering()); | 1754 return CSSPrimitiveValue::create(style.imageRendering()); |
| 1755 case CSSPropertyImageOrientation: |
| 1756 if (style.respectImageOrientation() == RespectImageOrientation) |
| 1757 return cssValuePool().createValue(CSSValueFromImage); |
| 1758 return cssValuePool().createValue(0, CSSPrimitiveValue::CSS_DEG); |
| 1755 case CSSPropertyIsolation: | 1759 case CSSPropertyIsolation: |
| 1756 return cssValuePool().createValue(style.isolation()); | 1760 return cssValuePool().createValue(style.isolation()); |
| 1757 case CSSPropertyJustifyItems: | 1761 case CSSPropertyJustifyItems: |
| 1758 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifyItemsPosition(), styledNode), style.justifyItemsOverflowAlignment(),
style.justifyItemsPositionType()); | 1762 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifyItemsPosition(), styledNode), style.justifyItemsOverflowAlignment(),
style.justifyItemsPositionType()); |
| 1759 case CSSPropertyJustifySelf: | 1763 case CSSPropertyJustifySelf: |
| 1760 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifySelfPosition(), styledNode->parentNode()), style.justifySelfOverflowA
lignment(), NonLegacyPosition); | 1764 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifySelfPosition(), styledNode->parentNode()), style.justifySelfOverflowA
lignment(), NonLegacyPosition); |
| 1761 case CSSPropertyLeft: | 1765 case CSSPropertyLeft: |
| 1762 return valueForPositionOffset(style, CSSPropertyLeft, layoutObject); | 1766 return valueForPositionOffset(style, CSSPropertyLeft, layoutObject); |
| 1763 case CSSPropertyLetterSpacing: | 1767 case CSSPropertyLetterSpacing: |
| 1764 if (!style.letterSpacing()) | 1768 if (!style.letterSpacing()) |
| (...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2705 case CSSPropertyAll: | 2709 case CSSPropertyAll: |
| 2706 return nullptr; | 2710 return nullptr; |
| 2707 default: | 2711 default: |
| 2708 break; | 2712 break; |
| 2709 } | 2713 } |
| 2710 ASSERT_NOT_REACHED(); | 2714 ASSERT_NOT_REACHED(); |
| 2711 return nullptr; | 2715 return nullptr; |
| 2712 } | 2716 } |
| 2713 | 2717 |
| 2714 } | 2718 } |
| OLD | NEW |