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

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

Issue 2622623003: Moved -webkit-rtl-ordering to be generated in ComputedStyleBase. (Closed)
Patch Set: 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 3051 matching lines...) Expand 10 before | Expand all | Expand 10 after
3062 style)); 3062 style));
3063 } else { 3063 } else {
3064 list->append(*zoomAdjustedPixelValueForLength( 3064 list->append(*zoomAdjustedPixelValueForLength(
3065 style.perspectiveOriginX(), style)); 3065 style.perspectiveOriginX(), style));
3066 list->append(*zoomAdjustedPixelValueForLength( 3066 list->append(*zoomAdjustedPixelValueForLength(
3067 style.perspectiveOriginY(), style)); 3067 style.perspectiveOriginY(), style));
3068 } 3068 }
3069 return list; 3069 return list;
3070 } 3070 }
3071 case CSSPropertyWebkitRtlOrdering: 3071 case CSSPropertyWebkitRtlOrdering:
3072 return CSSIdentifierValue::create(style.rtlOrdering() == EOrder::Visual 3072 return CSSIdentifierValue::create(style.rtlOrdering() == EOrder::kVisual
3073 ? CSSValueVisual 3073 ? CSSValueVisual
3074 : CSSValueLogical); 3074 : CSSValueLogical);
3075 case CSSPropertyWebkitTapHighlightColor: 3075 case CSSPropertyWebkitTapHighlightColor:
3076 return currentColorOrValidColor(style, style.tapHighlightColor()); 3076 return currentColorOrValidColor(style, style.tapHighlightColor());
3077 case CSSPropertyWebkitUserDrag: 3077 case CSSPropertyWebkitUserDrag:
3078 return CSSIdentifierValue::create(style.userDrag()); 3078 return CSSIdentifierValue::create(style.userDrag());
3079 case CSSPropertyUserSelect: 3079 case CSSPropertyUserSelect:
3080 return CSSIdentifierValue::create(style.userSelect()); 3080 return CSSIdentifierValue::create(style.userSelect());
3081 case CSSPropertyBorderBottomLeftRadius: 3081 case CSSPropertyBorderBottomLeftRadius:
3082 return &valueForBorderRadiusCorner(style.borderBottomLeftRadius(), style); 3082 return &valueForBorderRadiusCorner(style.borderBottomLeftRadius(), style);
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.in ('k') | third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698