Commit Graph
111 Commits
Author SHA1 Message Date
Yoshi Huang 999272ee32 Bug 1363597: dont use data: URI for form action. r=smaug 2017-05-16 16:57:19 +08:00
johndai1984 51e081877c Bug 1340477 - Support feature detection for autocomplete attribute. r=smaug 2017-05-09 22:57:00 -04:00
Yoshi Huang a3678213e2 Bug 1361641 - Part 1: convert mochitest plain tests in dom to use srcdoc. r=smaug 2017-05-09 10:25:23 +08:00
John Dai 7499544963 Bug 1347426 - Implement section-* for autocomplete attribute. r=smaug 2017-04-19 03:50:00 -04:00
Dan Banner b36fbcdeed Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4
2017-04-12 11:10:00 +01: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
Mats Palmgren 80662c2333 Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Jessica Jong ff9c1e0fe8 Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local. r=smaug 2017-03-17 11:01:59 +08:00
Jessica Jong a1299fabfa Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug
This patch basically reverts Bug 825294.
2017-03-17 11:01:57 +08:00
John Dai 4e23f655aa Bug 1333353 - Implement getAutocompleteInfo() for select element. r=smaug 2017-03-14 02:28:00 -04:00
Florian Quèze b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09: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
Jessica Jong d4c3c8ce4d Bug 1310080 - Implement the step attribute for <input type=datetime-local>. r=smaug 2017-02-07 22:03:00 +08:00
Florian Quèze c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze 0a4ee94a29 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze 91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Jessica Jong 668b082a53 Bug 1310079 - Implement the min and max attribute for <input type=datetime-local>. r=smaug 2017-01-15 22:10:00 -05: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
Jessica Jong 21719830eb Bug 1325009 - Find separator index dynamically when sanitizing input type=datetime-local. r=smaug 2016-12-21 19:32:00 +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
Tooru Fujisawa e71b92919a Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
Joel Maher a35b325acb Bug 1316606 - fix test_save_restore_radio_groups.html to be run multiple times in the same browser. r=mounir
MozReview-Commit-ID: b1v8Of0BRJ
2016-11-15 13:26:34 -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
Phil Ringnalda dcadbc448a Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD
2016-11-05 13:36:25 -07:00
Jessica Jong f0bd2cc848 Bug 1301306 - Stop focus events from anon. content when moving inside input=time element. r=smaug 2016-11-04 00:47:00 -04:00
Sebastian Hengst 5ecfe59b90 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/html. r=RyanVM
MozReview-Commit-ID: 3mBGp1xn5bg
2016-11-05 11:29:16 +01: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
Jessica Jong 67d066b2e9 Bug 1295403 - Implement the step attribute for <input type=week>. r=smaug 2016-10-07 15:04:54 +08: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 6bb901a5d7 Bug 1295402 - Implement the min and max attribute for <input type=week>. r=smaug 2016-09-25 19:33: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
Jessica Jong c1209a6dad Bug 1285460 - Request longer timeout for test_input_typing_sanitization.html. r=smaug 2016-09-25 19:46:00 -04: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
Aryeh Gregor 3f9b164401 Bug 1296929 - Match spec for col/colgroup.span, textarea.rows/cols; r=jst
The spec recently changed to match browsers better.  There's currently
not much interop in exact details of how this work.  This brings us in
line with the spec except for the limit of 1000 on the span attribute.

The added textarea failures are spurious, because I'm not updating our
local tests in this commit.  The new tests are submitted upstream at
<https://github.com/w3c/web-platform-tests/pull/3518>.

MozReview-Commit-ID: 1L8aUtF47Qi
2016-08-25 17:23:37 +03: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
Thomas Wisniewski f8c3308791 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap 2016-08-17 00:11:24 -04:00
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
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
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
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
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