Commit Graph
99 Commits
Author SHA1 Message Date
Jessica Jong fe4383d390 Bug 1341376 - Use BoolVarCache to cache preferences in HTMLInputElement. r=smaug 2017-02-23 00:27:00 -05:00
Timothy Guan-tin Chien fdd0f80f49 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
2017-02-17 17:05:27 +08:00
Jeff Walden 76e0d9bbc6 Bug 1287006 - Don't pass Nullable by value in various places, rather by const&. r=bz 2017-02-13 09:07:40 -08:00
Carsten "Tomcat" Book e1b6f23c86 Merge mozilla-central to mozilla-inbound 2017-02-09 11:38:08 +01:00
Jessica Jong d4c3c8ce4d Bug 1310080 - Implement the step attribute for <input type=datetime-local>. r=smaug 2017-02-07 22:03:00 +08:00
Manish Goregaokar 7e8e84c24b Bug 1334330 - Part 1: stylo: Abstractify nsMappedAttributes to work on arbitrary containers of specified value data; r=bz,emilio
MozReview-Commit-ID: BSM4TC9RKot
2017-01-26 13:39:13 -08:00
Jessica Jong 6ffe253651 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local>. r=smaug,Waldo 2017-01-03 22:33:00 +01:00
Stone Shih 8428c7d178 Bug 1305458 Part9: Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: AbbIMmmwZMZ
2016-10-21 19:04:29 +08:00
Stone Shih b921261b1b Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: FM3vDUyLOCb
2016-10-21 10:11:07 +08:00
Boris Zbarsky 0fa8643c26 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 b2eaca6676 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 9535becb37 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 8520967004 Bug 1310077 - Implement the value sanitizing algorithm for <input type=datetime-local>. r=smaug 2016-11-09 23:48:00 -05:00
Aryeh Gregor 7c4110f072 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
2016-10-27 17:17:04 +03:00
Jessica Jong 7ef7e911f2 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 f1406505a9 Bug 1308069 - Clear pending error event fired by src="" case if src changed before it fired. r=bz
MozReview-Commit-ID: B8f975mZNN9
2016-10-06 12:30:35 +08:00
Jessica Jong 67d066b2e9 Bug 1295403 - Implement the step attribute for <input type=week>. r=smaug 2016-10-07 15:04:54 +08:00
Boris Zbarsky 65a99191a7 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 113984eb02 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 3658d6c1dc Bug 1278186 - Implement valueAsNumber and valueAsDate for <input type=week>. r=smaug,Waldo 2016-09-29 01:08:00 +02:00
Jan Beich 33bbfb7476 Bug 1295883 - Chase Linux scroll wheel behavior on Tier3 desktop Unix. r=smaug
MozReview-Commit-ID: 7osYJCwDQev
2016-08-17 04:55:36 +00:00
Jessica Jong c3f69e5909 Bug 1278192 - Implement the value sanitizing algorithm for <input type=week>. r=smaug 2016-09-08 15:39:01 -07:00
Stone Shih 94757dd47e Bug 1295719 - input[type=range,number] does not fire 'change' event for some key combinations. r=smaug 2016-08-19 09:19:35 +08:00
Jessica Jong 4a7a3eb9a6 Bug 885359 - Support :indeterminate pseudo-class for radio groups. r=smaug 2016-08-24 18:39:00 -04:00
Decky Coss 67f52127d3 Bug 1294784: remove special case for 'number' type from HTMLInputElement::SetType; r=smaug
MozReview-Commit-ID: DHW9RfOoHhC
2016-08-11 16:55:39 -04:00
Ehsan Akhgari c8d154be84 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 3c452ab664 Bug 1295570 - Entries API - part 2 - Rename Entry to FileSystemEntry, r=smaug 2016-08-18 09:17:25 +02:00
Thomas Wisniewski f8c3308791 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap 2016-08-17 00:11:24 -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
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
Jessica Jong a9e4428dd7 Bug 1283023 - Implement the step attribute for <input type=month>. r=smaug 2016-08-03 02:54:00 +02:00
Olli Pettay c225f78ad6 Bug 1289254 - Support dnd for webkitdirectory, r=baku 2016-07-29 14:41:38 +03:00
Andrea Marchesini 4dff77891b Bug 1288681 - Rename HTMLInputElement::directory to HTMLInputElement::allowdirs, r=smaug 2016-07-23 10:20:15 +02:00
Carsten "Tomcat" Book 7c5a27768f Merge mozilla-central to mozilla-inbound 2016-07-14 11:56:37 +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
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
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
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 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
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 c17a9b443c Bug 1265767 - Subset of Blink FileSystem API - patch 1 - WebIDL, r=smaug 2016-06-07 00:55:16 +02:00
Andrea Marchesini a0a13bacf0 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-06-01 12:29:00 +02:00