| 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 2774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2785 return currentColorOrValidColor(style, style.textStrokeColor()); | 2785 return currentColorOrValidColor(style, style.textStrokeColor()); |
| 2786 case CSSPropertyWebkitTextStrokeWidth: | 2786 case CSSPropertyWebkitTextStrokeWidth: |
| 2787 return zoomAdjustedPixelValue(style.textStrokeWidth(), style); | 2787 return zoomAdjustedPixelValue(style.textStrokeWidth(), style); |
| 2788 case CSSPropertyTextTransform: | 2788 case CSSPropertyTextTransform: |
| 2789 return CSSIdentifierValue::create(style.textTransform()); | 2789 return CSSIdentifierValue::create(style.textTransform()); |
| 2790 case CSSPropertyTop: | 2790 case CSSPropertyTop: |
| 2791 return valueForPositionOffset(style, CSSPropertyTop, layoutObject); | 2791 return valueForPositionOffset(style, CSSPropertyTop, layoutObject); |
| 2792 case CSSPropertyTouchAction: | 2792 case CSSPropertyTouchAction: |
| 2793 return touchActionFlagsToCSSValue(style.getTouchAction()); | 2793 return touchActionFlagsToCSSValue(style.getTouchAction()); |
| 2794 case CSSPropertyUnicodeBidi: | 2794 case CSSPropertyUnicodeBidi: |
| 2795 return CSSIdentifierValue::create(style.unicodeBidi()); | 2795 return CSSIdentifierValue::create(style.getUnicodeBidi()); |
| 2796 case CSSPropertyVerticalAlign: | 2796 case CSSPropertyVerticalAlign: |
| 2797 switch (style.verticalAlign()) { | 2797 switch (style.verticalAlign()) { |
| 2798 case EVerticalAlign::Baseline: | 2798 case EVerticalAlign::Baseline: |
| 2799 return CSSIdentifierValue::create(CSSValueBaseline); | 2799 return CSSIdentifierValue::create(CSSValueBaseline); |
| 2800 case EVerticalAlign::Middle: | 2800 case EVerticalAlign::Middle: |
| 2801 return CSSIdentifierValue::create(CSSValueMiddle); | 2801 return CSSIdentifierValue::create(CSSValueMiddle); |
| 2802 case EVerticalAlign::Sub: | 2802 case EVerticalAlign::Sub: |
| 2803 return CSSIdentifierValue::create(CSSValueSub); | 2803 return CSSIdentifierValue::create(CSSValueSub); |
| 2804 case EVerticalAlign::Super: | 2804 case EVerticalAlign::Super: |
| 2805 return CSSIdentifierValue::create(CSSValueSuper); | 2805 return CSSIdentifierValue::create(CSSValueSuper); |
| (...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3651 case CSSPropertyAll: | 3651 case CSSPropertyAll: |
| 3652 return nullptr; | 3652 return nullptr; |
| 3653 default: | 3653 default: |
| 3654 break; | 3654 break; |
| 3655 } | 3655 } |
| 3656 ASSERT_NOT_REACHED(); | 3656 ASSERT_NOT_REACHED(); |
| 3657 return nullptr; | 3657 return nullptr; |
| 3658 } | 3658 } |
| 3659 | 3659 |
| 3660 } // namespace blink | 3660 } // namespace blink |
| OLD | NEW |