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. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. |
4 * All rights reserved. | 4 * All rights reserved. |
5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
8 * Copyright (C) 2015 Google Inc. All rights reserved. | 8 * Copyright (C) 2015 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 2805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2816 return ValueForPositionOffset(style, CSSPropertyRight, layout_object); | 2816 return ValueForPositionOffset(style, CSSPropertyRight, layout_object); |
2817 case CSSPropertyWebkitRubyPosition: | 2817 case CSSPropertyWebkitRubyPosition: |
2818 return CSSIdentifierValue::Create(style.GetRubyPosition()); | 2818 return CSSIdentifierValue::Create(style.GetRubyPosition()); |
2819 case CSSPropertyScrollBehavior: | 2819 case CSSPropertyScrollBehavior: |
2820 return CSSIdentifierValue::Create(style.GetScrollBehavior()); | 2820 return CSSIdentifierValue::Create(style.GetScrollBehavior()); |
2821 case CSSPropertyTableLayout: | 2821 case CSSPropertyTableLayout: |
2822 return CSSIdentifierValue::Create(style.TableLayout()); | 2822 return CSSIdentifierValue::Create(style.TableLayout()); |
2823 case CSSPropertyTextAlign: | 2823 case CSSPropertyTextAlign: |
2824 return CSSIdentifierValue::Create(style.GetTextAlign()); | 2824 return CSSIdentifierValue::Create(style.GetTextAlign()); |
2825 case CSSPropertyTextAlignLast: | 2825 case CSSPropertyTextAlignLast: |
2826 return CSSIdentifierValue::Create(style.GetTextAlignLast()); | 2826 return CSSIdentifierValue::Create(style.TextAlignLast()); |
2827 case CSSPropertyTextDecoration: | 2827 case CSSPropertyTextDecoration: |
2828 if (RuntimeEnabledFeatures::css3TextDecorationsEnabled()) | 2828 if (RuntimeEnabledFeatures::css3TextDecorationsEnabled()) |
2829 return ValuesForShorthandProperty(textDecorationShorthand(), style, | 2829 return ValuesForShorthandProperty(textDecorationShorthand(), style, |
2830 layout_object, styled_node, | 2830 layout_object, styled_node, |
2831 allow_visited_style); | 2831 allow_visited_style); |
2832 // Fall through. | 2832 // Fall through. |
2833 case CSSPropertyTextDecorationLine: | 2833 case CSSPropertyTextDecorationLine: |
2834 return RenderTextDecorationFlagsToCSSValue(style.GetTextDecoration()); | 2834 return RenderTextDecorationFlagsToCSSValue(style.GetTextDecoration()); |
2835 case CSSPropertyTextDecorationSkip: | 2835 case CSSPropertyTextDecorationSkip: |
2836 return ValueForTextDecorationSkip(style.GetTextDecorationSkip()); | 2836 return ValueForTextDecorationSkip(style.GetTextDecorationSkip()); |
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3750 case CSSPropertyAll: | 3750 case CSSPropertyAll: |
3751 return nullptr; | 3751 return nullptr; |
3752 default: | 3752 default: |
3753 break; | 3753 break; |
3754 } | 3754 } |
3755 NOTREACHED(); | 3755 NOTREACHED(); |
3756 return nullptr; | 3756 return nullptr; |
3757 } | 3757 } |
3758 | 3758 |
3759 } // namespace blink | 3759 } // namespace blink |
OLD | NEW |