Toggle 'layout.details.force-block-layout' to 'false' in Nightly
Categories
(Core :: Layout: Form Controls, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Let's toggle 'layout.details.force-block-layout' to 'false' in a Nightly-only way, to get some testing for that configuration before we're ready to release.)
bug 1941406 is where we'll let the pref-flip ride the trains to release; but first let's toggle it for Nightly-only, out of caution and to give us some time to implement ::details-content
(bug 1901037) before letting this go to release. See bug 1941406 comment 8 for some thoughts on why it's maybe worth waiting on that piece. I'm not aware of anything else that's blocking this feature beyond that.
Assignee | ||
Comment 1•1 month ago
|
||
Also remove a trivial reftest that was checking for the legacy behavior; this
test fails with the pref-flip. The next patch in this series will add a new
WPT that exercises the same scenario as in the removed reftest, plus a bunch of
related scenarios.
Updated•1 month ago
|
Assignee | ||
Comment 2•1 month ago
|
||
This test passes in Firefox (only with the previous patch in this series),
Chrome 134 dev, and Safari Tech Preview 18.2.
Assignee | ||
Comment 3•1 month ago
|
||
This test leaves ::details-content unstyled, which per spec means that the
::details-content should generate a 'display:block' wrapper around the
details-text. The reference case mimics this by simply adding an unstyled
div around that text.
This test passes in Chrome 134 dev and Safari Tech Preview 18.2.
It fails in Firefox because Firefox doesn't support ::details-content yet;
and in particular, Firefox doesn't automatically generate any wrapper-box for
that pseudo-element, and the lack-of-that-box leads to the wrong rendering.
Comment 6•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/da967a5c389b
https://hg.mozilla.org/mozilla-central/rev/1e3dec2f84de
https://hg.mozilla.org/mozilla-central/rev/5a74fd9392ba
Description
•