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

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

Issue 2509593002: Implement ::placeholder CSS selector. (Closed)
Patch Set: Test fix, etc. Created 4 years, 1 month 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-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 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
5 * reserved. 5 * reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 PseudoReadWrite, 172 PseudoReadWrite,
173 PseudoValid, 173 PseudoValid,
174 PseudoInvalid, 174 PseudoInvalid,
175 PseudoIndeterminate, 175 PseudoIndeterminate,
176 PseudoTarget, 176 PseudoTarget,
177 PseudoBefore, 177 PseudoBefore,
178 PseudoAfter, 178 PseudoAfter,
179 PseudoBackdrop, 179 PseudoBackdrop,
180 PseudoLang, 180 PseudoLang,
181 PseudoNot, 181 PseudoNot,
182 PseudoPlaceholder,
182 PseudoResizer, 183 PseudoResizer,
183 PseudoRoot, 184 PseudoRoot,
184 PseudoScope, 185 PseudoScope,
185 PseudoScrollbar, 186 PseudoScrollbar,
186 PseudoScrollbarButton, 187 PseudoScrollbarButton,
187 PseudoScrollbarCorner, 188 PseudoScrollbarCorner,
188 PseudoScrollbarThumb, 189 PseudoScrollbarThumb,
189 PseudoScrollbarTrack, 190 PseudoScrollbarTrack,
190 PseudoScrollbarTrackPiece, 191 PseudoScrollbarTrackPiece,
191 PseudoWindowInactive, 192 PseudoWindowInactive,
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 } 535 }
535 536
536 inline bool CSSSelector::isIdClassOrAttributeSelector() const { 537 inline bool CSSSelector::isIdClassOrAttributeSelector() const {
537 return isAttributeSelector() || match() == CSSSelector::Id || 538 return isAttributeSelector() || match() == CSSSelector::Id ||
538 match() == CSSSelector::Class; 539 match() == CSSSelector::Class;
539 } 540 }
540 541
541 } // namespace blink 542 } // namespace blink
542 543
543 #endif // CSSSelector_h 544 #endif // CSSSelector_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698