| Index: third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
|
| index d8eee6e8d9fa0c89fdf09a07214a6043e3f92579..df36b0521d1f9a1ba03cb24f5ef4b1d7548d4637 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
|
| @@ -120,6 +120,11 @@ bool HTMLOptionElement::matchesDefaultPseudoClass() const
|
| return fastHasAttribute(selectedAttr);
|
| }
|
|
|
| +bool HTMLOptionElement::matchesEnabledPseudoClass() const
|
| +{
|
| + return !isDisabledFormControl();
|
| +}
|
| +
|
| String HTMLOptionElement::displayLabel() const
|
| {
|
| Document& document = this->document();
|
|
|