Index: Source/core/html/forms/InputType.cpp |
diff --git a/Source/core/html/forms/InputType.cpp b/Source/core/html/forms/InputType.cpp |
index 92b68596662aa6b784c35400cfd7b389a8061bbd..17d4c3c76aa11f5a874558669b75648492dbd43f 100644 |
--- a/Source/core/html/forms/InputType.cpp |
+++ b/Source/core/html/forms/InputType.cpp |
@@ -545,7 +545,7 @@ bool InputType::shouldDispatchFormControlChangeEvent(String& oldValue, String& n |
void InputType::setValue(const String& sanitizedValue, bool valueChanged, TextFieldEventBehavior eventBehavior) |
{ |
element().setValueInternal(sanitizedValue, eventBehavior); |
- element().setNeedsStyleRecalc(SubtreeStyleChange); |
+ element().setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue)); |
if (!valueChanged) |
return; |
switch (eventBehavior) { |