Skip to content

Commit 1c72ee8

Browse files
committed
Revert "Bug 1941406: Enable support for the ::details-content pseudo-element. r=emilio" for causing reftest failures on details-percentage-height-children.html
This reverts commit 760bd6c. Revert "Bug 1941406: Remove the Nightly-only guard from about:config pref "layout.details.force-block-layout". r=layout-reviewers,emilio" This reverts commit 0677021.
1 parent 7bb4aec commit 1c72ee8

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

layout/reftests/details-summary/details-percentage-height-children.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
width: 500px;
1010
height: 300px;
1111
}
12-
::details-content {
13-
/* Ensure content doesn't prevent div spanning height */
14-
display: contents;
15-
}
1612
summary {
1713
/* Hide the triangle for comparing with div in reftest. */
1814
list-style-type: none;

modules/libpref/init/StaticPrefList.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10715,7 +10715,7 @@
1071510715
# Is support for the ::details-content pseudo-element enabled?
1071610716
- name: layout.css.details-content.enabled
1071710717
type: RelaxedAtomicBool
10718-
value: true
10718+
value: false
1071910719
mirror: always
1072010720
rust: true
1072110721

@@ -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: false
10859+
value: @IS_NOT_NIGHTLY_BUILD@
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.css.scroll-state.enabled:true]
1+
prefs: [layout.css.details-content.enabled:true, layout.css.scroll-state.enabled:true]
22
leak-threshold: [default:51200]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
prefs: [layout.css.details-content.enabled:true]
12
leak-threshold: [default:51200]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prefs: [layout.css.details-content.enabled:true]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
prefs: [dom.viewTransitions.enabled:true]
1+
prefs: [layout.css.details-content.enabled:true, dom.viewTransitions.enabled:true]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
prefs: [layout.details.force-block-layout:false,layout.css.details-content.enabled:true]
12
leak-threshold: [default:51200]

0 commit comments

Comments
 (0)