"About Firefox" dialog is spread over too many lines
Categories
(Toolkit :: Themes, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox72 | --- | unaffected |
firefox73 | --- | unaffected |
firefox74 | + | verified |
People
(Reporter: ntim, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
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
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
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 ?
Assignee | ||
Comment 2•4 years ago
|
||
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...
Assignee | ||
Comment 3•4 years ago
|
||
We should probably make the selector a bit more targeted, unless we see other label
/ description
regressions.
Assignee | ||
Comment 4•4 years ago
|
||
<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).
Assignee | ||
Updated•4 years ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6378942bfb04 Make labels and button inline level. r=Gijs
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
Comment 11•4 years ago
|
||
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).
Comment 12•4 years ago
|
||
I can still see similar issues in about:preferences and pop-up notification.
Reporter | ||
Comment 13•4 years ago
|
||
(In reply to nayinain from comment #12)
I can still see similar issues in about:preferences and pop-up notification.
That's bug 1608159.
Comment 14•4 years ago
|
||
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
Updated•4 years ago
|
Description
•