Bug 1581588 - remove unnecessary moz-binding style from richlistitems r=bgrins

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Alexander Surkov 2019-09-17 18:22:37 +00:00
parent c36b2923b0
commit e12771ba94
5 changed files with 1 additions and 23 deletions

View File

@ -670,7 +670,6 @@ toolbar:not(#TabsToolbar) > #personal-bookmarks {
}
#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] {
-moz-binding: none;
height: auto;
}

View File

@ -29,21 +29,6 @@
/*** Downloads View ***/
/**
* The downloads richlistbox may list thousands of items, and it turns out
* XBL binding attachment, and even more so detachment, is a performance hog.
* This hack makes sure we don't apply any binding to inactive items (inactive
* items are history downloads that haven't been in the visible area).
* We can do this because the richlistbox implementation does not interact
* much with the richlistitem binding. However, this may turn out to have
* some side effects (see bug 828111 for the details).
*
* We might be able to do away with this workaround once bug 653881 is fixed.
*/
#downloadsRichListBox > richlistitem:not([active]) {
-moz-binding: none;
}
#downloadsRichListBox > richlistitem button {
/* These buttons should never get focus, as that would "disable"
the downloads view controller (it's only used when the richlistbox

View File

@ -2,10 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#containersView > richlistitem {
-moz-binding: none;
}
/**
* Make the icons appear.
* Note: we display the icon box for every item whether or not it has an icon

View File

@ -11,7 +11,6 @@
padding: 0;
height: auto;
min-height: auto;
-moz-binding: none;
}
/* Treat @collpased="true" as display: none similar to how it is for XUL elements.

View File

@ -485,7 +485,6 @@ panel[type="autocomplete-richlistbox"] {
}
.autocomplete-richlistitem {
-moz-binding: none;
-moz-box-orient: vertical;
-moz-box-align: center;
overflow: -moz-hidden-unscrollable;