зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c36b2923b0
Коммит
e12771ba94
|
@ -387,7 +387,7 @@ toolbarpaletteitem {
|
|||
#urlbar-contextual-tip-icon {
|
||||
background-image: var(--webextension-contextual-tip-icon-2x);
|
||||
}
|
||||
|
||||
|
||||
:root[lwt-popup-brighttext] #urlbar-contextual-tip-icon {
|
||||
background-image: var(--webextension-contextual-tip-icon-2x-light);
|
||||
}
|
||||
|
@ -670,7 +670,6 @@ toolbar:not(#TabsToolbar) > #personal-bookmarks {
|
|||
}
|
||||
|
||||
#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] {
|
||||
-moz-binding: none;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче