Commit Graph

223 Commits

Author SHA1 Message Date
Decky Coss
0eb80cd61e Bug 1283915 - Preserve input selection properties after type change. r=smaug
MozReview-Commit-ID: 7xJKc3vIpTY
2016-07-27 11:04:53 -04:00
Jessica Jong
e854e57b5b 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
e04ff71004 Bug 1281769 - Do not throw when getting selectionDirection/selectionStart/selectionEnd on input/textarea. r=smaug 2016-08-08 23:19:00 +02:00
Ben Tian
b88821b9a2 Bug 1272297 - Do not check pattern validity while parser is creating this input element. r=smaug 2016-08-09 15:21:15 +08:00
Thomas Wisniewski
59fe578703 Bug 613019 - Track whether the last input/textarea change was done interactively, and enable the commented-out maxLength tracking code. r=mrbkap 2016-08-06 11:59:08 -04:00
Stone Shih
6d79c3eb1d 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
Decky Coss
14fa144b3b Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07
2016-07-21 14:52:49 -04:00
Jessica Jong
a9e4428dd7 Bug 1283023 - Implement the step attribute for <input type=month>. r=smaug 2016-08-03 02:54:00 +02:00
Carsten "Tomcat" Book
50b047ceb4 Merge mozilla-central to autoland 2016-08-03 17:08:48 +02:00
Masayuki Nakano
439ffd5083 Bug 1259672 Rename InternalFormEvent::originator to mOriginator r=smaug
MozReview-Commit-ID: 1RoHVeziNr3
2016-08-03 17:06:10 +09:00
Boris Zbarsky
3c930fe67b Bug 1287989. Don't try to do validation or fire submit events in iframes that are sandboxed without allow-forms. r=smaug 2016-08-02 11:05:36 -07:00
Olli Pettay
c225f78ad6 Bug 1289254 - Support dnd for webkitdirectory, r=baku 2016-07-29 14:41:38 +03:00
Jessica Jong
1ea196c1e3 Bug 1289272 - Simplify the computation of step values for input type=date. r=smaug 2016-07-28 02:44:00 -04:00
Andrea Marchesini
4dff77891b Bug 1288681 - Rename HTMLInputElement::directory to HTMLInputElement::allowdirs, r=smaug 2016-07-23 10:20:15 +02:00
Andrea Marchesini
3e782b8fc6 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Carsten "Tomcat" Book
9265f02f72 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Olli Pettay
9ce8cf846c Bug 1287321 - Don't fire input event on type=range when value hasn't changed. r=baku 2016-07-20 21:06:57 +03:00
Chris Peterson
6c0f810682 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Jessica Jong
23ad2f4a7c Bug 1283022 - Implement the min and max attribute for <input type=month>. r=smaug 2016-07-15 00:07:00 +02:00
Stone Shih
ab8fa475d9 Bug 1261674 - Handle wheel event when mouse cursor is hovered on a focused range input as increasing/decreasing it's value. r=smaug 2016-07-05 17:48:19 +08:00
Carsten "Tomcat" Book
7c5a27768f Merge mozilla-central to mozilla-inbound 2016-07-14 11:56:37 +02:00
Andrea Marchesini
a724b425b3 Bug 1186932 - Implement support for form submission of a picked directory - part 4 - Moving GetFilesHelper to separate files, r=smaug 2016-07-14 09:03:10 +02:00
Andrea Marchesini
78bb245a81 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
Andrea Marchesini
b8bca820c3 Bug 1186932 - Implement support for form submission of a picked directory - part 1 - FormData and Directory, r=smaug 2016-07-14 09:01:31 +02:00
Thomas Wisniewski
97bd247b82 Bug 1264157 - Do not match disabled/readonly inputs with :in-range and :out-of-range. r=bz 2016-07-10 14:37:00 -04:00
Jessica Jong
2d26b0e0a7 Bug 1278185 - Implement valueAsNumber and valueAsDate for <input type=month>. r=smaug 2016-07-11 01:00:00 +02:00
Jessica Jong
bf5973663a Bug 1278191 - Implement the value sanitizing algorithm for <input type=month>. r=smaug 2016-07-06 01:59:00 +02:00
Jeremy Chen
7f7e952b2b Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame to replace NS_STYLE_HINT_FRAMECHANGE in many places, such
as HTML*Element::GetAttributeChangeHint and HTMLFrameSetElement::SetAttr.

