Bug 1459590 - Ensure Fennec select and input element work with ShadowDom; r=jchen

Differential Revision: https://phabricator.services.mozilla.com/D2151

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Edgar Chen 2018-07-20 21:36:43 +00:00
parent b5b2c78493
commit c17a3e83a6
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ var InputWidgetHelper = {
},
handleEvent: function(aEvent) {
this.handleClick(aEvent.target);
this.handleClick(aEvent.composedTarget);
},
handleClick: function(aTarget) {

View File

@ -24,7 +24,7 @@ var SelectHelper = {
},
handleEvent: function(event) {
this.handleClick(event.target);
this.handleClick(event.composedTarget);
},
handleClick: function(target) {