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 3283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3294 *CSSPrimitiveValue::Create(CSSTransitionData::InitialDelay(), | 3294 *CSSPrimitiveValue::Create(CSSTransitionData::InitialDelay(), |
3295 CSSPrimitiveValue::UnitType::kSeconds)); | 3295 CSSPrimitiveValue::UnitType::kSeconds)); |
3296 return list; | 3296 return list; |
3297 } | 3297 } |
3298 case CSSPropertyPointerEvents: | 3298 case CSSPropertyPointerEvents: |
3299 return CSSIdentifierValue::Create(style.PointerEvents()); | 3299 return CSSIdentifierValue::Create(style.PointerEvents()); |
3300 case CSSPropertyWritingMode: | 3300 case CSSPropertyWritingMode: |
3301 case CSSPropertyWebkitWritingMode: | 3301 case CSSPropertyWebkitWritingMode: |
3302 return CSSIdentifierValue::Create(style.GetWritingMode()); | 3302 return CSSIdentifierValue::Create(style.GetWritingMode()); |
3303 case CSSPropertyWebkitTextCombine: | 3303 case CSSPropertyWebkitTextCombine: |
3304 if (style.GetTextCombine() == kTextCombineAll) | 3304 if (style.GetTextCombine() == TextCombine::kAll) |
3305 return CSSIdentifierValue::Create(CSSValueHorizontal); | 3305 return CSSIdentifierValue::Create(CSSValueHorizontal); |
3306 case CSSPropertyTextCombineUpright: | 3306 case CSSPropertyTextCombineUpright: |
3307 return CSSIdentifierValue::Create(style.GetTextCombine()); | 3307 return CSSIdentifierValue::Create(style.GetTextCombine()); |
3308 case CSSPropertyWebkitTextOrientation: | 3308 case CSSPropertyWebkitTextOrientation: |
3309 if (style.GetTextOrientation() == TextOrientation::kMixed) | 3309 if (style.GetTextOrientation() == TextOrientation::kMixed) |
3310 return CSSIdentifierValue::Create(CSSValueVerticalRight); | 3310 return CSSIdentifierValue::Create(CSSValueVerticalRight); |
3311 case CSSPropertyTextOrientation: | 3311 case CSSPropertyTextOrientation: |
3312 return CSSIdentifierValue::Create(style.GetTextOrientation()); | 3312 return CSSIdentifierValue::Create(style.GetTextOrientation()); |
3313 case CSSPropertyContent: | 3313 case CSSPropertyContent: |
3314 return ValueForContentData(style); | 3314 return ValueForContentData(style); |
(...skipping 435 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 |