MozReview-Commit-ID: EHbc4RMeuu0
2016-07-06 13:06:14 +08:00
Carsten "Tomcat" Book
de5949e087 Backed out changeset 8c1f9996a7d6 (bug 906116) 2016-07-06 05:40:06 +02:00
Jeremy Chen
7d67fc920f Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame to replace NS_STYLE_HINT_FRAMECHANGE in many places, such
as HTML*Element::GetAttributeChangeHint and HTMLFrameSetElement::SetAttr.

MozReview-Commit-ID: EHbc4RMeuu0
2016-07-06 09:59:56 +08:00
Fabrice Desré
51f3bfa03e Bug 1286190 - Get rid of MOZ_CHILD_PERMISSIONS r=bz
MozReview-Commit-ID: Lx2kozynptu
2016-04-05 13:34:53 +02:00
Jessica Jong
1a6a96c66a Bug 1278737 - Add 'month' to the list of valid types attributes for <input>. r=smaug 2016-07-03 23:19:00 +02:00
Stone Shih
8300bd626d 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
b74bde4463 Backed out changeset 444a4a7233f7 (bug 1278737) for frequent web platform test 2 failure on OSX in form-validation-reportValidity.html. r=backout 2016-07-01 20:04:58 +02:00
Jessica Jong
88770ff520 Bug 1278737 - Add 'month' to the list of valid types attributes for <input>. r=smaug 2016-06-29 23:16:00 +02:00
Andrea Marchesini
82cf89dc62 Bug 1283061 - HTMLInputElement type=file webkitdirectory/directory should show just 1 button, r=smaug 2016-06-29 18:18:42 +02:00
Andrea Marchesini
8cd8bccd40 Bug 1272501 - Add Telemetry to the Blink/Webkit FileSystem API - part 2, r=smaug 2016-06-28 18:02:30 +02:00
Andrea Marchesini
1c2752e350 Bug 1272501 - Add Telemetry to the Blink/Webkit FileSystem API - part 1, r=smaug 2016-06-28 18:02:13 +02:00
Jordan
18b6de240e 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
790712f749 Bug 1279860 - part 1 - Renaming nsFormSubmission to mozilla::dom::HTMLFormSubmission, r=smaug 2016-06-16 08:24:16 +01:00
Eric Rahm
117397c506 Bug 1270310 - Part 4: Bypass line break conversion if element is single line. r=smaug
For single line text controls we shouldn't need to convert line breaks.
2016-05-05 15:52:28 -07:00
Eric Rahm
adb206b051 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
Eric Rahm
5a13a5db3e Bug 1270310 - Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=smaug
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -07:00
Andrea Marchesini
03fbfcab77 Bug 1265767 - Subset of Blink FileSystem API - patch 5 - DOMFileSystem, r=smaug 2016-06-07 00:55:17 +02:00
Andrea Marchesini
40668da27c Bug 1265767 - Subset of Blink FileSystem API - patch 2 - Entries, r=smaug 2016-06-07 00:55:16 +02:00
Andrea Marchesini
91e9f62cf7 Bug 1274999 - Stop GetFilesHelper runnable when the operation is canceled, r=smaug 2016-06-06 11:16:48 +02:00
Jessica Jong
d35a0b5292 Bug 926019 - focus and blur an input element should not trigger change event if content hasn't changed. r=smaug 2016-05-30 02:26:00 +02:00
Andrea Marchesini
a0a13bacf0 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-06-01 12:29:00 +02:00
Andrea Marchesini
4a09dcdf18 Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug 2016-05-31 12:54:24 +02:00
Wes Kocher
5060e0fc01 Backed out 4 changesets (bug 1270310) for mass mochitest bustage CLOSED TREE
Backed out changeset ff9ace379d78 (bug 1270310)
Backed out changeset 605790e5e611 (bug 1270310)
Backed out changeset 4c302e1119e1 (bug 1270310)
Backed out changeset 3e2d76bd1f08 (bug 1270310)
2016-05-26 00:04:04 -07:00