Bug 859126 - Mouse scrolling of long menus breaks if the last item is hidden via display:none. r=dao

This commit is contained in:
Alice0775 White 2014-03-31 16:28:57 +02:00
Родитель f6cbc83e84
Коммит 9ef5bdba36
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -193,9 +193,9 @@
<method name="_canScrollToElement">
<parameter name="element"/>
<body>
return !element.hidden;
</body>
<body><![CDATA[
return window.getComputedStyle(element).display != "none";
]]></body>
</method>
<method name="ensureElementIsVisible">