Commit Graph

2639 Commits

Author SHA1 Message Date
Ray Lin
a39584b084 Bug 1332994 - highlight current enabled CC item when video first loaded. r=jaws
MozReview-Commit-ID: HEpp5Ztp5cB
2017-01-23 15:46:42 +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
c8cf49999e Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +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
26d4e63a09 Bug 1334199 - make the no-useless-parameters eslint rule report getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:01 +01:00
Neil Deakin
31cf1e2129 Bug 1332708, open start dragging on a menuitem when dropdown is open, r=mconley 2017-01-26 05:43:30 -05:00
Phil Ringnalda
50ef9df060 Merge autoland to m-c, a=merge 2017-01-25 20:37:29 -08:00
Sebastian Hengst
237b5e9ba3 Bug 1331608 - show every month exactly once in monthpicker. r=mconley
MozReview-Commit-ID: CNyo3d7PN8c
2017-01-23 12:37:32 +01:00
Scott Wu
1e8ec61b62 Bug 1329589 - Set calendar variables for date picker using Intl.getCalendarInfo r=gandalf,mconley
MozReview-Commit-ID: KmKVSAyNgeW
2017-01-10 16:41:36 +08:00
Mike de Boer
04edb9e0b5 Bug 1332757 - don't select the findbar input field contents upon find-again when modal highlighting is enabled. r=Gijs
MozReview-Commit-ID: 7H1yZtTVLXC
2017-01-23 13:31:18 +01:00
Matthew Noorenberghe
86b1f39240 Bug 1319176 - Open the SUMO page when the insecure login warning is clicked. r=seanlee
MozReview-Commit-ID: JxAps2ySOnZ
2017-01-23 16:06:22 -08:00
Christoph Kerschbaumer
04af1f958e Bug 1331686 - Pass correct triggeringPrincipal for tabs openen through ctrl-click and open link in new tab. r=gijs 2017-01-22 11:47:36 +01:00
Ray Lin
f5de9cdf3f Bug 1328061 - Restore dragging state when video seeks to the same point twice. r=Gijs
MozReview-Commit-ID: 2AiMzufcKyd
2017-01-18 10:52:19 +08:00
Neil Deakin
7c4d9770b2 Bug 1321472, move the drag-scrolling behaviour into the menulist binding so that both remote <select> elements and <menulist> can share this behaviour, r=mconley 2017-01-19 10:04:20 -05:00
Neil Deakin
b0f77a8e72 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:56:43 -05:00
Sebastian Hengst
9fa31e9c17 Backed out changeset 6d632eefccb4 (bug 1325591) for failing a11y/accessible/tests/mochitest/actions/test_media.html. r=backout on a CLOSED TREE 2017-01-17 19:06:14 +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
Ray Lin
6f4344a20c Bug 1325591 - Hide overlay and clickToPlay of video in Windows high contrast theme. r=mikedeboer
MozReview-Commit-ID: ARxnSMQ32el
2017-01-16 12:06:07 +08: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
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
Mike de Boer
f92ef6bfc5 Bug 1316514 - if we attempt to make the 'Highlight All' toggle a global setting, then we need to set the pref when toggled. r=Gijs
What you see first is the removal of the line `this._highlightAll = aHighlight;`, which is repeated in the `_setHighlightAll` method.
This line was put here initially to make the test_findbar_events.xul test pass but in fact makes it so that the pref is never set in `_setHighlightAll`!
In other words, we never actually persisted the 'Highlight All' state properly.
Reading further: the `_dispatchFindEvent` attaches some findbar state flags to the event details, including the value of `_highlightAll`.
Even though none of our consumers use it currently (haven't checked if TB does, though), you can cancel further execution of highlighting all ranges.
Since the `_setHighlightAll` doesn't do that kind of processing, but merely makes sure the internal state is up to snuff, is persisted properly and the buttons are updated, I moved it up to be invoked before dispatching the event.

MozReview-Commit-ID: 4BBy4FR1r5c
2017-01-13 17:27:18 +01:00
Scott Wu
ede64c69d9 Bug 1320225 - [DateTimeInput] Integration of input type=date picker with input box (part 2). r=mconley
MozReview-Commit-ID: DcwvCSa1ofR
2016-12-21 14:51:53 +08:00
Neil Deakin
039811aa06 Bug 1329907, use opacity to clear the treecell text while editing instead of changing the value, r=jaws 2017-01-11 08:07:37 -05:00
Michael
6965e76219 Bug 1300784 - Combine non-e10s and e10s select dropdown implementations, preffed off. r=mconley
Patch by Michael Wright and Freddy (Junshan) Luo.

MozReview-Commit-ID: G0CaZplABpC
2016-12-21 11:09:39 -05:00
Carsten "Tomcat" Book
a1efb50c19 Merge mozilla-central to autoland 2017-01-10 12:24:10 +01:00
Carsten "Tomcat" Book
ef8fa78a99 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Wes Kocher
0d767f9ab1 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Sean Lee
1baa799425 Bug 1325695 - Handle Overflow and OverUnderflow cases when adjusting the height of autocomplete popup.; r=adw
MozReview-Commit-ID: 2U0di120coT
2016-12-24 06:14:41 +08:00
Scott Wu
f1fd66963f Bug 1325922 - Add arrows svg file and style month-year button for date picker r=mconley
MozReview-Commit-ID: KH0nTr7kN2m
2016-11-24 16:45:28 +08:00
Mike de Boer
e880bf3653 Bug 1327212 - undo a line removal done in bug 935521 that causes regressions. r=Gijs
MozReview-Commit-ID: HaUEOSpEsXs
2017-01-07 01:05:33 +01:00
Jared Wein
2dddf80821 Bug 1329013 - Enable no-lone-blocks rule for eslint and remove the seven unnecessary blocks that it found. r=mossop
MozReview-Commit-ID: 9DJGO4en378
2017-01-05 13:30:25 -05:00
Mike de Boer
4b9abf202e Bug 1324143 - part 1 - remove the deprecated '_getRangeContentArray' utility method and its uses, the unused '_maybeHighlightAll' findbar method and cleanup range outline highlighting code. r=jaws
MozReview-Commit-ID: gLKKEd3CoA
2017-01-06 13:11:26 +01:00
Wes Kocher
66cd890577 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2ocdQCLe0I1
2017-01-05 17:31:25 -08:00
Ray Lin
359efd489c Bug 1325594 - Prevent controls being tabbed inside video control. r=mikedeboer
MozReview-Commit-ID: cYSumQ084S
2017-01-04 17:18:42 +08:00
Carsten "Tomcat" Book
5fd5776b03 Backed out changeset e1ee23936aa8 (bug 1327212) for clipboard tests 2017-01-04 14:25:58 +01:00
Mike de Boer
86dd8429a3 Bug 1327212 - undo a line removal done in bug 935521 that causes regressions. r=Gijs
MozReview-Commit-ID: EJyhEUviMhI
2017-01-03 17:52:20 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
J. Ryan Stinnett
17f1b9dc89 Bug 1326445 - Remove Gonk specific video controls. r=jaws
MozReview-Commit-ID: 75Ui045M21V
2016-12-30 12:18:44 -06:00
Philip Chee
73fa538f49 Bug 1326210 - Noticed in Bug 1265881 Error: TypeError: temp is null Source File: chrome://global/content/bindings/preferences.xml Line: 1227 r=Mossop 2016-12-31 04:50:26 +08:00
Jared Wein
868234de76 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S
2016-12-28 12:22:09 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
90112e00c1 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S
2016-12-28 12:22:09 -05:00
aceman
0ebe6a6c0a Bug 1142224 - focus the menulist (instead of the inputbox) once it stops being editable. r=enndeakin 2016-12-21 10:03:00 +01:00
Masayuki Nakano
5682315f90 Bug 1320467 <scrollbox>.lineScrollAmount should return average width or height r=mstange
Currently, <scrollbox>.lineScrollAmount returns its font height.  However, according to the other methods, <scrollbox> is designed for scrolling elements in it.  Additionally, old implementation declared that1 line is 1 element.  Therefore, this patch makes it returns avarage width or height of the children.

MozReview-Commit-ID: E9qfhHy5sTt
2016-12-10 11:39:34 +09:00
Masayuki Nakano
7ad4f410ae Bug 1320609 part.1 wheel event handler of <scrollbox> should use |_smoothScrollByPixels| instead of |scrollByPixels| when the deltaMode is DOM_DELTA_LINE or DOM_DELTA_PAGE r=mstange
<scrollbox> should scroll its contents smoothly even if wheel device doesn't support high resolution scroll.

This patch makes the wheel event handler use |_smoothScrollByPixels| when deltaMode is DOM_DELTA_LINE or DOM_DELTA_PAGE.  The reason why ignoring DOM_DELTA_PIXEL is, such devices are typically supports high resolution scroll.  Therefore, <scrollbox> doesn't need to animate its scroll by itself.

However, |_smoothScrollByPixels| doesn't work fine without some additional fixes.

First, this patch doesn't stop pending scroll from |_smoothScrollByPixels| because discarding some pending scroll causes slower scroll.  Actually, when you turn mouse wheel faster, scroll amount becomes smaller without this fix.

Next, this patch adds continous scroll mode to |_scrollAnim| object.  If it's requested new animation during processing previous scroll, it keeps previous scroll amount and restart animation with new destination.  Additionally, accumulating the scroll distance as fractional value.  Therefore, it scrolls 3px when 1.5px scroll is requested twice.

Finally, this patch discards pending scrolls when user tries to scroll to reverse direction.  When user tries to scroll to reserse direction, the user must want to scroll the contents from current position rather than actual scroll destination.  Therefore, this patch discards pending scrolls in |_smoothScrollByPixels|.  Although, it might be better to handle this in |_scrollAnim|.  However, |_isScrolling| is not managed by it and changing the behavior in private method is safer than changing utility object (i.e., |_scrollAnim|).

Additionally, this patch fixes timestamp issue at callback of requestAnimationFrame().  Sometimes, the given timestamp is older than start time.  In that case, current code scrolls to reverse diretion.  Therefore, we should treat such old timestamp as same as start time.

MozReview-Commit-ID: DluWUN2VhVw
2016-12-22 20:04:35 +09:00
Neil Deakin
1dca079dba Bug 1328410 - only restore focus if the user did not explicitly place focus elsewhere, r=jaws
MozReview-Commit-ID: CdL2gN7EgbF
2017-01-04 23:01:34 +00:00
Florian Quèze
cf1a3687c8 Bug 1329182 - remove trailing newURI null parameters in XBL bindings, r=jaws. 2017-01-09 20:27:25 +01:00
Thomas Nguyen
82e1caab63 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Michael Layzell
c6453a3b88 Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Wes Kocher
e553a20230 Merge m-c to autoland, a=merge 2016-12-20 11:48:21 -08:00