| Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| index bf9046170421b5fc82544e3a3c0b7dc67f232a37..38811ae664ed9b18819b9af653d3dec14be735c4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| @@ -368,6 +368,11 @@ bool HTMLFormControlElement::isDisabledFormControl() const
|
| return m_ancestorDisabledState == AncestorDisabledStateDisabled;
|
| }
|
|
|
| +bool HTMLFormControlElement::matchesEnabledPseudoClass() const
|
| +{
|
| + return !isDisabledFormControl();
|
| +}
|
| +
|
| bool HTMLFormControlElement::isRequired() const
|
| {
|
| return fastHasAttribute(requiredAttr);
|
|
|