Title: [129095] trunk/Source/WebCore
Revision
129095
Author
[email protected]
Date
2012-09-19 23:13:37 -0700 (Wed, 19 Sep 2012)

Log Message

[Forms] multiple fields time input UI should call notifyFormStateChanged() when value of field is changed
https://bugs.webkit.org/show_bug.cgi?id=97169

Reviewed by Kent Tamura.

This patch makes multiple fields time input UI calls notifyFormStateChanged()
when field value is changed as other input types do.

This patch affects ports which enable both ENABLE_INPUT_TYPE_TIME and
ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS.

No new tests. We can't test this change in WebKit test tools. Test script
will be implemented in Chromium side.

* html/TimeInputType.cpp:
(WebCore::TimeInputType::DateTimeEditControlOwnerImpl::editControlValueChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (129094 => 129095)


--- trunk/Source/WebCore/ChangeLog	2012-09-20 06:02:30 UTC (rev 129094)
+++ trunk/Source/WebCore/ChangeLog	2012-09-20 06:13:37 UTC (rev 129095)
@@ -1,3 +1,22 @@
+2012-09-19  Yoshifumi Inoue  <[email protected]>
+
+        [Forms] multiple fields time input UI should call notifyFormStateChanged() when value of field is changed
+        https://bugs.webkit.org/show_bug.cgi?id=97169
+
+        Reviewed by Kent Tamura.
+
+        This patch makes multiple fields time input UI calls notifyFormStateChanged()
+        when field value is changed as other input types do.
+
+        This patch affects ports which enable both ENABLE_INPUT_TYPE_TIME and
+        ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS.
+
+        No new tests. We can't test this change in WebKit test tools. Test script
+        will be implemented in Chromium side.
+
+        * html/TimeInputType.cpp:
+        (WebCore::TimeInputType::DateTimeEditControlOwnerImpl::editControlValueChanged):
+
 2012-09-19  Keishi Hattori  <[email protected]>
 
         REGRESSION(r127727): Calendar picker focus ring should be hidden until key event

Modified: trunk/Source/WebCore/html/TimeInputType.cpp (129094 => 129095)


--- trunk/Source/WebCore/html/TimeInputType.cpp	2012-09-20 06:02:30 UTC (rev 129094)
+++ trunk/Source/WebCore/html/TimeInputType.cpp	2012-09-20 06:13:37 UTC (rev 129095)
@@ -152,6 +152,7 @@
     input->setNeedsStyleRecalc();
     input->dispatchFormControlInputEvent();
     input->dispatchFormControlChangeEvent();
+    input->notifyFormStateChanged();
 }
 
 bool TimeInputType::hasCustomFocusLogic() const
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to