gecko-dev/layout
Jan Henning 686525b211 Bug 1566632 - Part 2: Prevent buttons from becoming font inflation containers. r=emilio
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
2020-03-09 20:28:23 +00:00
..
base Bug 1620952: part 2) Remove `nsFrameSelection::Init`. r=jfkthame 2020-03-10 12:41:05 +00:00
build Bug 1607356 - Move OTS sanitization to background thread. r=KrisWright 2020-03-04 18:25:08 +00:00
doc
forms Backed out 8 changesets (bug 1618202) for mochitest failures on test_sanityEventUtils.html . CLOSED TREE 2020-03-10 02:39:47 +02:00
generic Bug 1566632 - Part 2: Prevent buttons from becoming font inflation containers. r=emilio 2020-03-09 20:28:23 +00:00
inspector Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
ipc Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
mathml Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
media
painting Bug 1620873 - Make MotionPathData Maybe<MotionPathData> in TransformData. r=boris 2020-03-10 01:30:08 +00:00
printing Bug 1619403. Merge nsPrintJob's GetDisplayTitleAndURL and GetDocumentTitleAndURL. r=nordzilla 2020-03-03 20:08:53 +00:00
reftests Bug 1566632 - Part 2: Prevent buttons from becoming font inflation containers. r=emilio 2020-03-09 20:28:23 +00:00
style Bug 1620322 - Part 9: Move ContentBlockingLog to antitracking to keep all related code together in the same place; r=baku 2020-03-09 23:36:39 +00:00
svg Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
tables Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
tools Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json 2020-03-10 21:13:18 +02:00
xul Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
moz.build