Jessica Jong
6d6919a6e7
Bug 1318339 - [DateTimeInput] Prevent reset button from getting focus. r=mossop
...
Reset button should not be tabbable or focusable.
MozReview-Commit-ID: IboMKl3n0LY
2017-04-21 17:35:43 +08:00
Jessica Jong
b47d720978
Bug 1301310 - Hide input date/time picker only when input element blurs. r=mossop
...
If we rely on XUL panel's default behavior, the picker is hidden and opened
again when we jump from one inner field to another with a mouse click, this is
because XUL pannel gets hidden when user clicks outside it with
noautohide=false. In order to avoid this, we should close it explicitly only
when input element blurs.
MozReview-Commit-ID: GxPxd0wPWgM
2017-04-20 15:04:10 +08:00
Jessica Jong
b668a5e487
Bug 1320227 - [DateTimeInput] Localize placeholders for <input type=date>. r=mossop
...
MozReview-Commit-ID: Bn0xjuuVhgU
2017-04-11 15:24:23 +08:00
Jessica Jong
25b328a566
Bug 1346085 - Part 3: RTL support for date/time input box. r=gandalf,mossop
...
Set the .dir property of the input box wrapper to `rtl` if this is a RTL
locale.
MozReview-Commit-ID: D2qJVjvzxNW
2017-04-05 15:02:37 +08:00
Jessica Jong
100fa585bf
Bug 1346085 - Part 2: Set input element's focus state when inner fields are focused/blurred. r=smaug
...
Since the inner fields of date/time input are now <span> instead of <input>
text, we are adding an API for binding code to set the focus state of the
bound input element when inner fields are focused/blurred.
MozReview-Commit-ID: 9wvu57xT6HZ
2017-04-05 15:02:30 +08:00
Jessica Jong
3fea189cdd
Bug 1346085 - Part 1: Use <span> for editable fields in date/time input box. r=mossop
...
When adding support for RTL in date/time input box, we noticed that bidi text
was not displayed properly with mixed of inline and block elements. By
changing our editabled fields from <input> to <span>, we can rely on bidi
algorithm and markups to display the inner fields in the right order.
MozReview-Commit-ID: 7r8OVSJXJRU
2017-04-05 15:00:13 +08:00
Jessica Jong
5ecfc283af
Bug 1344624 - [DateTimeInput] (l10n) Part 2: Display formatted numbers in <input type=date>. r=mossop
...
MozReview-Commit-ID: BOaNefKe2Pb
2017-03-24 11:13:26 +08:00
Jessica Jong
7c58493ec0
Bug 1344624 - [DateTimeInput] (l10n) Part 1: Display formatted numbers in <input type=time>. r=mossop
...
Add a new attribute "rawValue" in each of the numeric fields. We store the
non-formatted number in this attribute, and display formatted number using
Intl.NumberFormat.
MozReview-Commit-ID: JkcBObFoYQ3
2017-03-24 11:13:20 +08:00
Jessica Jong
706e823fc6
Bug 1347069 - [DateTimeInput] (l10n) 12/24hr format for <input type=time> based on locale. r=mossop
...
MozReview-Commit-ID: 1QJig3ZTV7R
2017-03-21 11:11:10 +08:00
Jessica Jong
27957d382c
Bug 1301312 - Part 5: Handle input element's attribute change explicitly. r=smaug
...
MozReview-Commit-ID: AswWoeGasXZ
2017-03-15 11:39:02 +08:00
Jessica Jong
6406d154de
Bug 1301312 - Part 4: Order fields in <input type=date> based on locale datetime format. r=gandalf,mconley
...
MozReview-Commit-ID: 42WjAsLImc6
2017-03-06 14:45:14 +08:00
Jessica Jong
cd81238b7a
Bug 1301312 - Part 3: Order fields in <input type=time> based on locale datetime format. r=gandalf,mconley
...
MozReview-Commit-ID: ALgurGjv3d0
2017-03-06 14:44:22 +08:00
Jessica Jong
a2e018fff5
Bug 1301312 - Part 2: Localize placeholders for <input type=time>. r=mconley
...
Use entities declared in DTD files so that lozalizers can fill in appropiate
placeholders for each locale.
MozReview-Commit-ID: 9KODExaDnDe
2017-03-06 14:43:23 +08:00
Jessica Jong
1aa8217bd1
Bug 1301312 - Part 1: Localize AM/PM strings for <input type=time>. r=gandalf,mconley
...
MozReview-Commit-ID: 2QycAbnHmHv
2017-03-06 14:43:12 +08:00
Mark Banner
703aa9e231
Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
...
MozReview-Commit-ID: Ed9FfkskDos
2017-02-20 11:45:58 +00:00
Jessica Jong
aee4d30469
Bug 1318317 - [DateTimeInput] hide reset button when there is no value. r=mconley
2017-01-24 17:19:00 +01:00
Jared Wein
601c1e5636
Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
...
MozReview-Commit-ID: 7iXjQtp9ftV
2017-01-17 10:38:58 -06:00
Jessica Jong
498334b443
Bug 1320225 - [DateTimeInput] Integration of input type=date input box with picker (part 1). r=mconley,smaug
2017-01-17 13:09:03 +08:00
Jessica Jong
98eb9e529a
Bug 1286182 - Implement the layout for <input type=date>. r=mconley,smaug
2016-12-19 00:50:00 +08:00
Jessica Jong
2b193656de
Bug 1314544 - Allow keyboard shortcut when focus is on date/time input box. r=mconley
2016-11-16 23:16:00 +01:00
Jessica Jong
2e526dfa30
Bug 1314542 - Verify millisecond field when setting input time elemet's value. r=mconley
2016-11-04 00:59:00 -04:00
Jessica Jong
113984eb02
Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug
2016-10-06 00:17:00 -04:00