Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Side by Side Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2577363002: Implement CSS Logical Properties: inline/block size (Closed)
Patch Set: Refactor test case Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 3325 matching lines...) Expand 10 before | Expand all | Expand 10 after
3336 style.offsetRotation().angle, CSSPrimitiveValue::UnitType::Degrees)); 3336 style.offsetRotation().angle, CSSPrimitiveValue::UnitType::Degrees));
3337 return list; 3337 return list;
3338 } 3338 }
3339 3339
3340 // Unimplemented CSS 3 properties (including CSS3 shorthand properties). 3340 // Unimplemented CSS 3 properties (including CSS3 shorthand properties).
3341 case CSSPropertyWebkitTextEmphasis: 3341 case CSSPropertyWebkitTextEmphasis:
3342 return nullptr; 3342 return nullptr;
3343 3343
3344 // Directional properties are resolved by resolveDirectionAwareProperty() 3344 // Directional properties are resolved by resolveDirectionAwareProperty()
3345 // before the switch. 3345 // before the switch.
3346 case CSSPropertyBlockSize:
3347 case CSSPropertyInlineSize:
3348 case CSSPropertyMaxBlockSize:
3349 case CSSPropertyMaxInlineSize:
3350 case CSSPropertyMinBlockSize:
3351 case CSSPropertyMinInlineSize:
3346 case CSSPropertyWebkitBorderEnd: 3352 case CSSPropertyWebkitBorderEnd:
3347 case CSSPropertyWebkitBorderEndColor: 3353 case CSSPropertyWebkitBorderEndColor:
3348 case CSSPropertyWebkitBorderEndStyle: 3354 case CSSPropertyWebkitBorderEndStyle:
3349 case CSSPropertyWebkitBorderEndWidth: 3355 case CSSPropertyWebkitBorderEndWidth:
3350 case CSSPropertyWebkitBorderStart: 3356 case CSSPropertyWebkitBorderStart:
3351 case CSSPropertyWebkitBorderStartColor: 3357 case CSSPropertyWebkitBorderStartColor:
3352 case CSSPropertyWebkitBorderStartStyle: 3358 case CSSPropertyWebkitBorderStartStyle:
3353 case CSSPropertyWebkitBorderStartWidth: 3359 case CSSPropertyWebkitBorderStartWidth:
3354 case CSSPropertyWebkitBorderAfter: 3360 case CSSPropertyWebkitBorderAfter:
3355 case CSSPropertyWebkitBorderAfterColor: 3361 case CSSPropertyWebkitBorderAfterColor:
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
3645 case CSSPropertyAll: 3651 case CSSPropertyAll:
3646 return nullptr; 3652 return nullptr;
3647 default: 3653 default:
3648 break; 3654 break;
3649 } 3655 }
3650 ASSERT_NOT_REACHED(); 3656 ASSERT_NOT_REACHED();
3651 return nullptr; 3657 return nullptr;
3652 } 3658 }
3653 3659
3654 } // namespace blink 3660 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperty.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698