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

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: Compilation and Levi's firstStrong changes 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 546f51e2ab5fa829b3f40acf6ca10ebe8e9d4516..76577b371a6f9924429f6341297bccc3fc9d6613 100644
--- a/Source/core/html/HTMLFormControlElement.cpp
+++ b/Source/core/html/HTMLFormControlElement.cpp
@@ -419,7 +419,8 @@ void HTMLFormControlElement::updateVisibleValidationMessage()
if (message.isEmpty())
client->hideValidationMessage(*this);
else
- client->showValidationMessage(*this, message);
+ client->showValidationMessage(*this, message, customError());
+
}
void HTMLFormControlElement::hideVisibleValidationMessage()
« no previous file with comments | « no previous file | Source/core/page/ValidationMessageClient.h » ('j') | Source/core/page/ValidationMessageClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698