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

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

Issue 1958073002: Introduce :-internal-shadow-host-has-appearance pseudo class, and apply it to METER element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 case CSSSelector::PseudoWebKitCustomElement: 145 case CSSSelector::PseudoWebKitCustomElement:
146 case CSSSelector::PseudoCue: 146 case CSSSelector::PseudoCue:
147 case CSSSelector::PseudoFutureCue: 147 case CSSSelector::PseudoFutureCue:
148 case CSSSelector::PseudoPastCue: 148 case CSSSelector::PseudoPastCue:
149 case CSSSelector::PseudoUnresolved: 149 case CSSSelector::PseudoUnresolved:
150 case CSSSelector::PseudoContent: 150 case CSSSelector::PseudoContent:
151 case CSSSelector::PseudoHost: 151 case CSSSelector::PseudoHost:
152 case CSSSelector::PseudoShadow: 152 case CSSSelector::PseudoShadow:
153 case CSSSelector::PseudoSpatialNavigationFocus: 153 case CSSSelector::PseudoSpatialNavigationFocus:
154 case CSSSelector::PseudoListBox: 154 case CSSSelector::PseudoListBox:
155 case CSSSelector::PseudoHostHasAppearance:
155 case CSSSelector::PseudoSlotted: 156 case CSSSelector::PseudoSlotted:
156 return true; 157 return true;
157 case CSSSelector::PseudoUnknown: 158 case CSSSelector::PseudoUnknown:
158 case CSSSelector::PseudoLeftPage: 159 case CSSSelector::PseudoLeftPage:
159 case CSSSelector::PseudoRightPage: 160 case CSSSelector::PseudoRightPage:
160 case CSSSelector::PseudoFirstPage: 161 case CSSSelector::PseudoFirstPage:
161 // These should not appear in StyleRule selectors. 162 // These should not appear in StyleRule selectors.
162 ASSERT_NOT_REACHED(); 163 ASSERT_NOT_REACHED();
163 return false; 164 return false;
164 default: 165 default:
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 } 781 }
781 } 782 }
782 783
783 DEFINE_TRACE(RuleFeatureSet) 784 DEFINE_TRACE(RuleFeatureSet)
784 { 785 {
785 visitor->trace(siblingRules); 786 visitor->trace(siblingRules);
786 visitor->trace(uncommonAttributeRules); 787 visitor->trace(uncommonAttributeRules);
787 } 788 }
788 789
789 } // namespace blink 790 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698