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

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

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Fix tests that were listing all the CSS properties Created 4 years 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/css/parser/CSSPropertyParser.h" 5 #include "core/css/parser/CSSPropertyParser.h"
6 6
7 #include "core/StylePropertyShorthand.h" 7 #include "core/StylePropertyShorthand.h"
8 #include "core/css/CSSBasicShapeValues.h" 8 #include "core/css/CSSBasicShapeValues.h"
9 #include "core/css/CSSBorderImage.h" 9 #include "core/css/CSSBorderImage.h"
10 #include "core/css/CSSContentDistributionValue.h" 10 #include "core/css/CSSContentDistributionValue.h"
(...skipping 3579 matching lines...) Expand 10 before | Expand all | Expand 10 after
3590 case CSSPropertyWebkitBorderAfterColor: 3590 case CSSPropertyWebkitBorderAfterColor:
3591 case CSSPropertyWebkitTextStrokeColor: 3591 case CSSPropertyWebkitTextStrokeColor:
3592 case CSSPropertyStopColor: 3592 case CSSPropertyStopColor:
3593 case CSSPropertyFloodColor: 3593 case CSSPropertyFloodColor:
3594 case CSSPropertyLightingColor: 3594 case CSSPropertyLightingColor:
3595 case CSSPropertyColumnRuleColor: 3595 case CSSPropertyColumnRuleColor:
3596 return consumeColor(m_range, m_context.mode()); 3596 return consumeColor(m_range, m_context.mode());
3597 case CSSPropertyColor: 3597 case CSSPropertyColor:
3598 case CSSPropertyBackgroundColor: 3598 case CSSPropertyBackgroundColor:
3599 return consumeColor(m_range, m_context.mode(), inQuirksMode()); 3599 return consumeColor(m_range, m_context.mode(), inQuirksMode());
3600 case CSSPropertyCaretColor:
3601 return consumeAutoOrColor(m_range, m_context.mode());
3600 case CSSPropertyWebkitBorderStartWidth: 3602 case CSSPropertyWebkitBorderStartWidth:
3601 case CSSPropertyWebkitBorderEndWidth: 3603 case CSSPropertyWebkitBorderEndWidth:
3602 case CSSPropertyWebkitBorderBeforeWidth: 3604 case CSSPropertyWebkitBorderBeforeWidth:
3603 case CSSPropertyWebkitBorderAfterWidth: 3605 case CSSPropertyWebkitBorderAfterWidth:
3604 return consumeBorderWidth(m_range, m_context.mode(), 3606 return consumeBorderWidth(m_range, m_context.mode(),
3605 UnitlessQuirk::Forbid); 3607 UnitlessQuirk::Forbid);
3606 case CSSPropertyBorderBottomColor: 3608 case CSSPropertyBorderBottomColor:
3607 case CSSPropertyBorderLeftColor: 3609 case CSSPropertyBorderLeftColor:
3608 case CSSPropertyBorderRightColor: 3610 case CSSPropertyBorderRightColor:
3609 case CSSPropertyBorderTopColor: { 3611 case CSSPropertyBorderTopColor: {
(...skipping 1714 matching lines...) Expand 10 before | Expand all | Expand 10 after
5324 case CSSPropertyGridTemplate: 5326 case CSSPropertyGridTemplate:
5325 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); 5327 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important);
5326 case CSSPropertyGrid: 5328 case CSSPropertyGrid:
5327 return consumeGridShorthand(important); 5329 return consumeGridShorthand(important);
5328 default: 5330 default:
5329 return false; 5331 return false;
5330 } 5332 }
5331 } 5333 }
5332 5334
5333 } // namespace blink 5335 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698