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

Side by Side Diff: Source/core/css/CSSSelector.h

Issue 450623002: Styling option should not override option:checked UA style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added to isSkippableComponentForInvalidation Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * 1999 Waldo Bastian (bastian@kde.org) 3 * 1999 Waldo Bastian (bastian@kde.org)
4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 PseudoUserAgentCustomElement, 210 PseudoUserAgentCustomElement,
211 PseudoWebKitCustomElement, 211 PseudoWebKitCustomElement,
212 PseudoCue, 212 PseudoCue,
213 PseudoFutureCue, 213 PseudoFutureCue,
214 PseudoPastCue, 214 PseudoPastCue,
215 PseudoUnresolved, 215 PseudoUnresolved,
216 PseudoContent, 216 PseudoContent,
217 PseudoHost, 217 PseudoHost,
218 PseudoHostContext, 218 PseudoHostContext,
219 PseudoShadow, 219 PseudoShadow,
220 PseudoSpatialNavigationFocus 220 PseudoSpatialNavigationFocus,
221 PseudoListBox
221 }; 222 };
222 223
223 enum MarginBoxType { 224 enum MarginBoxType {
224 TopLeftCornerMarginBox, 225 TopLeftCornerMarginBox,
225 TopLeftMarginBox, 226 TopLeftMarginBox,
226 TopCenterMarginBox, 227 TopCenterMarginBox,
227 TopRightMarginBox, 228 TopRightMarginBox,
228 TopRightCornerMarginBox, 229 TopRightCornerMarginBox,
229 BottomLeftCornerMarginBox, 230 BottomLeftCornerMarginBox,
230 BottomLeftMarginBox, 231 BottomLeftMarginBox,
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 if (m_hasRareData) 536 if (m_hasRareData)
536 return m_data.m_rareData->m_value; 537 return m_data.m_rareData->m_value;
537 // AtomicString is really just a StringImpl* so the cast below is safe. 538 // AtomicString is really just a StringImpl* so the cast below is safe.
538 // FIXME: Perhaps call sites could be changed to accept StringImpl? 539 // FIXME: Perhaps call sites could be changed to accept StringImpl?
539 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); 540 return *reinterpret_cast<const AtomicString*>(&m_data.m_value);
540 } 541 }
541 542
542 } // namespace blink 543 } // namespace blink
543 544
544 #endif // CSSSelector_h 545 #endif // CSSSelector_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/select/styling-option-checked-expected.html ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698