Jared Wein
024ba531f3
Bug 1343569 - Delay hiding the popup on blur if the search field gains focus. r=enndeakin+6102
...
Since the order of events is 'blur' followed by 'focus', we send a message from the content process to the parent process and wait for a reply to give enough time for the parent process to signal that the 'blur' was related to the focusing of the search field. If the parent process hasn't signaled as such, then the content process will proceed with hiding the dropdown.
MozReview-Commit-ID: 6ngoo9uHcsM
2017-04-25 20:19:42 -04:00
Jared Wein
ffb4cdda2c
Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
...
MozReview-Commit-ID: 3jzZOIiJyXT
2017-04-10 16:03:03 -04:00
Jared Wein
aca12ccaa3
Bug 1352963 - Update the styling of the select popup after transitionend. r=mossop
...
MozReview-Commit-ID: 5WuRvMDYahZ
2017-04-03 22:52:16 -04:00
Jared Wein
61904581e9
Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes. r=mossop
...
MozReview-Commit-ID: 3tYjbqH9zYb
2017-03-29 12:47:13 -04:00
Phil Ringnalda
5394650534
Backed out changeset adf939cb9b0b (bug 1350670) for Mac and Windows browser_selectpopup_colors.js failures
...
CLOSED TREE
2017-03-28 19:37:49 -07:00
Jared Wein
cbf185c213
Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes. r=mossop
...
MozReview-Commit-ID: 3tYjbqH9zYb
2017-03-28 17:04:32 -04:00
Jared Wein
8dee2b77a2
Bug 1350774 - Some pages may style their <option> elements based on the :focus of the <select>, so :focus should be locked on the <select> during color computation. r=mossop
...
MozReview-Commit-ID: D0WZU6wFctG
2017-03-28 15:43:33 -04:00
Jared Wein
86ce1a312b
Bug 1349701 - Update the styles of <select> popups on focus. r=mossop
...
This patch also fixes a bug in our UpdateDropDown code where we weren't computing updated styles for <select> element, as well as another bug where we weren't passing the correct number of arguments to this.populate.
MozReview-Commit-ID: 8LAeIliRXhZ
2017-03-23 13:34:21 -04:00
Jared Wein
dc32b9ca7e
Bug 1348617 - Use the alpha channel of custom styled select backgrounds by applying the requested color on top of the system's background. r=mossop
...
This matches parity with Google Chrome Canary Version 59.0.3046.0 (Official Build) canary (64-bit).
MozReview-Commit-ID: 3rkhiFv8ezX
2017-03-21 10:51:40 -04:00
Jared Wein
09d35cb1fa
Bug 1346440 - Force the user-agent styles to apply when sampling the colors. r=mossop
...
Styles defined by the pages were getting applied to the dummy option and select, causing the wrong colors to be reported as the user-agent defaults.
MozReview-Commit-ID: 6rQy71hwzy6
2017-03-13 15:01:25 -04:00
Neil Deakin
7e25693319
Bug 1334155, close popup when select element is blurred, r=jaws
2017-02-09 11:28:22 -05:00
Jared Wein
43e67c7c8c
Bug 1336301 - Styles that are applied directly to the select element should be forwarded to the popup. r=mconley
...
MozReview-Commit-ID: 29DjcUUqEkx
2017-02-04 00:33:13 -05:00
Jared Wein
e12169bf6e
Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
...
MozReview-Commit-ID: 8wqclzJr2si
2017-01-31 15:58:27 -05:00
Wes Kocher
8973294639
Backed out changeset 88872e0b68d2 (bug 1335483) for failures in browser_selectpopup.js a=backout
...
MozReview-Commit-ID: 39EV3LzTBiI
2017-02-03 11:54:32 -08:00
Jared Wein
1d335e9426
Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
...
MozReview-Commit-ID: 8wqclzJr2si
2017-01-31 15:58:27 -05:00
Jared Wein
eff6c54cb2
Bug 910022 - Allow websites to provide custom background colors and foreground colors for <select> popups. r=mconley
...
Portions of the patch were written by Jared Beach ([email protected] )
MozReview-Commit-ID: 1SpUTJP8tPq
2017-01-30 17:35:14 -05: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
Neil Deakin
80cfdcf004
Bug 1311279, when the mouse is released, check if it should be retargetted at the select element in the content process, so that a click event is received, r=mconley
2017-01-19 10:03:56 -05:00
Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -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
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Mark Banner
dc46a8fba3
Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
...
MozReview-Commit-ID: CiIsUjQzp4D
2016-11-09 22:06:32 +00:00
Neil Deakin
17743fa12c
Bug 1314647, clear active state of select on mouseup, r=mconley
2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book
4a51e35bc2
Backed out changeset deec8c2ba931 (bug 1314647) for eslint failures
2016-11-17 15:42:59 +01:00
Neil Deakin
94b5ea1a03
Bug 1314647, clear active state of select on mouseup, r=mconley
2016-11-17 09:28:26 -05:00
Dave Townsend
e7b1b3284f
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Ryan VanderMeulen
650168c214
Merge inbound to m-c. a=merge
2016-10-23 13:16:27 -04:00
Jared Wein
a485808ad4
Bug 1311450 - Only show the 'touch' padding for the select dropdown when opened via touch. r=mconley,smaug
...
MozReview-Commit-ID: 521oAj1NzX7
2016-10-20 12:45:39 -04:00
Neil Deakin
bfb59f91a8
Bug 1309652, use computed display when determining option display values, r=felipe
2016-10-21 15:55:25 -04:00
Mike Conley
cb291759e9
Bug 1291078 - More closely mimic non-e10s order of events when choosing <select> elements in e10s mode. r=enndeakin+6102
...
MozReview-Commit-ID: 4CkFUy1nLbo
2016-08-02 15:09:59 -04:00
Neil Deakin
28758779ab
Bug 1194027, add a flag to select elements to indicate if the parent process has the popup open, r=mrbkap
2016-08-03 07:45:46 -04:00
Neil Deakin
68d1763f98
Bug 1289528, don't fire click event when option selected with keyboard, r=mconley
2016-08-03 07:45:45 -04:00
Neil Deakin
f7450fb468
Bug 1289528, fire click event at option, not at select, r=mconley
2016-08-03 07:45:45 -04:00
Neil Deakin
172c6efdbb
Bug 1256313, clear active state on select button when releasing the mouse in e10s, r=mconley
2016-07-25 09:09:11 -04:00
Mike Conley
9b128da267
Bug 1275384 - Dispatch mousedown, mouseup and click events manually on <select> for e10s instead of using DOMWindowUtils. r=Felipe
...
We were using nsIDOMWindowUtils to send mousedown and mouseup events
to the <select> input after a selection was made in e10s mode, but
doing so causes focus to be pulled back to the <select> if any input
or change event handlers tried to shift focus. For example, the
reviewer input on Bugzilla was having its focus stolen after setting
the review flag to r?, which was how this bug was discovered.
We're going for mostly-Blink parity here, where it seems (at least on
Windows) a mouseup and click event are dispatched on <select>
elements after the dropdown is closed (either by mouse or keyboard).
We're adding a mousedown just before those, since that seems to make
the most sense.
MozReview-Commit-ID: HAThE6ClBWT
2016-05-25 13:21:23 -04:00
Mike Conley
402d6e1174
Bug 1266575 - Dispatch click event on <select> after item is selected when in e10s mode. r=Felipe
...
MozReview-Commit-ID: 1AwWW9XwWXu
2016-05-13 10:40:24 -04:00
Mike Conley
7cb5ba41b1
Bug 1263887 - Update <select>'s on mutation for e10s. r=Felipe
...
MozReview-Commit-ID: Ev9w4C4AzOE
2016-04-15 22:00:36 -04:00
Phil Ringnalda
437d39474d
Back out 2 changesets (bug 1263887) for OS X failures in test_menulist.xul
...
CLOSED TREE
Backed out changeset 4a2161196658 (bug 1263887)
Backed out changeset df899bb47807 (bug 1263887)
2016-04-22 21:29:47 -07:00
Mike Conley
19de37a94a
Bug 1263887 - Update <select>'s on mutation for e10s. r=Felipe
...
MozReview-Commit-ID: Ev9w4C4AzOE
2016-04-15 22:00:36 -04:00
Wes Kocher
5e5a900b7a
Backed out 2 changesets (bug 1263887) for m(oth) and m-e10s(bc7) failures
...
Backed out changeset c0730eb0c5fc (bug 1263887)
Backed out changeset 3c2a87839422 (bug 1263887)
MozReview-Commit-ID: GDPDmfE5J7d
2016-04-22 13:13:10 -07:00
Mike Conley
da4a945ce4
Bug 1263887 - Update <select>'s on mutation for e10s. r=Felipe
...
MozReview-Commit-ID: Ev9w4C4AzOE
2016-04-15 22:00:36 -04:00
Sebastian Hengst
765668f82a
Backed out changeset 48ba27830041 (bug 1263887)
2016-04-22 00:39:29 +02:00
Mike Conley
db6cafe76c
Bug 1263887 - Update <select>'s on mutation for e10s. r=Felipe
...
MozReview-Commit-ID: Ev9w4C4AzOE
2016-04-15 22:00:36 -04:00
Neil Deakin
1d00585fb2
Bug 1253486, [e10s only] hide select popups when the select element is removed, r=mconley
2016-04-13 13:15:55 -04:00
Gabor Krizsanits
b4a0a395fe
Bug 1247420 - part2: IPC hover state management for select. r=Felipc
2016-03-30 11:54:31 +02:00
George Wright
1568a07da6
Bug 1255841 - Explicitly send down the child index when building select popups in the parent r=mconley
2016-03-22 20:20:25 -04:00
Cervantes Yu
ae7ec06788
Bug 1223533 - Don't hide the select popup on irrelevant pagehide events. r=mconley
2016-03-18 15:12:46 +08:00
George Wright
debf315ac1
Bug 1242450 - Do not display hidden <option> elements in e10s r=mconley
2016-01-27 12:45:32 -05:00
George Wright
b5e1948f9e
Bug 1214259 - Honour display: none in <option> elements in e10s r=Enn
2015-10-15 14:29:25 -04:00