Bug 1326141 - Make .collapse property affect height computation. r=MattN

MozReview-Commit-ID: BE5U8iKhYsO

--HG--
extra : rebase_source : c5a12ab8bdc20c0635592bff1568ecd6598199b9
This commit is contained in:
Ray Lin 2017-02-21 10:13:48 +08:00
parent a656cedb11
commit eefa893f5a

View File

@ -12,6 +12,12 @@
-moz-binding: url("chrome://formautofill/content/formautofill.xml#autocomplete-profile-listitem");
}
/* Treat @collpased="true" as display: none similar to how it is for XUL elements.
* https://developer.mozilla.org/en-US/docs/Web/CSS/visibility#Values */
#PopupAutoComplete > richlistbox > richlistitem[originaltype="autofill-profile"][collapsed="true"] {
display: none;
}
#PopupAutoComplete[firstresultstyle="autofill-profile"] {
min-width: 150px !important;
}