Skip to content

Commit 0677021

Browse files
committed
Bug 1941406: Remove the Nightly-only guard from about:config pref "layout.details.force-block-layout". r=layout-reviewers,emilio
This patch makes this pref unconditionally false, which enables the modern behavior of letting HTML <details> elements be given any display value. (Previously, this pref only had this false value on the Nightly channel, whereas other release channels had true, which gave the old behavior of forcing <details> to be a block.) This patch also removes the now-unnecessary .ini annotation to explicitly set the pref to be false for WPT tests in our own CI. Differential Revision: https://phabricator.services.mozilla.com/D241502
1 parent 268fd72 commit 0677021

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/libpref/init/StaticPrefList.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10856,7 +10856,7 @@
1085610856
# The modern behavior is 'false', i.e. not forcing it to be a block.
1085710857
- name: layout.details.force-block-layout
1085810858
type: bool
10859-
value: @IS_NOT_NIGHTLY_BUILD@
10859+
value: false
1086010860
mirror: always
1086110861

1086210862
# Whether table cells can generate scroll boxes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
prefs: [layout.details.force-block-layout:false,layout.css.details-content.enabled:true]
1+
prefs: [layout.css.details-content.enabled:true]
22
leak-threshold: [default:51200]

0 commit comments

Comments
 (0)