LibWeb: Drop non-typesetting properties from pseudo element allowlist

This commit is contained in:
Tim Ledbetter 2026-06-22 01:06:16 +01:00 committed by Jelle Raaijmakers
parent cd29e3013d
commit 2f84f89874
2 changed files with 3 additions and 20 deletions

View file

@ -137,32 +137,15 @@ PROPERTY_GROUPS = {
"#inline-typesetting-properties": [ "#inline-typesetting-properties": [
# https://drafts.csswg.org/css-text-4/#property-index # https://drafts.csswg.org/css-text-4/#property-index
# FIXME: hanging-punctuation # FIXME: hanging-punctuation
# FIXME: hyphenate-character
# FIXME: hyphenate-limit-chars
# FIXME: hyphenate-limit-last
# FIXME: hyphenate-limit-lines
# FIXME: hyphenate-limit-zone
# FIXME: hyphens
"letter-spacing", "letter-spacing",
# FIXME: line-break
# FIXME: line-padding # FIXME: line-padding
"overflow-wrap",
"tab-size",
# FIXME: text-autospace # FIXME: text-autospace
"text-justify", "text-justify",
# FIXME: text-spacing # FIXME: text-spacing
# FIXME: text-spacing-trim # FIXME: text-spacing-trim
"text-transform", "text-transform",
"text-wrap-mode",
"white-space",
"white-space-collapse",
"white-space-trim",
"word-break",
# FIXME: word-space-transform # FIXME: word-space-transform
"word-spacing", "word-spacing",
# FIXME: wrap-after
# FIXME: wrap-before
# FIXME: wrap-inside
], ],
"#margin-properties": [ "#margin-properties": [
"margin", "margin",

View file

@ -2,8 +2,8 @@ Harness status: OK
Found 36 tests Found 36 tests
33 Pass 34 Pass
3 Fail 2 Fail
Pass pre test setup Pass pre test setup
Pass backgroundAttachment should be applied to first-letter pseudo elements. Pass backgroundAttachment should be applied to first-letter pseudo elements.
Pass backgroundBlendMode should be applied to first-letter pseudo elements. Pass backgroundBlendMode should be applied to first-letter pseudo elements.
@ -39,4 +39,4 @@ Pass wordSpacing should be applied to first-letter pseudo elements.
Pass position should not be applied to first-letter pseudo elements. Pass position should not be applied to first-letter pseudo elements.
Fail transition should not be applied to first-letter pseudo elements. Fail transition should not be applied to first-letter pseudo elements.
Pass transform should not be applied to first-letter pseudo elements. Pass transform should not be applied to first-letter pseudo elements.
Fail wordBreak should not be applied to first-letter pseudo elements. Pass wordBreak should not be applied to first-letter pseudo elements.