Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 882662f2f642f8f380eb813e1460131e26dd9916..a4b87c097a7c96e002a9e3fd6f59e5b70bc50ec1 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -700,7 +700,7 @@ void HTMLInputElement::parseAttribute(const QualifiedName& name, const AtomicStr |
} else if (name == valueAttr) { |
// We only need to setChanged if the form is looking at the default value right now. |
if (!hasDirtyValue()) { |
- updatePlaceholderVisibility(false); |
+ updatePlaceholderVisibility(); |
setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::fromAttribute(valueAttr)); |
} |
m_needsToUpdateViewValue = true; |