Chromium Code Reviews| 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 fdbe2cb92558dd4df9696321d76e20450e06b0ae..666577b083da76dfda3c72dd176f061dd4814872 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
| @@ -145,6 +145,9 @@ void HTMLFormControlElement::attributeChanged( |
| if (params.reason == AttributeModificationReason::kDirectly && |
| isDisabledFormControl() && adjustedFocusedElementInTreeScope() == this) |
| blur(); |
| + } else if (params.name == readonlyAttr && |
|
tkent
2017/02/03 00:09:58
I think no reason to handle this in HTMLFormContro
|
| + params.oldValue.isNull() != params.newValue.isNull()) { |
| + readonlyAttributeChanged(); |
| } |
| } |