gecko-dev/browser
Emilio Cobos Álvarez 1e06c8368f Bug 1826072 - Don't flex permission state label. r=pbz
Err, so the original patch is necessary but not sufficient, and I
clearly goofed my testing (I had removed this attribute in a separate
commit).

The issue is that this button ends up with a markup like:

  <button class="permission-popup-permission-remove-button">
    <label flex="1" class="permission-popup-permission-state-label">Allowed Temporarily</label>
    <hbox class="box-inherit button-box" align="center" pack="center" flex="1" anonid="button-box">
      <image class="button-icon"/>
      <label class="button-text"/>
    </hbox>
  </button>

So the label and hbox divide the available space in half. Removing any
of the flex="1" attributes would cause the desired rendering.

I don't think the hbox needs to be flexible tbh, but ok, that's a
riskier change. I'm pretty sure the label in this case doesn't need to
be flexible at all though, specially since we don't want these buttons
to take any minimum amount of space.

An alternative would be to use `flex: 1 auto` or so for the label (via
CSS). That'd match the pre-regression behavior more exactly, but again I
don't think flexing the label is needed at all.

Depends on D174706

Differential Revision: https://phabricator.services.mozilla.com/D174707
2023-04-05 12:04:03 +00:00
..
actors Bug 1822395 - Telemetry for new PiP controls. r=mconley 2023-04-04 18:47:08 +00:00
app Bug 1773092 - Remove browser.ssl_override_behavior r=geckoview-reviewers,owlish 2023-04-05 07:40:36 +00:00
base Bug 1826072 - Don't flex permission state label. r=pbz 2023-04-05 12:04:03 +00:00
branding
components Bug 1823880 - Update browser test. r=tjr 2023-04-05 10:12:57 +00:00
config Bug 1718171 - Add the clang runtime directory to LIB during configure. r=firefox-build-system-reviewers,andi 2023-04-05 00:16:52 +00:00
docs Bug 1766701 - Fix Storybook docs paths in Firefox Source Docs. r=hjones DONTBUILD 2023-02-21 16:01:26 +00:00
extensions Backed out 2 changesets (bug 1824473) for causing failures in test_clear_form.html CLOSED TREE 2023-03-31 21:51:12 +03:00
fonts
fxr
installer Backed out 5 changesets (bug 1787182) for causing bustage on glxtest.cpp and xpcshell failure on test_gfxBlacklist_Device.js 2023-04-05 11:34:32 +03:00
locales no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE 2023-04-05 07:03:06 +00:00
locales-preview Bug 1821779 - Move migrationWizard.ftl out from locales-preview into the locales folder. r=flod,fluent-reviewers 2023-04-03 17:25:18 +00:00
modules Bug 1578273 - Reduce calls to the PrincipalsCollector. r=pbz 2023-03-31 13:47:39 +00:00
themes Bug 1826072 - Update a couple selectors to use focus-visible instead of moz-focusring. r=Itiel 2023-04-05 09:21:25 +00:00
tools/mozscreenshots Bug 1772089 p3: Remove content temp dir from PathUtils. r=barret 2023-02-24 08:44:41 +00:00
.eslintrc.js
app.mozbuild
build.mk
confvars.sh
defs.mk
l10n-registry.manifest
LICENSE
Makefile.in
moz.build Bug 1820241 - Use MOZ_ARTIFACT_BUILDS to determine if FOG needs JOG r=glandium,janerik 2023-03-28 17:06:26 +00:00
moz.configure