Truly independent web browser
LibWeb: Parse the font-synthesis longhands
Andreas Kling32d768b61890
diff --git a/Libraries/LibWeb/CSS/Keywords.json b/Libraries/LibWeb/CSS/Keywords.jsonindex f3d1626d6c5..db19183f652 100644--- a/Libraries/LibWeb/CSS/Keywords.json+++ b/Libraries/LibWeb/CSS/Keywords.json@@ -512,6 +512,7 @@"nw-resize","nwse-resize","oblique",+ "oblique-only","octal","odia","off",diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.jsonindex 8bd22d086f5..7056a8d5ab8 100644--- a/Libraries/LibWeb/CSS/Properties.json+++ b/Libraries/LibWeb/CSS/Properties.json@@ -2510,6 +2510,47 @@"font-style"]},+ "font-synthesis-position": {+ "animation-type": "discrete",+ "inherited": true,+ "initial": "auto",+ "requires-computation": "never",+ "valid-identifiers": [+ "auto",+ "none"+ ]+ },+ "font-synthesis-small-caps": {+ "animation-type": "discrete",+ "inherited": true,+ "initial": "auto",+ "requires-computation": "never",+ "valid-identifiers": [+ "auto",+ "none"+ ]+ },+ "font-synthesis-style": {+ "animation-type": "discrete",+ "inherited": true,+ "initial": "auto",+ "requires-computation": "never",+ "valid-identifiers": [+ "auto",+ "none",+ "oblique-only"+ ]+ },+ "font-synthesis-weight": {+ "animation-type": "discrete",+ "inherited": true,+ "initial": "auto",+ "requires-computation": "never",+ "valid-identifiers": [+ "auto",+ "none"+ ]+ },"font-variant": {"initial": "normal","longhands": [diff --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 f412d0d7ef9..a9ba74d1f1d 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@@ -28,6 +28,10 @@ All properties associated with getComputedStyle(document.body):"font-size","font-size-adjust","font-style",+ "font-synthesis-position",+ "font-synthesis-small-caps",+ "font-synthesis-style",+ "font-synthesis-weight","font-variant-alternates","font-variant-caps","font-variant-east-asian",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 c52e016e498..434a193af92 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@@ -545,6 +545,14 @@ All supported properties and their default values exposed from CSSStylePropertie'font-stretch': '100%''fontStyle': 'normal''font-style': 'normal'+'fontSynthesisPosition': 'auto'+'font-synthesis-position': 'auto'+'fontSynthesisSmallCaps': 'auto'+'font-synthesis-small-caps': 'auto'+'fontSynthesisStyle': 'auto'+'font-synthesis-style': 'auto'+'fontSynthesisWeight': 'auto'+'font-synthesis-weight': 'auto''fontVariant': 'normal''font-variant': 'normal''fontVariantAlternates': 'normal'diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txtindex f8fd7f9bd92..d435c0ea055 100644--- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt+++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt@@ -26,6 +26,10 @@ font-optical-sizing: autofont-size: 16pxfont-size-adjust: nonefont-style: normal+font-synthesis-position: auto+font-synthesis-small-caps: auto+font-synthesis-style: auto+font-synthesis-weight: autofont-variant-alternates: normalfont-variant-caps: normalfont-variant-east-asian: normaldiff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/discrete-no-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/discrete-no-interpolation.txtindex 0e31c8b38ea..c14358da35e 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/discrete-no-interpolation.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/discrete-no-interpolation.txt@@ -2,8 +2,7 @@ Harness status: OKFound 546 tests-420 Pass-126 Fail+546 PassPass CSS Transitions with transition-behavior:allow-discrete: property <font-family> from [serif] to [monospace] at (-0.3) should be [serif]Pass CSS Transitions with transition-behavior:allow-discrete: property <font-family> from [serif] to [monospace] at (0) should be [serif]Pass CSS Transitions with transition-behavior:allow-discrete: property <font-family> from [serif] to [monospace] at (0.3) should be [serif]@@ -172,132 +171,132 @@ Pass Web Animations: property <font-feature-settings> from [initial] to ["smcp"]Pass Web Animations: property <font-feature-settings> from [initial] to ["smcp"] at (0.6) should be ["smcp"]Pass Web Animations: property <font-feature-settings> from [initial] to ["smcp"] at (1) should be ["smcp"]Pass Web Animations: property <font-feature-settings> from [initial] to ["smcp"] at (1.5) should be ["smcp"]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [none]-Fail CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [none]-Fail CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [none]-Fail CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]-Fail CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]-Fail CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]-Fail CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]-Fail CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]-Fail CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]-Fail Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]-Fail Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]-Fail Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]-Fail Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]-Fail Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]-Fail Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]-Fail Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [none]-Fail CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0) should be [none]-Fail CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [none]-Fail CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]-Fail CSS Animations: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]-Fail CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]-Fail CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]-Fail CSS Animations: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]-Fail CSS Animations: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]-Fail Web Animations: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]-Fail Web Animations: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]-Fail Web Animations: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]-Fail Web Animations: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]-Fail Web Animations: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]-Fail Web Animations: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]-Fail Web Animations: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [none]-Fail CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0) should be [none]-Fail CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [none]-Fail CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]-Fail CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]-Fail CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]-Fail CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]-Fail CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]-Fail CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]-Fail CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]-Fail CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]-Fail CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]-Fail Web Animations: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]-Fail Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]-Fail Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]-Fail Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]-Fail Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]-Fail Web Animations: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]-Fail Web Animations: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [none]+Pass CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [none]+Pass CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [none]+Pass CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]+Pass CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]+Pass CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]+Pass CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]+Pass CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]+Pass CSS Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]+Pass Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (-0.3) should be [initial]+Pass Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0) should be [initial]+Pass Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.3) should be [initial]+Pass Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.5) should be [none]+Pass Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (0.6) should be [none]+Pass Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1) should be [none]+Pass Web Animations: property <font-synthesis-small-caps> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [none]+Pass CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0) should be [none]+Pass CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [none]+Pass CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]+Pass CSS Animations: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]+Pass CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]+Pass CSS Animations: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]+Pass CSS Animations: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]+Pass CSS Animations: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]+Pass Web Animations: property <font-synthesis-style> from [initial] to [none] at (-0.3) should be [initial]+Pass Web Animations: property <font-synthesis-style> from [initial] to [none] at (0) should be [initial]+Pass Web Animations: property <font-synthesis-style> from [initial] to [none] at (0.3) should be [initial]+Pass Web Animations: property <font-synthesis-style> from [initial] to [none] at (0.5) should be [none]+Pass Web Animations: property <font-synthesis-style> from [initial] to [none] at (0.6) should be [none]+Pass Web Animations: property <font-synthesis-style> from [initial] to [none] at (1) should be [none]+Pass Web Animations: property <font-synthesis-style> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition-behavior:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [none]+Pass CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0) should be [none]+Pass CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [none]+Pass CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]+Pass CSS Transitions with transition: all: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]+Pass CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]+Pass CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]+Pass CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]+Pass CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]+Pass CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]+Pass CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]+Pass CSS Animations: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]+Pass Web Animations: property <font-synthesis-weight> from [initial] to [none] at (-0.3) should be [initial]+Pass Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0) should be [initial]+Pass Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0.3) should be [initial]+Pass Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0.5) should be [none]+Pass Web Animations: property <font-synthesis-weight> from [initial] to [none] at (0.6) should be [none]+Pass Web Animations: property <font-synthesis-weight> from [initial] to [none] at (1) should be [none]+Pass Web Animations: property <font-synthesis-weight> from [initial] to [none] at (1.5) should be [none]Pass CSS Transitions with transition-behavior:allow-discrete: property <font-variant-alternates> from [initial] to [historical-forms] at (-0.3) should be [initial]Pass CSS Transitions with transition-behavior:allow-discrete: property <font-variant-alternates> from [initial] to [historical-forms] at (0) should be [initial]Pass CSS Transitions with transition-behavior:allow-discrete: property <font-variant-alternates> from [initial] to [historical-forms] at (0.3) should be [initial]diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-position-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-position-valid.txtindex c8e85dea992..bc8f3a83753 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-position-valid.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-position-valid.txt@@ -2,6 +2,6 @@ Harness status: OKFound 2 tests-2 Fail-Fail e.style['font-synthesis-position'] = "auto" should set the property value-Fail e.style['font-synthesis-position'] = "none" should set the property value\ No newline at end of file+2 Pass+Pass e.style['font-synthesis-position'] = "auto" should set the property value+Pass e.style['font-synthesis-position'] = "none" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-small-caps-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-small-caps-valid.txtindex e6666e1b846..4b18e4c60a7 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-small-caps-valid.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-small-caps-valid.txt@@ -2,6 +2,6 @@ Harness status: OKFound 2 tests-2 Fail-Fail e.style['font-synthesis-small-caps'] = "auto" should set the property value-Fail e.style['font-synthesis-small-caps'] = "none" should set the property value\ No newline at end of file+2 Pass+Pass e.style['font-synthesis-small-caps'] = "auto" should set the property value+Pass e.style['font-synthesis-small-caps'] = "none" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-style-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-style-valid.txtindex cacb1d282b7..5edf15223ec 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-style-valid.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-style-valid.txt@@ -2,7 +2,7 @@ Harness status: OKFound 3 tests-3 Fail-Fail e.style['font-synthesis-style'] = "auto" should set the property value-Fail e.style['font-synthesis-style'] = "none" should set the property value-Fail e.style['font-synthesis-style'] = "oblique-only" should set the property value\ No newline at end of file+3 Pass+Pass e.style['font-synthesis-style'] = "auto" should set the property value+Pass e.style['font-synthesis-style'] = "none" should set the property value+Pass e.style['font-synthesis-style'] = "oblique-only" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-weight-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-weight-valid.txtindex 705b67b37cd..ba1d04d78cb 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-weight-valid.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-synthesis-weight-valid.txt@@ -2,6 +2,6 @@ Harness status: OKFound 2 tests-2 Fail-Fail e.style['font-synthesis-weight'] = "auto" should set the property value-Fail e.style['font-synthesis-weight'] = "none" should set the property value\ No newline at end of file+2 Pass+Pass e.style['font-synthesis-weight'] = "auto" should set the property value+Pass e.style['font-synthesis-weight'] = "none" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-pseudo/parsing/marker-supported-properties-in-animation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-pseudo/parsing/marker-supported-properties-in-animation.txtindex 2e01b067a5a..90898c0ab19 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-pseudo/parsing/marker-supported-properties-in-animation.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-pseudo/parsing/marker-supported-properties-in-animation.txt@@ -2,8 +2,8 @@ Harness status: OKFound 96 tests-47 Pass-49 Fail+50 Pass+46 FailPass Animation of font in ::markerPass Animation of font-family in ::markerFail Animation of font-feature-settings in ::marker@@ -61,9 +61,9 @@ Pass Transition of font-size-adjust in ::markerPass Transition of font-stretch in ::markerPass Transition of font-style in ::markerFail Transition of font-synthesis in ::marker-Fail Transition of font-synthesis-small-caps in ::marker-Fail Transition of font-synthesis-style in ::marker-Fail Transition of font-synthesis-weight in ::marker+Pass Transition of font-synthesis-small-caps in ::marker+Pass Transition of font-synthesis-style in ::marker+Pass Transition of font-synthesis-weight in ::markerPass Transition of font-variant in ::markerPass Transition of font-variant-caps in ::markerPass Transition of font-variant-east-asian in ::markerdiff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-synthesis.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-synthesis.txtindex 692119bf590..f9189fc68f3 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-synthesis.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-synthesis.txt@@ -2,15 +2,15 @@ Harness status: OKFound 102 tests-78 Pass-24 Fail-Fail Can set 'font-synthesis-weight' to CSS-wide keywords: initial-Fail Can set 'font-synthesis-weight' to CSS-wide keywords: inherit-Fail Can set 'font-synthesis-weight' to CSS-wide keywords: unset-Fail Can set 'font-synthesis-weight' to CSS-wide keywords: revert-Fail Can set 'font-synthesis-weight' to var() references: var(--A)-Fail Can set 'font-synthesis-weight' to the 'auto' keyword: auto-Fail Can set 'font-synthesis-weight' to the 'none' keyword: none+99 Pass+3 Fail+Pass Can set 'font-synthesis-weight' to CSS-wide keywords: initial+Pass Can set 'font-synthesis-weight' to CSS-wide keywords: inherit+Pass Can set 'font-synthesis-weight' to CSS-wide keywords: unset+Pass Can set 'font-synthesis-weight' to CSS-wide keywords: revert+Pass Can set 'font-synthesis-weight' to var() references: var(--A)+Pass Can set 'font-synthesis-weight' to the 'auto' keyword: auto+Pass Can set 'font-synthesis-weight' to the 'none' keyword: nonePass Setting 'font-synthesis-weight' to a length: 0px throws TypeErrorPass Setting 'font-synthesis-weight' to a length: -3.14em throws TypeErrorPass Setting 'font-synthesis-weight' to a length: 3.14cm throws TypeError@@ -37,13 +37,13 @@ Pass Setting 'font-synthesis-weight' to a number: calc(2 + 3) throws TypeErrorPass Setting 'font-synthesis-weight' to a transform: translate(50%, 50%) throws TypeErrorPass Setting 'font-synthesis-weight' to a transform: perspective(10em) throws TypeErrorPass Setting 'font-synthesis-weight' to a transform: translate3d(0px, 1px, 2px) translate(0px, 1px) rotate3d(1, 2, 3, 45deg) rotate(45deg) scale3d(1, 2, 3) scale(1, 2) skew(1deg, 1deg) skewX(1deg) skewY(45deg) perspective(1px) matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16) matrix(1, 2, 3, 4, 5, 6) throws TypeError-Fail Can set 'font-synthesis-style' to CSS-wide keywords: initial-Fail Can set 'font-synthesis-style' to CSS-wide keywords: inherit-Fail Can set 'font-synthesis-style' to CSS-wide keywords: unset-Fail Can set 'font-synthesis-style' to CSS-wide keywords: revert-Fail Can set 'font-synthesis-style' to var() references: var(--A)-Fail Can set 'font-synthesis-style' to the 'auto' keyword: auto-Fail Can set 'font-synthesis-style' to the 'none' keyword: none+Pass Can set 'font-synthesis-style' to CSS-wide keywords: initial+Pass Can set 'font-synthesis-style' to CSS-wide keywords: inherit+Pass Can set 'font-synthesis-style' to CSS-wide keywords: unset+Pass Can set 'font-synthesis-style' to CSS-wide keywords: revert+Pass Can set 'font-synthesis-style' to var() references: var(--A)+Pass Can set 'font-synthesis-style' to the 'auto' keyword: auto+Pass Can set 'font-synthesis-style' to the 'none' keyword: nonePass Setting 'font-synthesis-style' to a length: 0px throws TypeErrorPass Setting 'font-synthesis-style' to a length: -3.14em throws TypeErrorPass Setting 'font-synthesis-style' to a length: 3.14cm throws TypeError@@ -70,13 +70,13 @@ Pass Setting 'font-synthesis-style' to a number: calc(2 + 3) throws TypeErrorPass Setting 'font-synthesis-style' to a transform: translate(50%, 50%) throws TypeErrorPass Setting 'font-synthesis-style' to a transform: perspective(10em) throws TypeErrorPass Setting 'font-synthesis-style' to a transform: translate3d(0px, 1px, 2px) translate(0px, 1px) rotate3d(1, 2, 3, 45deg) rotate(45deg) scale3d(1, 2, 3) scale(1, 2) skew(1deg, 1deg) skewX(1deg) skewY(45deg) perspective(1px) matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16) matrix(1, 2, 3, 4, 5, 6) throws TypeError-Fail Can set 'font-synthesis-small-caps' to CSS-wide keywords: initial-Fail Can set 'font-synthesis-small-caps' to CSS-wide keywords: inherit-Fail Can set 'font-synthesis-small-caps' to CSS-wide keywords: unset-Fail Can set 'font-synthesis-small-caps' to CSS-wide keywords: revert-Fail Can set 'font-synthesis-small-caps' to var() references: var(--A)-Fail Can set 'font-synthesis-small-caps' to the 'auto' keyword: auto-Fail Can set 'font-synthesis-small-caps' to the 'none' keyword: none+Pass Can set 'font-synthesis-small-caps' to CSS-wide keywords: initial+Pass Can set 'font-synthesis-small-caps' to CSS-wide keywords: inherit+Pass Can set 'font-synthesis-small-caps' to CSS-wide keywords: unset+Pass Can set 'font-synthesis-small-caps' to CSS-wide keywords: revert+Pass Can set 'font-synthesis-small-caps' to var() references: var(--A)+Pass Can set 'font-synthesis-small-caps' to the 'auto' keyword: auto+Pass Can set 'font-synthesis-small-caps' to the 'none' keyword: nonePass Setting 'font-synthesis-small-caps' to a length: 0px throws TypeErrorPass Setting 'font-synthesis-small-caps' to a length: -3.14em throws TypeErrorPass Setting 'font-synthesis-small-caps' to a length: 3.14cm throws TypeError