| Index: Source/core/html/forms/NumberInputType.cpp
|
| diff --git a/Source/core/html/forms/NumberInputType.cpp b/Source/core/html/forms/NumberInputType.cpp
|
| index 6817a42cd88ef29f967d77947102510c16a52d28..6795eb2afdadb6f28da3a8b347cbc6aa90f1c77c 100644
|
| --- a/Source/core/html/forms/NumberInputType.cpp
|
| +++ b/Source/core/html/forms/NumberInputType.cpp
|
| @@ -268,7 +268,7 @@ void NumberInputType::minOrMaxAttributeChanged()
|
| InputType::minOrMaxAttributeChanged();
|
|
|
| if (element().layoutObject())
|
| - element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| + element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::AttributeChanged);
|
| }
|
|
|
| void NumberInputType::stepAttributeChanged()
|
| @@ -276,7 +276,7 @@ void NumberInputType::stepAttributeChanged()
|
| InputType::stepAttributeChanged();
|
|
|
| if (element().layoutObject())
|
| - element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| + element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::AttributeChanged);
|
| }
|
|
|
| bool NumberInputType::supportsSelectionAPI() const
|
|
|