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

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

Issue 426593011: Set autofilled property to false when edit the autofilled text in textarea (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: put back the file that was removed by mistake. Created 6 years, 4 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
« no previous file with comments | « LayoutTests/fast/forms/textarea/edit-autofilled-text-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextAreaElement.cpp
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp
index 7ca0838c5313cde3fb9694071bf6070a5c014000..8480199a6472428e6aefb13aeb91361ec073a5cf 100644
--- a/Source/core/html/HTMLTextAreaElement.cpp
+++ b/Source/core/html/HTMLTextAreaElement.cpp
@@ -270,6 +270,7 @@ void HTMLTextAreaElement::subtreeHasChanged()
setChangedSinceLastFormControlChangeEvent(true);
m_valueIsUpToDate = false;
setNeedsValidityCheck();
+ setAutofilled(false);
if (!focused())
return;
« no previous file with comments | « LayoutTests/fast/forms/textarea/edit-autofilled-text-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698