| 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 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1744 case CSSPropertyWebkitHighlight: | 1744 case CSSPropertyWebkitHighlight: |
| 1745 if (style.highlight() == nullAtom) | 1745 if (style.highlight() == nullAtom) |
| 1746 return cssValuePool().createIdentifierValue(CSSValueNone); | 1746 return cssValuePool().createIdentifierValue(CSSValueNone); |
| 1747 return cssValuePool().createValue(style.highlight(), CSSPrimitiveValue::
CSS_STRING); | 1747 return cssValuePool().createValue(style.highlight(), CSSPrimitiveValue::
CSS_STRING); |
| 1748 case CSSPropertyWebkitHyphenateCharacter: | 1748 case CSSPropertyWebkitHyphenateCharacter: |
| 1749 if (style.hyphenationString().isNull()) | 1749 if (style.hyphenationString().isNull()) |
| 1750 return cssValuePool().createIdentifierValue(CSSValueAuto); | 1750 return cssValuePool().createIdentifierValue(CSSValueAuto); |
| 1751 return cssValuePool().createValue(style.hyphenationString(), CSSPrimitiv
eValue::CSS_STRING); | 1751 return cssValuePool().createValue(style.hyphenationString(), CSSPrimitiv
eValue::CSS_STRING); |
| 1752 case CSSPropertyImageRendering: | 1752 case CSSPropertyImageRendering: |
| 1753 return CSSPrimitiveValue::create(style.imageRendering()); | 1753 return CSSPrimitiveValue::create(style.imageRendering()); |
| 1754 case CSSPropertyImageOrientation: |
| 1755 if (style.respectImageOrientation() == RespectImageOrientation) |
| 1756 return cssValuePool().createValue(CSSValueFromImage); |
| 1757 return cssValuePool().createValue(0, CSSPrimitiveValue::CSS_DEG); |
| 1754 case CSSPropertyIsolation: | 1758 case CSSPropertyIsolation: |
| 1755 return cssValuePool().createValue(style.isolation()); | 1759 return cssValuePool().createValue(style.isolation()); |
| 1756 case CSSPropertyJustifyItems: | 1760 case CSSPropertyJustifyItems: |
| 1757 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifyItemsPosition(), styledNode), style.justifyItemsOverflowAlignment(),
style.justifyItemsPositionType()); | 1761 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifyItemsPosition(), styledNode), style.justifyItemsOverflowAlignment(),
style.justifyItemsPositionType()); |
| 1758 case CSSPropertyJustifySelf: | 1762 case CSSPropertyJustifySelf: |
| 1759 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifySelfPosition(), styledNode->parentNode()), style.justifySelfOverflowA
lignment(), NonLegacyPosition); | 1763 return valueForItemPositionWithOverflowAlignment(resolveAlignmentAuto(st
yle.justifySelfPosition(), styledNode->parentNode()), style.justifySelfOverflowA
lignment(), NonLegacyPosition); |
| 1760 case CSSPropertyLeft: | 1764 case CSSPropertyLeft: |
| 1761 return valueForPositionOffset(style, CSSPropertyLeft, layoutObject); | 1765 return valueForPositionOffset(style, CSSPropertyLeft, layoutObject); |
| 1762 case CSSPropertyLetterSpacing: | 1766 case CSSPropertyLetterSpacing: |
| 1763 if (!style.letterSpacing()) | 1767 if (!style.letterSpacing()) |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2642 case CSSPropertyAll: | 2646 case CSSPropertyAll: |
| 2643 return nullptr; | 2647 return nullptr; |
| 2644 default: | 2648 default: |
| 2645 break; | 2649 break; |
| 2646 } | 2650 } |
| 2647 ASSERT_NOT_REACHED(); | 2651 ASSERT_NOT_REACHED(); |
| 2648 return nullptr; | 2652 return nullptr; |
| 2649 } | 2653 } |
| 2650 | 2654 |
| 2651 } | 2655 } |
| OLD | NEW |