| Index: third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.cpp b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| index cf7962a053b4e02c078adcdb760aeab78b5574e9..adbdbc8dfa97cf42508c9ddcf315c30f7ee64eb8 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| @@ -1096,6 +1096,12 @@ bool SelectorChecker::checkPseudoElement(const SelectorCheckingContext& context,
|
| }
|
| return false;
|
| }
|
| + case CSSSelector::PseudoPlaceholder:
|
| + if (ShadowRoot* root = element.containingShadowRoot()) {
|
| + return root->type() == ShadowRootType::UserAgent &&
|
| + element.shadowPseudoId() == "-webkit-input-placeholder";
|
| + }
|
| + return false;
|
| case CSSSelector::PseudoWebKitCustomElement: {
|
| if (ShadowRoot* root = element.containingShadowRoot())
|
| return root->type() == ShadowRootType::UserAgent &&
|
|
|