Closed Bug 1607557 Opened 4 years ago Closed 4 years ago

"About Firefox" dialog is spread over too many lines

Categories

(Toolkit :: Themes, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla74
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- unaffected
firefox73 --- unaffected
firefox74 + verified

People

(Reporter: ntim, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Screenshot

This rule fixes it:

description,
label {
  display: -moz-inline-box;
}

It could be added here: https://searchfox.org/mozilla-central/rev/a92ed79b0bc746159fc31af1586adbfa9e45e264/toolkit/content/xul.css#111

I mean, that proposed CSS change in xul.css would likely re-break other cases where the new layout of the description is actually desired, right?

Do we know why this breaks with the patch from bug 1606130 ?

Yes, because they're in an HTML block, so block-level elements (read: -moz-box, now) are in a new line by default.

<label> and <description> sounds like the kind of elements that may want to be inline-by-default. They're the only two cases for which I had to change a11y expectations in bug 1606130, too...

We should probably make the selector a bit more targeted, unless we see other label / description regressions.

Assignee: nobody → emilio
Flags: needinfo?(emilio)

<xul:description> doesn't respect display and effectively behaves like
display: flow-root unless it has the value attribute.

<xul:label> and <xul:button> are expected to be inline level when in HTML
blocks.

The former fixes the about dialog (and undoes the a11y changes I had to do in
the regressing bug). The later fixes the session restore page, which in today's
nightly shows the two buttons in different lines.

I could try to write more targeted fixes if you want, and probably switching to
html layout while at it.

<label> can be display: inline, at least in the about dialog. And the
<xul:button> in the restore session page can be <html:buttons> (inline-blocks).

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6378942bfb04
Make labels and button inline level. r=Gijs
OS: Unspecified → All
Hardware: Unspecified → All
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74

Managed to reproduce the issue on an affected build (74.0a1 (2020-01-08), buildid 20200108094158).

The issue is no longer reproducible on Firefox 74.0a1 (2020-01-08), buildid 20200108215606).

I can still see similar issues in about:preferences and pop-up notification.

(In reply to nayinain from comment #12)

I can still see similar issues in about:preferences and pop-up notification.

That's bug 1608159.

Hi,

I've tested this using the latest Nightly version 74.0a1 (2020-01-10) (64-bit) build ID 20200 110095023 for Ubuntu 18.04.3 LTS and Windows 10 pro
and issue is not reproducible anymore. Based on this I will mark firefox74 flag as verified.

Best,
Clara

Status: RESOLVED → VERIFIED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: