Boris Zbarsky
ffcfe5490a
Bug 1209035. Fix incorrect "is this control focused?" checks in form code. r=smaug
...
For number controls, nsContentUtils::IsFocusedContent doesn't really do the
right thing, because the thing it thinks is focused is the anonymous text
element inside the number control. As a result, we weren't properly updating
the state of the currently-focused number control when hitting enter in it to
submit the form.
The HTMLFormElement change is enough on its own to fix the bug. The constraint
validation change is a just-in-case.
I haven't figured out a sane way to write a reftest for this, unfortunately:
the enter key press needs to look like a real user event to trigger the
submission behavior.
2018-06-27 12:04:26 -04:00
..
2018-03-29 17:11:41 +01:00
2018-04-12 20:19:30 -07:00
2018-06-13 10:40:23 -07:00
2018-06-10 05:01:47 -04:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-04-05 13:42:41 -04:00
2018-06-26 17:05:01 -07:00
2018-04-05 13:42:41 -04:00
2018-06-26 17:05:01 -07:00
2018-05-29 22:58:50 -04:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-04-10 17:49:44 -04:00
2018-06-26 17:05:01 -07:00
2018-05-14 20:49:32 +02:00
2018-06-26 17:05:01 -07:00
2018-01-30 00:25:36 -05:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-19 12:21:18 +03:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-27 12:04:26 -04:00
2018-04-05 13:42:41 -04:00
2018-06-01 10:45:27 +02:00
2018-05-23 07:12:36 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-27 12:04:26 -04:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-05-08 10:07:46 +02:00
2018-06-26 17:05:01 -07:00
2018-06-27 11:24:17 +02:00
2018-06-26 17:05:01 -07:00
2018-04-22 20:55:06 -07:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-04-05 13:42:41 -04:00
2018-06-26 17:05:01 -07:00
2018-03-13 16:24:01 -04:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-19 12:21:18 +03:00
2018-06-26 17:05:01 -07:00
2018-03-28 18:01:46 -04:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-02-15 21:49:00 +01:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-19 12:21:18 +03:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-03-28 18:01:46 -04:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-05-08 16:10:27 +02:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-03-21 10:20:34 +01:00
2018-06-26 17:05:01 -07:00
2018-05-08 10:07:46 +02:00
2018-06-26 17:05:01 -07:00
2018-03-21 17:39:04 -04:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-01-30 00:25:36 -05:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-01-30 00:25:36 -05:00
2018-06-26 17:05:01 -07:00
2018-03-28 18:01:46 -04:00
2018-06-26 17:05:01 -07:00
2018-04-20 00:49:30 -04:00
2018-06-26 17:05:01 -07:00
2018-03-16 11:26:09 -04:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-06-26 17:05:01 -07:00
2018-03-05 17:05:39 +01:00
2018-05-23 11:06:34 -04:00
2018-05-23 11:06:34 -04:00
2018-06-26 17:05:01 -07:00
2018-04-26 17:05:12 +02:00
2018-04-26 23:37:34 -04:00
2018-06-26 17:05:01 -07:00
2018-06-26 17:05:01 -07:00
2018-06-25 11:14:39 +02:00
2018-05-11 19:46:15 +02:00
2018-05-11 19:46:15 +02:00
2018-06-17 22:43:11 -07:00
2018-06-26 17:05:01 -07:00
2018-05-16 00:54:22 +03:00
2018-06-27 12:04:26 -04:00
2018-02-09 19:25:02 +01:00
2018-04-10 17:49:44 -04:00
2018-01-29 23:29:11 -05:00
2018-04-17 19:21:05 -04:00
2018-04-26 23:36:10 -04:00
2018-04-24 02:17:18 -04:00
2018-06-26 18:22:06 +02:00
2018-04-24 02:17:17 -04:00
2018-04-13 20:28:39 +12:00
2018-04-13 20:28:39 +12:00
2018-06-17 22:43:11 -07:00
2018-06-26 17:05:01 -07:00
2018-05-08 13:52:42 -04:00
2018-04-20 00:49:30 -04:00
2018-06-26 17:05:01 -07:00
2018-02-16 19:36:40 +01:00
2018-06-26 17:05:01 -07:00
2018-02-09 19:25:02 +01:00
2018-05-23 11:06:34 -04:00