Boris Zbarsky
d2afbdd254
Bug 1342197 part 4. Move GetSelectionRange from nsTextControlFrame to the editor state. r=ehsan
...
At this point, all this method does is ensure editor initialization and then ask
the editor state for various information. Let's cut out the middleman.
MozReview-Commit-ID: p491umScJO
2017-02-28 12:41:37 -05:00
Boris Zbarsky
12dc2641c8
Bug 1342197 part 1. Change nsITextControlElement::GetRootEditorNode to return Element*. r=ehsan
...
MozReview-Commit-ID: BmTw3rAzCuc
2017-02-28 12:41:37 -05:00
Jessica Jong
7168dc8ef5
Bug 1341376 - Use BoolVarCache to cache preferences in HTMLInputElement. r=smaug
...
--HG--
extra : rebase_source : c1edc681c4961d0798a283fabbae81cbd797d8fb
2017-02-23 00:27:00 -05:00
Timothy Guan-tin Chien
7e24fdda99
Bug 1338961 - A mozinputrangeignorepreventdefault hack for input[type=range], r=smaug, sr=smaug
...
This is a terrible hack, asking input[type=range] in our video control
xbl binding content continue to handle mouse/touch event, even if the
event is being defaultPrevented by the content.
MozReview-Commit-ID: G1huxbS7oeq
--HG--
extra : rebase_source : 27153ce36e6883d947894da69dd9aca47965e99b
2017-02-17 17:05:27 +08:00
Jeff Walden
965f401e22
Bug 1287006 - Don't pass Nullable by value in various places, rather by const&. r=bz
...
--HG--
extra : rebase_source : cbdd6e33cc69f58983a4b6ce97642caf54ddbc9a
2017-02-13 09:07:40 -08:00
Carsten "Tomcat" Book
ffe70d35b2
Merge mozilla-central to mozilla-inbound
2017-02-09 11:38:08 +01:00
Jessica Jong
d310f04aae
Bug 1310080 - Implement the step attribute for <input type=datetime-local>. r=smaug
...
--HG--
extra : rebase_source : 5805842bb84b54a08015e52395b05eea47bd47cf
2017-02-07 22:03:00 +08:00
Manish Goregaokar
48bc1c741c
Bug 1334330 - Part 1: stylo: Abstractify nsMappedAttributes to work on arbitrary containers of specified value data; r=bz,emilio
...
MozReview-Commit-ID: BSM4TC9RKot
--HG--
extra : rebase_source : 5f2c5d998b9e2bc10a2c9ce8d0b3ce90817a0d39
2017-01-26 13:39:13 -08:00
Jessica Jong
4f5f57be29
Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local>. r=smaug,Waldo
2017-01-03 22:33:00 +01:00
Stone Shih
0d63e2a966
Bug 1305458 Part9: Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent. r=smaug
...
MozReview-Commit-ID: AbbIMmmwZMZ
--HG--
extra : rebase_source : fe88fbdd905ef5f2761aaad43085a0deba588367
2016-10-21 19:04:29 +08:00
Stone Shih
1ed10ff082
Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: FM3vDUyLOCb
--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Boris Zbarsky
62e08b6904
Bug 1317367 part 4. Pass an explicit CallerType to HTMLInputElement::GetValueInternal. r=smaug
...
I'm not 100% sure that I'm being very consistent in my handling of
mFocusedValue, but since that's not used for file inputs, I don't think it
matters much...
A bigger problem is if people start using this caller type for things other than
file inputs.
2016-11-15 12:46:32 -05:00
Boris Zbarsky
a59a621bb6
Bug 1317367 part 3. Pass an explicit CallerType to HTMLInputElement::SetValue at all callsites. r=smaug
2016-11-15 12:46:31 -05:00
Boris Zbarsky
def4685edd
Bug 1317367 part 2. Make HTMLInputElement::GetValue infallible again; just return empty string on OOM. To a first approximation no one checks the return value anyway. r=smaug
2016-11-15 12:46:31 -05:00
Jessica Jong
cb16fa3cdb
Bug 1310077 - Implement the value sanitizing algorithm for <input type=datetime-local>. r=smaug
...
--HG--
extra : rebase_source : 833758c635d1af0c3298956262c392b10b1866d9
2016-11-09 23:48:00 -05:00
Aryeh Gregor
87a5bde3a6
Bug 1310865 - Don't process cloned <input> until all attributes are copied; r=hsivonen
...
Otherwise, when a value="" attribute with a newline in it is copied, we
will strip any newlines even if type="hidden" is set, because type=""
hasn't yet been copied. Other bugs are likely too. This problem was
already solved for the parser, so we can just use that solution for
cloning too.
MozReview-Commit-ID: KqxCnxmxFXp
--HG--
extra : rebase_source : 9a666adad3dbbbaa5e3706747dcf70801b9ef4e8
2016-10-27 17:17:04 +03:00
Jessica Jong
e732e68921
Bug 1310076 - Add 'datetime-local' to the list of valid types attributes for <input>. r=smaug
2016-10-24 03:35:00 +02:00
Edgar Chen
64cc70e197
Bug 1308069 - Clear pending error event fired by src="" case if src changed before it fired. r=bz
...
MozReview-Commit-ID: B8f975mZNN9
--HG--
extra : rebase_source : b44b969c733160a9e96139b6b55ac60fb140e478
2016-10-06 12:30:35 +08:00
Jessica Jong
19414ca429
Bug 1295403 - Implement the step attribute for <input type=week>. r=smaug
2016-10-07 15:04:54 +08:00
Boris Zbarsky
3f10f5ed57
Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
...
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.
The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits. Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Jessica Jong
b3014cc00b
Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug
2016-10-06 00:17:00 -04:00
Jessica Jong
c35a0bf546
Bug 1278186 - Implement valueAsNumber and valueAsDate for <input type=week>. r=smaug,Waldo
2016-09-29 01:08:00 +02:00
Jan Beich
cb9811b6b4
Bug 1295883 - Chase Linux scroll wheel behavior on Tier3 desktop Unix. r=smaug
...
MozReview-Commit-ID: 7osYJCwDQev
--HG--
extra : transplant_source : %F8%0CL%3D%C2d%92%B8%8AYd%C5%137h%ED%81Nt%3E
2016-08-17 04:55:36 +00:00
Jessica Jong
c51974390f
Bug 1278192 - Implement the value sanitizing algorithm for <input type=week>. r=smaug
...
--HG--
extra : source : 6ee805904d2d54728be175ddb60466acbb78c242
2016-09-08 15:39:01 -07:00
Stone Shih
16a8810124
Bug 1295719 - input[type=range,number] does not fire 'change' event for some key combinations. r=smaug
...
--HG--
extra : rebase_source : 89f46401a53dcab3dd3845477acfc7aaf9fdd3cc
2016-08-19 09:19:35 +08:00
Jessica Jong
1b328436b6
Bug 885359 - Support :indeterminate pseudo-class for radio groups. r=smaug
2016-08-24 18:39:00 -04:00
Decky Coss
2d62d28ece
Bug 1294784: remove special case for 'number' type from HTMLInputElement::SetType; r=smaug
...
MozReview-Commit-ID: DHW9RfOoHhC
--HG--
extra : rebase_source : 37c50319e695e3dc42069c8962422e366d6cd86b
2016-08-11 16:55:39 -04:00
Ehsan Akhgari
f8deb6c387
Bug 1293570 - Revert parts of bug 1003741 which were added to make selection APIs work on <input type=number>; r=baku
...
In particular we keep the frame a form control frame so that it gets the
correct CSS box sizing by the layout code.
2016-08-24 10:04:39 -04:00
Andrea Marchesini
94d10aeb4c
Bug 1295570 - Entries API - part 2 - Rename Entry to FileSystemEntry, r=smaug
...
--HG--
rename : dom/filesystem/compat/Entry.cpp => dom/filesystem/compat/FileSystemEntry.cpp
rename : dom/filesystem/compat/Entry.h => dom/filesystem/compat/FileSystemEntry.h
2016-08-18 09:17:25 +02:00
Thomas Wisniewski
fe6139c017
Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
...
--HG--
extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
2016-08-17 00:11:24 -04:00
Jessica Jong
5a9b39d967
Bug 1278738 - Add 'week' to the list of valid types attributes for <input>. r=smaug
2016-08-15 23:15:00 -04:00
Jessica Jong
6f6b9ca3bc
Bug 1281769 - Do not throw when getting selectionDirection/selectionStart/selectionEnd on input/textarea. r=smaug
2016-08-08 23:19:00 +02:00
Thomas Wisniewski
30ab766837
Bug 613019 - Track whether the last input/textarea change was done interactively, and enable the commented-out maxLength tracking code. r=mrbkap
...
--HG--
extra : rebase_source : 59c0986d6184f09f79fcda848de9d822949aa47b
2016-08-06 11:59:08 -04:00
Stone Shih
4f6e8a25cc
Bug 1286509 - Range input does not fire ‘change’ event when the range is changed using the keyboard. r=smaug
2016-08-01 10:47:34 +08:00
Jessica Jong
b92c3511ea
Bug 1283023 - Implement the step attribute for <input type=month>. r=smaug
...
--HG--
extra : rebase_source : 730c799687da786279efcd3134777b7208567e9e
2016-08-03 02:54:00 +02:00
Olli Pettay
17d576d0b3
Bug 1289254 - Support dnd for webkitdirectory, r=baku
...
--HG--
extra : rebase_source : dafc058127ea6ededb6df0ec7bcf6f9fbff36202
2016-07-29 14:41:38 +03:00
Andrea Marchesini
3660cacdaf
Bug 1288681 - Rename HTMLInputElement::directory to HTMLInputElement::allowdirs, r=smaug
2016-07-23 10:20:15 +02:00
Carsten "Tomcat" Book
7c0644d587
Merge mozilla-central to mozilla-inbound
2016-07-14 11:56:37 +02:00
Andrea Marchesini
f8488defb9
Bug 1186932 - Implement support for form submission of a picked directory - part 3 - tests + fixes, r=smaug
2016-07-14 09:02:30 +02:00
Jessica Jong
bc0a1bc5f8
Bug 1278185 - Implement valueAsNumber and valueAsDate for <input type=month>. r=smaug
2016-07-11 01:00:00 +02:00
Jessica Jong
2e7c66c5e9
Bug 1278191 - Implement the value sanitizing algorithm for <input type=month>. r=smaug
...
--HG--
extra : rebase_source : f2e424614490db76d8899c7f1583fd9fc1a2f53c
2016-07-06 01:59:00 +02:00
Fabrice Desré
2d7ccfe630
Bug 1286190 - Get rid of MOZ_CHILD_PERMISSIONS r=bz
...
MozReview-Commit-ID: Lx2kozynptu
--HG--
extra : rebase_source : 3f7b9004cd26675dbab6a1909a4b5135d753fd04
2016-04-05 13:34:53 +02:00
Jessica Jong
ba75f42662
Bug 1278737
- Add 'month' to the list of valid types attributes for <input>. r=smaug
...
--HG--
rename : dom/html/test/forms/test_experimental_forms_pref.html => dom/html/test/forms/test_input_types_pref.html
2016-07-03 23:19:00 +02:00
Stone Shih
f3651866bf
Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug
2016-05-06 18:39:10 +08:00
Sebastian Hengst
f74056ca75
Backed out changeset 444a4a7233f7 (bug 1278737
) for frequent web platform test 2 failure on OSX in form-validation-reportValidity.html. r=backout
...
--HG--
rename : dom/html/test/forms/test_input_types_pref.html => dom/html/test/forms/test_experimental_forms_pref.html
2016-07-01 20:04:58 +02:00
Jessica Jong
7db8d433f6
Bug 1278737
- Add 'month' to the list of valid types attributes for <input>. r=smaug
...
--HG--
rename : dom/html/test/forms/test_experimental_forms_pref.html => dom/html/test/forms/test_input_types_pref.html
2016-06-29 23:16:00 +02:00
Jordan
f35a9b375c
Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug
...
-Add framework for datepicker widgets
-Split date input preference from dom.experimental_forms to dom.forms.date
2016-06-20 15:55:00 +02:00
Andrea Marchesini
aadce059f5
Bug 1279860
- part 1 - Renaming nsFormSubmission to mozilla::dom::HTMLFormSubmission, r=smaug
...
--HG--
rename : dom/html/nsFormSubmission.cpp => dom/html/HTMLFormSubmission.cpp
rename : dom/html/nsFormSubmission.h => dom/html/HTMLFormSubmission.h
rename : dom/html/nsFormSubmissionConstants.h => dom/html/HTMLFormSubmissionConstants.h
2016-06-16 08:24:16 +01:00
Eric Rahm
2b917eceb6
Bug 1270310
- Part 3: Make string assignment in HTMLInputElement::GetValueInternal fallible. r=smaug
...
This makes the string assignment fallible and also adds checks for the return
value from GetValueInternal and GetValue.
2016-05-20 16:15:52 -07:00
Andrea Marchesini
5a7749a26f
Bug 1265767 - Subset of Blink FileSystem API - patch 2 - Entries, r=smaug
2016-06-07 00:55:16 +02:00