Index: Source/core/css/CSSSelector.cpp |
diff --git a/Source/core/css/CSSSelector.cpp b/Source/core/css/CSSSelector.cpp |
index 101230fe71c1885623c3a8e36994841bb1965beb..faa3dcf021f5154e6a1b638a040fbe24f163d71a 100644 |
--- a/Source/core/css/CSSSelector.cpp |
+++ b/Source/core/css/CSSSelector.cpp |
@@ -224,6 +224,7 @@ PseudoId CSSSelector::pseudoId(PseudoType type) |
case PseudoDefault: |
case PseudoDisabled: |
case PseudoOptional: |
+ case PseudoPlaceholderShown: |
case PseudoRequired: |
case PseudoReadOnly: |
case PseudoReadWrite: |
@@ -337,6 +338,7 @@ const static NameToPseudoStruct pseudoTypeWithoutArgumentsMap[] = { |
{"optional", CSSSelector::PseudoOptional}, |
{"out-of-range", CSSSelector::PseudoOutOfRange}, |
{"past", CSSSelector::PseudoPastCue}, |
+{"placeholder-shown", CSSSelector::PseudoPlaceholderShown}, |
{"read-only", CSSSelector::PseudoReadOnly}, |
{"read-write", CSSSelector::PseudoReadWrite}, |
{"required", CSSSelector::PseudoRequired}, |
@@ -532,6 +534,7 @@ void CSSSelector::updatePseudoType(const AtomicString& value, bool hasArguments) |
case PseudoOnlyChild: |
case PseudoOnlyOfType: |
case PseudoOptional: |
+ case PseudoPlaceholderShown: |
case PseudoOutOfRange: |
case PseudoPastCue: |
case PseudoReadOnly: |