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

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

Issue 14846002: Implement the Custom Elements :unresolved pseudoclass (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adds a test and fixes style sharing. Created 7 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 | 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 PseudoFullScreenAncestor, 156 PseudoFullScreenAncestor,
157 PseudoAnimatingFullScreenTransition, 157 PseudoAnimatingFullScreenTransition,
158 PseudoInRange, 158 PseudoInRange,
159 PseudoOutOfRange, 159 PseudoOutOfRange,
160 PseudoUserAgentCustomElement, 160 PseudoUserAgentCustomElement,
161 PseudoWebKitCustomElement, 161 PseudoWebKitCustomElement,
162 PseudoCue, 162 PseudoCue,
163 PseudoFutureCue, 163 PseudoFutureCue,
164 PseudoPastCue, 164 PseudoPastCue,
165 PseudoSeamlessDocument, 165 PseudoSeamlessDocument,
166 PseudoDistributed 166 PseudoDistributed,
167 PseudoUnresolved
167 }; 168 };
168 169
169 enum MarginBoxType { 170 enum MarginBoxType {
170 TopLeftCornerMarginBox, 171 TopLeftCornerMarginBox,
171 TopLeftMarginBox, 172 TopLeftMarginBox,
172 TopCenterMarginBox, 173 TopCenterMarginBox,
173 TopRightMarginBox, 174 TopRightMarginBox,
174 TopRightCornerMarginBox, 175 TopRightCornerMarginBox,
175 BottomLeftCornerMarginBox, 176 BottomLeftCornerMarginBox,
176 BottomLeftMarginBox, 177 BottomLeftMarginBox,
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 ASSERT(m_match != Tag); 442 ASSERT(m_match != Tag);
442 // AtomicString is really just an AtomicStringImpl* so the cast below is saf e. 443 // AtomicString is really just an AtomicStringImpl* so the cast below is saf e.
443 // FIXME: Perhaps call sites could be changed to accept AtomicStringImpl? 444 // FIXME: Perhaps call sites could be changed to accept AtomicStringImpl?
444 return *reinterpret_cast<const AtomicString*>(m_hasRareData ? &m_data.m_rare Data->m_value : &m_data.m_value); 445 return *reinterpret_cast<const AtomicString*>(m_hasRareData ? &m_data.m_rare Data->m_value : &m_data.m_value);
445 } 446 }
446 447
447 448
448 } // namespace WebCore 449 } // namespace WebCore
449 450
450 #endif // CSSSelector_h 451 #endif // CSSSelector_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698