commit 312ca7f12b0f5fa6f76430fa3d38d4fe1218fd30
parent a4c56798239c4dbe7c0e27c7c66046264800efb2
Author: Serban Stanca <sstanca@mozilla.com>
Date: Thu, 30 Oct 2025 23:27:25 +0200
Revert "Bug 1993043 - Enable layout.css.text-decoration-inset.enabled by default r=layout-jp-market-reviewers,jfkthame" for causing assertion failures in nsBlockFrame.cpp.
This reverts commit 77300fb4d296994ab6c812c1facfc05dc30efaf8.
Diffstat:
3 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js
@@ -14449,8 +14449,10 @@ if (IsCSSPropertyPrefEnabled("layout.css.text-decoration-inset.enabled")) {
applies_to_first_letter: true,
applies_to_first_line: true,
applies_to_placeholder: true,
+ applies_to_cue: true,
initial_values: ["0"],
other_values: [
+ "0",
"-14px",
"25px",
"100em",
@@ -14463,7 +14465,7 @@ if (IsCSSPropertyPrefEnabled("layout.css.text-decoration-inset.enabled")) {
"-1mm -2px",
"calc(-1mm + 2em)",
"2px calc(2px - 1em)",
- "calc(1px) 0",
+ "calc(0) 0",
],
invalid_values: [
"13",
diff --git a/layout/style/test/test_transitions_per_property.html b/layout/style/test/test_transitions_per_property.html
@@ -376,12 +376,6 @@ if (IsCSSPropertyPrefEnabled("layout.css.zoom.enabled")) {
});
}
-if (IsCSSPropertyPrefEnabled("layout.css.text-decoration-inset.enabled")) {
- Object.assign(supported_properties, {
- "text-decoration-inset": [ test_length_transition ],
- });
-}
-
// For properties which are well-tested by web-platform-tests, we don't need to
// test animations/transitions again on them.
var skipped_transitionable_properties = [
diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
@@ -10449,7 +10449,7 @@
- name: layout.css.text-decoration-inset.enabled
type: RelaxedAtomicBool
- value: true
+ value: false
mirror: always
rust: true