Skip to content

Commit ab837d9

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 6a97d60 commit ab837d9

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
@@ -10828,7 +10828,7 @@
1082810828
# The modern behavior is 'false', i.e. not forcing it to be a block.
1082910829
- name: layout.details.force-block-layout
1083010830
type: bool
10831-
value: @IS_NOT_NIGHTLY_BUILD@
10831+
value: false
1083210832
mirror: always
1083310833

1083410834
# 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)