| Index: third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| index 6c0a92df0a19f5eb2ce43ca4718d0dd0755d202e..10f05214d6b8900dbda57c630cfaae85a3daab18 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| @@ -736,7 +736,8 @@ TextDirection HTMLElement::directionality(Node** strongDirectionalityTextNode) c
|
| while (node) {
|
| // Skip bdi, script, style and text form controls.
|
| if (equalIgnoringCase(node->nodeName(), "bdi") || isHTMLScriptElement(*node) || isHTMLStyleElement(*node)
|
| - || (node->isElementNode() && toElement(node)->isTextFormControl())) {
|
| + || (node->isElementNode() && toElement(node)->isTextFormControl())
|
| + || (node->isElementNode() && toElement(node)->shadowPseudoId() == "-webkit-input-placeholder")) {
|
| node = FlatTreeTraversal::nextSkippingChildren(*node, this);
|
| continue;
|
| }
|
|
|