Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: Source/core/html/HTMLFormControlElement.cpp

Issue 389343002: Custom validation message to take into account text direction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLFormControlElement.cpp
diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp
index d3d3b22cbcb4d91167b83e1dd0dc7f5e0f13edf4..92ceafeae50727f71e743e07593e7f4d136cfeae 100644
--- a/Source/core/html/HTMLFormControlElement.cpp
+++ b/Source/core/html/HTMLFormControlElement.cpp
@@ -413,7 +413,7 @@ void HTMLFormControlElement::updateVisibleValidationMessage()
message = validationMessage().stripWhiteSpace();
if (!m_validationMessage)
m_validationMessage = ValidationMessage::create(this);
- m_validationMessage->updateValidationMessage(message);
+ m_validationMessage->updateValidationMessage(message, customError());
}
void HTMLFormControlElement::hideVisibleValidationMessage()
« no previous file with comments | « no previous file | Source/core/html/forms/ValidationMessage.h » ('j') | Source/web/ValidationMessageClientImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698