зеркало из https://github.com/mozilla/gecko-dev.git
686525b211
A similar reasoning as in bug 1540176 applies here as well: Pending a possible rework of the AutoMaybeDisableFontInflation logic (bug 1619749), inflation containers generally cannot take the (I)size increase of font inflation into account during shrink-wrapping, and form controls like buttons are particularly hard hit, as a) they often contain only small amounts of text and b) unlike regular "inline-block" elements such as <div>s, they aren't font inflation flow roots either, and as such are therefore subject to the full amount of font inflation from their surrounding contents, so they are more likely to end up with a situation were the inflated text won't fit the ISize of the button even with word wrapping applied. Therefore, as a quicker fix, buttons will now also specifically prevented from becoming font inflation containers. This also has the added advantage that they thereby become subject to the logic from bug 708175 - i.e. if the button has a fixed width, we will no now no longer inflate its text. Differential Revision: https://phabricator.services.mozilla.com/D66097 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |