Truly independent web browser
LibWeb: Parse and compute font-palette
Andreas Kling28967f56c694
diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.jsonindex 075c338f2b4..9ae0e6d4da1 100644--- a/Libraries/LibWeb/CSS/Properties.json+++ b/Libraries/LibWeb/CSS/Properties.json@@ -2506,6 +2506,22 @@"font-optical-sizing"]},+ "font-palette": {+ "__comment": "FIXME: Select the COLR palette when the font API supports palette selection. INTEROP: Animate discretely until palette-mix() is supported by multiple engines.",+ "affects-layout": false,+ "animation-type": "discrete",+ "inherited": true,+ "initial": "normal",+ "requires-computation": "never",+ "valid-types": [+ "dashed-ident"+ ],+ "valid-identifiers": [+ "normal",+ "light",+ "dark"+ ]+ },"font-size": {"style-group": "FontValues","animation-type": "by-computed-value",diff --git a/Libraries/LibWeb/CSS/PseudoElementPropertyGroups.txt b/Libraries/LibWeb/CSS/PseudoElementPropertyGroups.txtindex 3b2feb35946..b8d520122c6 100644--- a/Libraries/LibWeb/CSS/PseudoElementPropertyGroups.txt+++ b/Libraries/LibWeb/CSS/PseudoElementPropertyGroups.txt@@ -90,7 +90,6 @@ custom[font-properties]# https://drafts.csswg.org/css-fonts/#property-index-# FIXME: font-palette# FIXME: font-synthesis and longhandsfontfont-family@@ -98,6 +97,7 @@ font-feature-settingsfont-kerningfont-language-overridefont-optical-sizing+font-palettefont-sizefont-size-adjustfont-stylediff --git a/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt b/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txtindex d1a8e15617f..09fa61081f6 100644--- a/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt+++ b/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt@@ -25,6 +25,7 @@ All properties associated with getComputedStyle(document.body):"font-kerning","font-language-override","font-optical-sizing",+ "font-palette","font-size","font-size-adjust","font-style",diff --git a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txtindex 5cc8a8338c0..28c428d6619 100644--- a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt+++ b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt@@ -543,6 +543,8 @@ All supported properties and their default values exposed from CSSStylePropertie'font-language-override': 'normal''fontOpticalSizing': 'auto''font-optical-sizing': 'auto'+'fontPalette': 'normal'+'font-palette': 'normal''fontSize': '16px''font-size': '16px''fontSizeAdjust': 'none'diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txtindex 6882ab58def..fefc85daa77 100644--- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt+++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt@@ -23,6 +23,7 @@ font-feature-settings: normalfont-kerning: autofont-language-override: normalfont-optical-sizing: auto+font-palette: normalfont-size: 16pxfont-size-adjust: nonefont-style: normaldiff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txtindex 4a2fa917f9c..16cedb3e7c1 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txt@@ -26,6 +26,7 @@ Pass font-feature-settingsPass font-kerningPass font-language-overridePass font-optical-sizing+Pass font-palettePass font-sizePass font-size-adjustPass font-stylediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-animation-not-specified-endpoints.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-animation-not-specified-endpoints.txtindex e6aea98d9e1..f6ad4839025 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-animation-not-specified-endpoints.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-animation-not-specified-endpoints.txt@@ -2,6 +2,7 @@ Harness status: OKFound 2 tests-2 Fail-Fail Verify font-palette is animated when `from` keyframe is not specified+1 Pass+1 Fail+Pass Verify font-palette is animated when `from` keyframe is not specifiedFail Verify font-palette is animated when `to` keyframe is not specified\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-interpolation.txtindex 660cc41fd0f..6ac4dd22d42 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-interpolation.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/font-palette-interpolation.txt@@ -2,118 +2,119 @@ Harness status: OKFound 114 tests-114 Fail+78 Pass+36 FailFail CSS Transitions: property <font-palette> from [light] to [dark] at (-2) should be [light]Fail CSS Transitions: property <font-palette> from [light] to [dark] at (-0.25) should be [light]Fail CSS Transitions: property <font-palette> from [light] to [dark] at (0) should be [light]Fail CSS Transitions: property <font-palette> from [light] to [dark] at (0.3) should be [palette-mix(in oklab, light, dark 30%)]Fail CSS Transitions: property <font-palette> from [light] to [dark] at (0.6) should be [palette-mix(in oklab, light, dark 60%)]-Fail CSS Transitions: property <font-palette> from [light] to [dark] at (1) should be [dark]-Fail CSS Transitions: property <font-palette> from [light] to [dark] at (1.5) should be [dark]+Pass CSS Transitions: property <font-palette> from [light] to [dark] at (1) should be [dark]+Pass CSS Transitions: property <font-palette> from [light] to [dark] at (1.5) should be [dark]Fail CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (-2) should be [light]Fail CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (-0.25) should be [light]Fail CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (0) should be [light]Fail CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (0.3) should be [palette-mix(in oklab, light, dark 30%)]Fail CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (0.6) should be [palette-mix(in oklab, light, dark 60%)]-Fail CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (1) should be [dark]-Fail CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (1.5) should be [dark]-Fail CSS Animations: property <font-palette> from [light] to [dark] at (-2) should be [light]-Fail CSS Animations: property <font-palette> from [light] to [dark] at (-0.25) should be [light]-Fail CSS Animations: property <font-palette> from [light] to [dark] at (0) should be [light]+Pass CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (1) should be [dark]+Pass CSS Transitions with transition: all: property <font-palette> from [light] to [dark] at (1.5) should be [dark]+Pass CSS Animations: property <font-palette> from [light] to [dark] at (-2) should be [light]+Pass CSS Animations: property <font-palette> from [light] to [dark] at (-0.25) should be [light]+Pass CSS Animations: property <font-palette> from [light] to [dark] at (0) should be [light]Fail CSS Animations: property <font-palette> from [light] to [dark] at (0.3) should be [palette-mix(in oklab, light, dark 30%)]Fail CSS Animations: property <font-palette> from [light] to [dark] at (0.6) should be [palette-mix(in oklab, light, dark 60%)]-Fail CSS Animations: property <font-palette> from [light] to [dark] at (1) should be [dark]-Fail CSS Animations: property <font-palette> from [light] to [dark] at (1.5) should be [dark]-Fail Web Animations: property <font-palette> from [light] to [dark] at (-2) should be [light]-Fail Web Animations: property <font-palette> from [light] to [dark] at (-0.25) should be [light]-Fail Web Animations: property <font-palette> from [light] to [dark] at (0) should be [light]+Pass CSS Animations: property <font-palette> from [light] to [dark] at (1) should be [dark]+Pass CSS Animations: property <font-palette> from [light] to [dark] at (1.5) should be [dark]+Pass Web Animations: property <font-palette> from [light] to [dark] at (-2) should be [light]+Pass Web Animations: property <font-palette> from [light] to [dark] at (-0.25) should be [light]+Pass Web Animations: property <font-palette> from [light] to [dark] at (0) should be [light]Fail Web Animations: property <font-palette> from [light] to [dark] at (0.3) should be [palette-mix(in oklab, light, dark 30%)]Fail Web Animations: property <font-palette> from [light] to [dark] at (0.6) should be [palette-mix(in oklab, light, dark 60%)]-Fail Web Animations: property <font-palette> from [light] to [dark] at (1) should be [dark]-Fail Web Animations: property <font-palette> from [light] to [dark] at (1.5) should be [dark]+Pass Web Animations: property <font-palette> from [light] to [dark] at (1) should be [dark]+Pass Web Animations: property <font-palette> from [light] to [dark] at (1.5) should be [dark]Fail CSS Transitions: property <font-palette> from [initial] to [inherit] at (-2) should be [normal]Fail CSS Transitions: property <font-palette> from [initial] to [inherit] at (-0.25) should be [normal]Fail CSS Transitions: property <font-palette> from [initial] to [inherit] at (0) should be [normal]Fail CSS Transitions: property <font-palette> from [initial] to [inherit] at (0.3) should be [palette-mix(in oklab, normal, light 30%)]Fail CSS Transitions: property <font-palette> from [initial] to [inherit] at (0.6) should be [palette-mix(in oklab, normal, light 60%)]-Fail CSS Transitions: property <font-palette> from [initial] to [inherit] at (1) should be [light]-Fail CSS Transitions: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]+Pass CSS Transitions: property <font-palette> from [initial] to [inherit] at (1) should be [light]+Pass CSS Transitions: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (-2) should be [normal]Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (-0.25) should be [normal]Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (0) should be [normal]Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (0.3) should be [palette-mix(in oklab, normal, light 30%)]Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (0.6) should be [palette-mix(in oklab, normal, light 60%)]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (1) should be [light]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]-Fail CSS Animations: property <font-palette> from [initial] to [inherit] at (-2) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [inherit] at (-0.25) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [inherit] at (0) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [inherit] at (0.3) should be [palette-mix(in oklab, normal, light 30%)]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (1) should be [light]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]+Pass CSS Animations: property <font-palette> from [initial] to [inherit] at (-2) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [inherit] at (-0.25) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [inherit] at (0) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [inherit] at (0.3) should be [palette-mix(in oklab, normal, light 30%)]Fail CSS Animations: property <font-palette> from [initial] to [inherit] at (0.6) should be [palette-mix(in oklab, normal, light 60%)]-Fail CSS Animations: property <font-palette> from [initial] to [inherit] at (1) should be [light]-Fail CSS Animations: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]-Fail Web Animations: property <font-palette> from [initial] to [inherit] at (-2) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [inherit] at (-0.25) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [inherit] at (0) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [inherit] at (0.3) should be [palette-mix(in oklab, normal, light 30%)]+Pass CSS Animations: property <font-palette> from [initial] to [inherit] at (1) should be [light]+Pass CSS Animations: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]+Pass Web Animations: property <font-palette> from [initial] to [inherit] at (-2) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [inherit] at (-0.25) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [inherit] at (0) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [inherit] at (0.3) should be [palette-mix(in oklab, normal, light 30%)]Fail Web Animations: property <font-palette> from [initial] to [inherit] at (0.6) should be [palette-mix(in oklab, normal, light 60%)]-Fail Web Animations: property <font-palette> from [initial] to [inherit] at (1) should be [light]-Fail Web Animations: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]+Pass Web Animations: property <font-palette> from [initial] to [inherit] at (1) should be [light]+Pass Web Animations: property <font-palette> from [initial] to [inherit] at (1.5) should be [light]Fail CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (-2) should be [--custom-palette]Fail CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (-0.25) should be [--custom-palette]Fail CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (0) should be [--custom-palette]-Fail CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (0.3) should be [palette-mix(in oklab, --custom-palette, normal 30%)]-Fail CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]-Fail CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]-Fail CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]+Pass CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (0.3) should be [palette-mix(in oklab, --custom-palette, normal 30%)]+Pass CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]+Pass CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]+Pass CSS Transitions: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]Fail CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (-2) should be [--custom-palette]Fail CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (-0.25) should be [--custom-palette]Fail CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (0) should be [--custom-palette]-Fail CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (0.3) should be [palette-mix(in oklab, --custom-palette, normal 30%)]-Fail CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]-Fail CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]-Fail CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (-2) should be [--custom-palette]-Fail CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (-0.25) should be [--custom-palette]-Fail CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (0) should be [--custom-palette]+Pass CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (0.3) should be [palette-mix(in oklab, --custom-palette, normal 30%)]+Pass CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]+Pass CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]+Pass CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (-2) should be [--custom-palette]+Pass CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (-0.25) should be [--custom-palette]+Pass CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (0) should be [--custom-palette]Fail CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (0.3) should be [palette-mix(in oklab, --custom-palette, normal 30%)]-Fail CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]-Fail CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]-Fail CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]-Fail Web Animations: property <font-palette> from [--custom-palette] to [normal] at (-2) should be [--custom-palette]-Fail Web Animations: property <font-palette> from [--custom-palette] to [normal] at (-0.25) should be [--custom-palette]-Fail Web Animations: property <font-palette> from [--custom-palette] to [normal] at (0) should be [--custom-palette]+Pass CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]+Pass CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]+Pass CSS Animations: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]+Pass Web Animations: property <font-palette> from [--custom-palette] to [normal] at (-2) should be [--custom-palette]+Pass Web Animations: property <font-palette> from [--custom-palette] to [normal] at (-0.25) should be [--custom-palette]+Pass Web Animations: property <font-palette> from [--custom-palette] to [normal] at (0) should be [--custom-palette]Fail Web Animations: property <font-palette> from [--custom-palette] to [normal] at (0.3) should be [palette-mix(in oklab, --custom-palette, normal 30%)]-Fail Web Animations: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]-Fail Web Animations: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]-Fail Web Animations: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]-Fail CSS Transitions: property <font-palette> from [initial] to [normal] at (-2) should be [normal]-Fail CSS Transitions: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]-Fail CSS Transitions: property <font-palette> from [initial] to [normal] at (0) should be [normal]-Fail CSS Transitions: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]-Fail CSS Transitions: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]-Fail CSS Transitions: property <font-palette> from [initial] to [normal] at (1) should be [normal]-Fail CSS Transitions: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (-2) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (0) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (1) should be [normal]-Fail CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [normal] at (-2) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [normal] at (0) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [normal] at (1) should be [normal]-Fail CSS Animations: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [normal] at (-2) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [normal] at (0) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [normal] at (1) should be [normal]-Fail Web Animations: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]+Pass Web Animations: property <font-palette> from [--custom-palette] to [normal] at (0.6) should be [palette-mix(in oklab, --custom-palette, normal 60%)]+Pass Web Animations: property <font-palette> from [--custom-palette] to [normal] at (1) should be [normal]+Pass Web Animations: property <font-palette> from [--custom-palette] to [normal] at (1.5) should be [normal]+Pass CSS Transitions: property <font-palette> from [initial] to [normal] at (-2) should be [normal]+Pass CSS Transitions: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]+Pass CSS Transitions: property <font-palette> from [initial] to [normal] at (0) should be [normal]+Pass CSS Transitions: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]+Pass CSS Transitions: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]+Pass CSS Transitions: property <font-palette> from [initial] to [normal] at (1) should be [normal]+Pass CSS Transitions: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (-2) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (0) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (1) should be [normal]+Pass CSS Transitions with transition: all: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [normal] at (-2) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [normal] at (0) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [normal] at (1) should be [normal]+Pass CSS Animations: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [normal] at (-2) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [normal] at (-0.25) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [normal] at (0) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [normal] at (0.3) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [normal] at (0.6) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [normal] at (1) should be [normal]+Pass Web Animations: property <font-palette> from [initial] to [normal] at (1.5) should be [normal]Fail An interpolation to inherit updates correctly on a parent style change.Fail Test additive animations\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/multiple-elements-font-palette-animation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/multiple-elements-font-palette-animation.txtindex a0339ff60b7..565f00f73f7 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/multiple-elements-font-palette-animation.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/animations/multiple-elements-font-palette-animation.txt@@ -2,6 +2,6 @@ Harness status: OKFound 2 tests-2 Fail-Fail Verify font-palette value of the first element after animation-Fail Verify font-palette value of the second element after animation\ No newline at end of file+2 Pass+Pass Verify font-palette value of the first element after animation+Pass Verify font-palette value of the second element after animation\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/font-palette-vs-shorthand.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/font-palette-vs-shorthand.txtindex 3564126993f..7f8ec06285d 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/font-palette-vs-shorthand.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/font-palette-vs-shorthand.txt@@ -2,8 +2,8 @@ Harness status: OKFound 4 tests-4 Fail-Fail CSS Fonts Module Level 4: interaction of font-palette and font shorthand-Fail CSS Fonts Module Level 4: interaction of font-palette and font shorthand 1-Fail CSS Fonts Module Level 4: interaction of font-palette and font shorthand 2-Fail CSS Fonts Module Level 4: interaction of font-palette and font shorthand 3\ No newline at end of file+4 Pass+Pass CSS Fonts Module Level 4: interaction of font-palette and font shorthand+Pass CSS Fonts Module Level 4: interaction of font-palette and font shorthand 1+Pass CSS Fonts Module Level 4: interaction of font-palette and font shorthand 2+Pass CSS Fonts Module Level 4: interaction of font-palette and font shorthand 3\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-computed.txtindex 335fbd51359..8b8aee982f3 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-computed.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-computed.txt@@ -2,8 +2,8 @@ Harness status: OKFound 4 tests-4 Fail-Fail Property font-palette value 'normal'-Fail Property font-palette value 'light'-Fail Property font-palette value 'dark'-Fail Property font-palette value '--pitchfork'\ No newline at end of file+4 Pass+Pass Property font-palette value 'normal'+Pass Property font-palette value 'light'+Pass Property font-palette value 'dark'+Pass Property font-palette value '--pitchfork'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-valid.txtindex 31bddfa7330..d42411f7184 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-valid.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-palette-valid.txt@@ -2,9 +2,9 @@ Harness status: OKFound 5 tests-5 Fail-Fail e.style['font-palette'] = "normal" should set the property value-Fail e.style['font-palette'] = "light" should set the property value-Fail e.style['font-palette'] = "dark" should set the property value-Fail e.style['font-palette'] = "--pitchfork" should set the property value-Fail e.style['font-palette'] = "--" should set the property value\ No newline at end of file+5 Pass+Pass e.style['font-palette'] = "normal" should set the property value+Pass e.style['font-palette'] = "light" should set the property value+Pass e.style['font-palette'] = "dark" should set the property value+Pass e.style['font-palette'] = "--pitchfork" should set the property value+Pass e.style['font-palette'] = "--" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-palette.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-palette.txtindex 42d70f57121..1e971b700d2 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-palette.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-palette.txt@@ -2,16 +2,16 @@ Harness status: OKFound 35 tests-26 Pass-9 Fail-Fail Can set 'font-palette' to CSS-wide keywords: initial-Fail Can set 'font-palette' to CSS-wide keywords: inherit-Fail Can set 'font-palette' to CSS-wide keywords: unset-Fail Can set 'font-palette' to CSS-wide keywords: revert-Fail Can set 'font-palette' to var() references: var(--A)-Fail Can set 'font-palette' to the 'normal' keyword: normal-Fail Can set 'font-palette' to the 'light' keyword: light-Fail Can set 'font-palette' to the 'dark' keyword: dark+34 Pass+1 Fail+Pass Can set 'font-palette' to CSS-wide keywords: initial+Pass Can set 'font-palette' to CSS-wide keywords: inherit+Pass Can set 'font-palette' to CSS-wide keywords: unset+Pass Can set 'font-palette' to CSS-wide keywords: revert+Pass Can set 'font-palette' to var() references: var(--A)+Pass Can set 'font-palette' to the 'normal' keyword: normal+Pass Can set 'font-palette' to the 'light' keyword: light+Pass Can set 'font-palette' to the 'dark' keyword: darkPass Setting 'font-palette' to a length: 0px throws TypeErrorPass Setting 'font-palette' to a length: -3.14em throws TypeErrorPass Setting 'font-palette' to a length: 3.14cm throws TypeError