gecko-dev/toolkit/themes
Emilio Cobos Álvarez 9475a4f44c Bug 1605724 - Ensure loading the dialog icons doesn't change over-all layout. r=dao
https://hg.mozilla.org/mozilla-central/rev/234701139a2a61d1262e609c9d8ac42384ecafda

Removed the following CSS rule:

  #iconContainer {
    -moz-box-pack: center;
    min-height: 55px; /* maximum icon height + icon margin */
    min-width: 58px; /* maximum icon width + icon margin */
  }

Which enforced the size of the icon row.

The icon loads asynchronously, so by the first time we fire DOMContentLoaded it
may not have loaded yet. This means that sizeToContent() will size the window to
an smaller size and stuff will wrap around when it loads.

<image> doesn't block onload so even delaying this wouldn't work.

Restore the wrapper to ensure loading the icon or not doesn't affect layout of
the dialog.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 00:15:23 +00:00
..
linux Bug 1605724 - Ensure loading the dialog icons doesn't change over-all layout. r=dao 2020-01-10 00:15:23 +00:00
mobile Bug 1413203 - The css for about:networking is not loading in Android r=Gijs 2019-10-18 12:01:56 +00:00
osx Bug 1606742 - Support alpha component on svg color matrix filter in WebRender r=nical 2020-01-06 18:41:55 +00:00
shared Bug 1592286 - Add URL-mapped policy support to the Picture-in-Picture toggle. r=mstriemer 2019-12-21 00:24:06 +00:00
windows Bug 1602939 - Make #infoContainer and #iconContainer HTML elements in commonDialog. r=dao 2019-12-11 18:06:58 +00:00
LICENSE
moz.build Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00