Bug 1512259 - No need to special case <button> in marionette, r=ato

--HG--
extra : rebase_source : 8489d12617508e0a7ab2e1ef526d854d031405ab
This commit is contained in:
Olli Pettay 2018-12-04 17:30:43 +02:00
Родитель d8a8739f03
Коммит 25784a5a17
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -1035,9 +1035,7 @@ element.getContainer = function(el) {
return element.findClosest(el, "datalist,select") || el;
}
// Child nodes of button will not be part of the element tree for
// elementsFromPoint until bug 1089326 is fixed.
return element.findClosest(el, "button") || el;
return el;
};
/**