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 3291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3302 return CSSIdentifierValue::Create(style.PointerEvents()); | 3302 return CSSIdentifierValue::Create(style.PointerEvents()); |
3303 case CSSPropertyWritingMode: | 3303 case CSSPropertyWritingMode: |
3304 case CSSPropertyWebkitWritingMode: | 3304 case CSSPropertyWebkitWritingMode: |
3305 return CSSIdentifierValue::Create(style.GetWritingMode()); | 3305 return CSSIdentifierValue::Create(style.GetWritingMode()); |
3306 case CSSPropertyWebkitTextCombine: | 3306 case CSSPropertyWebkitTextCombine: |
3307 if (style.GetTextCombine() == kTextCombineAll) | 3307 if (style.GetTextCombine() == kTextCombineAll) |
3308 return CSSIdentifierValue::Create(CSSValueHorizontal); | 3308 return CSSIdentifierValue::Create(CSSValueHorizontal); |
3309 case CSSPropertyTextCombineUpright: | 3309 case CSSPropertyTextCombineUpright: |
3310 return CSSIdentifierValue::Create(style.GetTextCombine()); | 3310 return CSSIdentifierValue::Create(style.GetTextCombine()); |
3311 case CSSPropertyWebkitTextOrientation: | 3311 case CSSPropertyWebkitTextOrientation: |
3312 if (style.GetTextOrientation() == TextOrientation::kMixed) | 3312 if (style.GetTextOrientation() == ETextOrientation::kMixed) |
3313 return CSSIdentifierValue::Create(CSSValueVerticalRight); | 3313 return CSSIdentifierValue::Create(CSSValueVerticalRight); |
3314 case CSSPropertyTextOrientation: | 3314 case CSSPropertyTextOrientation: |
3315 return CSSIdentifierValue::Create(style.GetTextOrientation()); | 3315 return CSSIdentifierValue::Create(style.GetTextOrientation()); |
3316 case CSSPropertyContent: | 3316 case CSSPropertyContent: |
3317 return ValueForContentData(style); | 3317 return ValueForContentData(style); |
3318 case CSSPropertyCounterIncrement: | 3318 case CSSPropertyCounterIncrement: |
3319 return ValueForCounterDirectives(style, property_id); | 3319 return ValueForCounterDirectives(style, property_id); |
3320 case CSSPropertyCounterReset: | 3320 case CSSPropertyCounterReset: |
3321 return ValueForCounterDirectives(style, property_id); | 3321 return ValueForCounterDirectives(style, property_id); |
3322 case CSSPropertyClipPath: | 3322 case CSSPropertyClipPath: |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3753 case CSSPropertyAll: | 3753 case CSSPropertyAll: |
3754 return nullptr; | 3754 return nullptr; |
3755 default: | 3755 default: |
3756 break; | 3756 break; |
3757 } | 3757 } |
3758 NOTREACHED(); | 3758 NOTREACHED(); |
3759 return nullptr; | 3759 return nullptr; |
3760 } | 3760 } |
3761 | 3761 |
3762 } // namespace blink | 3762 } // namespace blink |
OLD | NEW |