Index: third_party/WebKit/Source/core/css/CSSSelector.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.cpp b/third_party/WebKit/Source/core/css/CSSSelector.cpp |
index 54081a9f0dd469f35aff879b381a16a7a1374f67..3abd71c060af66d15e862be8388aca4492b447fb 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSelector.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSSelector.cpp |
@@ -223,6 +223,7 @@ PseudoId CSSSelector::pseudoId(PseudoType type) { |
case PseudoDefault: |
case PseudoDisabled: |
case PseudoOptional: |
+ case PseudoPlaceholder: |
case PseudoPlaceholderShown: |
case PseudoRequired: |
case PseudoReadOnly: |
@@ -357,6 +358,7 @@ const static NameToPseudoStruct pseudoTypeWithoutArgumentsMap[] = { |
{"optional", CSSSelector::PseudoOptional}, |
{"out-of-range", CSSSelector::PseudoOutOfRange}, |
{"past", CSSSelector::PseudoPastCue}, |
+ {"placeholder", CSSSelector::PseudoPlaceholder}, |
{"placeholder-shown", CSSSelector::PseudoPlaceholderShown}, |
{"read-only", CSSSelector::PseudoReadOnly}, |
{"read-write", CSSSelector::PseudoReadWrite}, |
@@ -511,6 +513,7 @@ void CSSSelector::updatePseudoType(const AtomicString& value, |
// fallthrough |
case PseudoBackdrop: |
case PseudoCue: |
+ case PseudoPlaceholder: |
case PseudoResizer: |
case PseudoScrollbar: |
case PseudoScrollbarCorner: |