commit d9608c2f6e7775ce4bc72edefa2480de0f64f3fe parent b379ac9e1ad5838cf68ecc8f39be5aa6fc1d013b Author: Cristina Horotan <chorotan@mozilla.com> Date: Wed, 1 Oct 2025 13:55:58 +0300 Revert "Bug 1991824 - Allow hyphens property on ::marker. r=firefox-style-system-reviewers,emilio" for causing mochitest failures on test_marker_restrictions.html This reverts commit e78e66765016cef78a09d25db9351b8375d7e928. Diffstat:
6 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js @@ -9048,7 +9048,6 @@ var gCSSProperties = { domProp: "hyphens", inherited: true, type: CSS_TYPE_LONGHAND, - applies_to_marker: true, initial_values: ["manual"], other_values: ["none", "auto"], invalid_values: [], diff --git a/servo/components/style/properties/data.py b/servo/components/style/properties/data.py @@ -1079,7 +1079,6 @@ class PropertyRestrictions: "color", "content", "direction", - "hyphens", "line-height", "text-combine-upright", "text-emphasis-color", diff --git a/testing/web-platform/meta/css/css-pseudo/marker-hyphens.html.ini b/testing/web-platform/meta/css/css-pseudo/marker-hyphens.html.ini @@ -0,0 +1,2 @@ +[marker-hyphens.html] + expected: FAIL diff --git a/testing/web-platform/meta/css/css-pseudo/parsing/marker-supported-properties-in-animation.html.ini b/testing/web-platform/meta/css/css-pseudo/parsing/marker-supported-properties-in-animation.html.ini @@ -32,6 +32,9 @@ [Animation of overflow-wrap in ::marker] expected: FAIL + [Animation of hyphens in ::marker] + expected: FAIL + [Transition of text-decoration-skip-ink in ::marker] expected: FAIL @@ -44,6 +47,9 @@ [Animation of text-decoration-skip-ink in ::marker] expected: FAIL + [Transition of hyphens in ::marker] + expected: FAIL + [Transition of letter-spacing in ::marker] expected: FAIL diff --git a/testing/web-platform/meta/css/css-pseudo/parsing/marker-supported-properties.html.ini b/testing/web-platform/meta/css/css-pseudo/parsing/marker-supported-properties.html.ini @@ -11,6 +11,9 @@ [Property line-break value 'anywhere' in ::marker] expected: FAIL + [Property hyphens value 'none' in ::marker] + expected: FAIL + [Property word-spacing value '10px' in ::marker] expected: FAIL diff --git a/testing/web-platform/tests/css/css-pseudo/marker-hyphens.html b/testing/web-platform/tests/css/css-pseudo/marker-hyphens.html @@ -11,9 +11,6 @@ li { list-style-position: inside; width: 0; } -::marker { - white-space: normal; -} .hyphens-manual.explicit ::marker, .hyphens-manual.inherit { hyphens: manual;