Skip to content

Truly independent web browser

LibWeb: Parse alignment-baseline, baseline-source and baseline-shift

Andreas Kling033ee3084519
diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.json
index 7056a8d5ab8..94c588b2827 100644
--- a/Libraries/LibWeb/CSS/Properties.json
+++ b/Libraries/LibWeb/CSS/Properties.json
@@ -257,6 +257,18 @@
"align-self"
]
},
+ "alignment-baseline": {
+ "animation-type": "discrete",
+ "inherited": false,
+ "initial": "baseline",
+ "requires-computation": "never",
+ "valid-types": [
+ "baseline-metric"
+ ],
+ "valid-identifiers": [
+ "baseline"
+ ]
+ },
"all": {
"affects-layout": true,
"affects-stacking-context": true,
@@ -721,6 +733,35 @@
],
"percentages-resolve-to": "length"
},
+ "baseline-shift": {
+ "animation-type": "by-computed-value",
+ "inherited": false,
+ "initial": "0",
+ "percentages-resolve-to": "length",
+ "requires-computation": "cascaded-value",
+ "valid-types": [
+ "length [-∞,∞]",
+ "percentage [-∞,∞]"
+ ],
+ "valid-identifiers": [
+ "sub",
+ "super",
+ "top",
+ "center",
+ "bottom"
+ ]
+ },
+ "baseline-source": {
+ "animation-type": "discrete",
+ "inherited": false,
+ "initial": "auto",
+ "requires-computation": "never",
+ "valid-identifiers": [
+ "auto",
+ "first",
+ "last"
+ ]
+ },
"block-ellipsis": {
"style-group": "InheritedTextValues",
"affects-layout": true,
diff --git a/Libraries/LibWeb/SVG/SVGElement.cpp b/Libraries/LibWeb/SVG/SVGElement.cpp
index adf6520b4b4..18275a8b700 100644
--- a/Libraries/LibWeb/SVG/SVGElement.cpp
+++ b/Libraries/LibWeb/SVG/SVGElement.cpp
@@ -114,6 +114,8 @@ static ReadonlySpan<NamedPropertyID> attribute_style_properties()
static auto const& properties = *new Array {
// FIXME: The `fill` attribute and CSS `fill` property are not the same! But our support is limited enough that they are equivalent for now.
NamedPropertyID(CSS::PropertyID::Fill),
+ NamedPropertyID(CSS::PropertyID::AlignmentBaseline),
+ NamedPropertyID(CSS::PropertyID::BaselineShift),
// FIXME: The `stroke` attribute and CSS `stroke` property are not the same! But our support is limited enough that they are equivalent for now.
NamedPropertyID(CSS::PropertyID::ClipPath),
NamedPropertyID(CSS::PropertyID::ClipRule),
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.txt
index a9ba74d1f1d..1f22805ba46 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
@@ -92,6 +92,7 @@ All properties associated with getComputedStyle(document.body):
"align-content",
"align-items",
"align-self",
+ "alignment-baseline",
"anchor-name",
"anchor-scope",
"animation-composition",
@@ -120,6 +121,8 @@ All properties associated with getComputedStyle(document.body):
"background-position-y",
"background-repeat",
"background-size",
+ "baseline-shift",
+ "baseline-source",
"block-size",
"border-block-end-color",
"border-block-end-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.txt
index 434a193af92..fc4a942f726 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
@@ -190,6 +190,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'align-items': 'normal'
'alignSelf': 'auto'
'align-self': 'auto'
+'alignmentBaseline': 'baseline'
+'alignment-baseline': 'baseline'
'all': ''
'anchorName': 'none'
'anchor-name': 'none'
@@ -252,6 +254,10 @@ All supported properties and their default values exposed from CSSStylePropertie
'background-repeat': 'repeat'
'backgroundSize': 'auto'
'background-size': 'auto'
+'baselineShift': '0px'
+'baseline-shift': '0px'
+'baselineSource': 'auto'
+'baseline-source': 'auto'
'blockEllipsis': 'no-ellipsis'
'block-ellipsis': 'no-ellipsis'
'blockSize': '134px'
diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
index d435c0ea055..e5bfcfb6be2 100644
--- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
+++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
@@ -90,6 +90,7 @@ writing-mode: horizontal-tb
align-content: normal
align-items: normal
align-self: auto
+alignment-baseline: baseline
anchor-name: none
anchor-scope: none
animation-composition: replace
@@ -118,6 +119,8 @@ background-position-x: 0%
background-position-y: 0%
background-repeat: repeat
background-size: auto
+baseline-shift: 0px
+baseline-source: auto
block-size: 100px
border-block-end-color: rgb(0, 0, 0)
border-block-end-style: none
diff --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.txt
index 2b59671d73b..9169339bb7a 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
@@ -1,8 +1,8 @@
Harness status: OK
-Found 339 tests
+Found 342 tests
-335 Pass
+338 Pass
4 Fail
Pass accent-color
Pass border-collapse
@@ -86,6 +86,7 @@ Pass writing-mode
Pass align-content
Pass align-items
Pass align-self
+Pass alignment-baseline
Pass animation-composition
Pass animation-delay
Pass animation-direction
@@ -111,6 +112,8 @@ Pass background-position-x
Pass background-position-y
Pass background-repeat
Pass background-size
+Pass baseline-shift
+Pass baseline-source
Fail block-size
Pass border-block-end-color
Pass border-block-end-style
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.txt
index 20c4074a22e..97ed271c0d1 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.txt
@@ -2,46 +2,46 @@ Harness status: OK
Found 42 tests
-42 Fail
-Fail CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
-Fail CSS Transitions: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [central]
-Fail CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0) should be [central]
-Fail CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0.3) should be [central]
-Fail CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
-Fail CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
-Fail CSS Transitions: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
-Fail CSS Transitions: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
-Fail CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [central]
-Fail CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0) should be [central]
-Fail CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0.3) should be [central]
-Fail CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
-Fail CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
-Fail CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
-Fail CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
-Fail CSS Animations: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
-Fail CSS Animations: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
-Fail CSS Animations: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
-Fail CSS Animations: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
-Fail CSS Animations: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
-Fail CSS Animations: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
-Fail CSS Animations: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
-Fail Web Animations: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
-Fail Web Animations: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
-Fail Web Animations: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
-Fail Web Animations: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
-Fail Web Animations: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
-Fail Web Animations: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
-Fail Web Animations: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
\ No newline at end of file
+42 Pass
+Pass CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
+Pass CSS Transitions: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [central]
+Pass CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0) should be [central]
+Pass CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0.3) should be [central]
+Pass CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
+Pass CSS Transitions: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
+Pass CSS Transitions: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
+Pass CSS Transitions: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
+Pass CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [central]
+Pass CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0) should be [central]
+Pass CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0.3) should be [central]
+Pass CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
+Pass CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
+Pass CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
+Pass CSS Transitions with transition: all: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
+Pass CSS Animations: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
+Pass CSS Animations: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
+Pass CSS Animations: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
+Pass CSS Animations: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
+Pass CSS Animations: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
+Pass CSS Animations: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
+Pass CSS Animations: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
+Pass Web Animations: property <alignment-baseline> from [initial] to [central] at (-0.3) should be [initial]
+Pass Web Animations: property <alignment-baseline> from [initial] to [central] at (0) should be [initial]
+Pass Web Animations: property <alignment-baseline> from [initial] to [central] at (0.3) should be [initial]
+Pass Web Animations: property <alignment-baseline> from [initial] to [central] at (0.5) should be [central]
+Pass Web Animations: property <alignment-baseline> from [initial] to [central] at (0.6) should be [central]
+Pass Web Animations: property <alignment-baseline> from [initial] to [central] at (1) should be [central]
+Pass Web Animations: property <alignment-baseline> from [initial] to [central] at (1.5) should be [central]
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/baseline-shift-composition.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/baseline-shift-composition.txt
index 726b6b41c83..18abfdc96c1 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/baseline-shift-composition.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/baseline-shift-composition.txt
@@ -2,34 +2,34 @@ Harness status: OK
Found 30 tests
-30 Fail
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (-0.3) should be [120px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0) should be [150px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0.5) should be [200px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1) should be [250px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1.5) should be [300px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (-0.3) should be [120px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0) should be [150px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0.5) should be [200px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1) should be [250px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1.5) should be [300px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (-0.5) should be [114px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0) should be [110px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0.5) should be [106px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1) should be [102px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1.5) should be [98px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (-0.5) should be [114px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0) should be [110px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0.5) should be [106px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1) should be [102px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1.5) should be [98px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (-0.3) should be [135px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0) should be [150px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0.5) should be [175px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1) should be [200px]
-Fail Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1.5) should be [225px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (-0.3) should be [135px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0) should be [150px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0.5) should be [175px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1) should be [200px]
-Fail Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1.5) should be [225px]
\ No newline at end of file
+30 Pass
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (-0.3) should be [120px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0) should be [150px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0.5) should be [200px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1) should be [250px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1.5) should be [300px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (-0.3) should be [120px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0) should be [150px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (0.5) should be [200px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1) should be [250px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to add [200px] at (1.5) should be [300px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (-0.5) should be [114px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0) should be [110px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0.5) should be [106px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1) should be [102px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1.5) should be [98px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (-0.5) should be [114px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0) should be [110px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (0.5) should be [106px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1) should be [102px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [100px] from add [10px] to add [2px] at (1.5) should be [98px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (-0.3) should be [135px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0) should be [150px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0.5) should be [175px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1) should be [200px]
+Pass Compositing CSS Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1.5) should be [225px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (-0.3) should be [135px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0) should be [150px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (0.5) should be [175px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1) should be [200px]
+Pass Compositing Web Animations: property <baseline-shift> underlying [50px] from add [100px] to replace [200px] at (1.5) should be [225px]
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.txt
index 3cb23bc93f1..343a3e9ec3c 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.txt
@@ -2,46 +2,46 @@ Harness status: OK
Found 42 tests
-42 Fail
-Fail CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0) should be [initial]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (1) should be [last]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0) should be [initial]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (1) should be [last]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
-Fail CSS Transitions: property <baseline-source> from [initial] to [last] at (-0.3) should be [last]
-Fail CSS Transitions: property <baseline-source> from [initial] to [last] at (0) should be [last]
-Fail CSS Transitions: property <baseline-source> from [initial] to [last] at (0.3) should be [last]
-Fail CSS Transitions: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
-Fail CSS Transitions: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
-Fail CSS Transitions: property <baseline-source> from [initial] to [last] at (1) should be [last]
-Fail CSS Transitions: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
-Fail CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (-0.3) should be [last]
-Fail CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0) should be [last]
-Fail CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0.3) should be [last]
-Fail CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
-Fail CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
-Fail CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (1) should be [last]
-Fail CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
-Fail CSS Animations: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
-Fail CSS Animations: property <baseline-source> from [initial] to [last] at (0) should be [initial]
-Fail CSS Animations: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
-Fail CSS Animations: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
-Fail CSS Animations: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
-Fail CSS Animations: property <baseline-source> from [initial] to [last] at (1) should be [last]
-Fail CSS Animations: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
-Fail Web Animations: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
-Fail Web Animations: property <baseline-source> from [initial] to [last] at (0) should be [initial]
-Fail Web Animations: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
-Fail Web Animations: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
-Fail Web Animations: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
-Fail Web Animations: property <baseline-source> from [initial] to [last] at (1) should be [last]
-Fail Web Animations: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
\ No newline at end of file
+42 Pass
+Pass CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0) should be [initial]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (1) should be [last]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0) should be [initial]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (1) should be [last]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
+Pass CSS Transitions: property <baseline-source> from [initial] to [last] at (-0.3) should be [last]
+Pass CSS Transitions: property <baseline-source> from [initial] to [last] at (0) should be [last]
+Pass CSS Transitions: property <baseline-source> from [initial] to [last] at (0.3) should be [last]
+Pass CSS Transitions: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
+Pass CSS Transitions: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
+Pass CSS Transitions: property <baseline-source> from [initial] to [last] at (1) should be [last]
+Pass CSS Transitions: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
+Pass CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (-0.3) should be [last]
+Pass CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0) should be [last]
+Pass CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0.3) should be [last]
+Pass CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
+Pass CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
+Pass CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (1) should be [last]
+Pass CSS Transitions with transition: all: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
+Pass CSS Animations: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
+Pass CSS Animations: property <baseline-source> from [initial] to [last] at (0) should be [initial]
+Pass CSS Animations: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
+Pass CSS Animations: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
+Pass CSS Animations: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
+Pass CSS Animations: property <baseline-source> from [initial] to [last] at (1) should be [last]
+Pass CSS Animations: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
+Pass Web Animations: property <baseline-source> from [initial] to [last] at (-0.3) should be [initial]
+Pass Web Animations: property <baseline-source> from [initial] to [last] at (0) should be [initial]
+Pass Web Animations: property <baseline-source> from [initial] to [last] at (0.3) should be [initial]
+Pass Web Animations: property <baseline-source> from [initial] to [last] at (0.5) should be [last]
+Pass Web Animations: property <baseline-source> from [initial] to [last] at (0.6) should be [last]
+Pass Web Animations: property <baseline-source> from [initial] to [last] at (1) should be [last]
+Pass Web Animations: property <baseline-source> from [initial] to [last] at (1.5) should be [last]
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-computed.txt
index d721b3fb370..906b4eafb7a 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-computed.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-computed.txt
@@ -2,13 +2,13 @@ Harness status: OK
Found 9 tests
-9 Fail
-Fail Property alignment-baseline value 'baseline'
-Fail Property alignment-baseline value 'text-bottom'
-Fail Property alignment-baseline value 'alphabetic'
-Fail Property alignment-baseline value 'ideographic'
-Fail Property alignment-baseline value 'middle'
-Fail Property alignment-baseline value 'central'
-Fail Property alignment-baseline value 'mathematical'
-Fail Property alignment-baseline value 'hanging'
-Fail Property alignment-baseline value 'text-top'
\ No newline at end of file
+9 Pass
+Pass Property alignment-baseline value 'baseline'
+Pass Property alignment-baseline value 'text-bottom'
+Pass Property alignment-baseline value 'alphabetic'
+Pass Property alignment-baseline value 'ideographic'
+Pass Property alignment-baseline value 'middle'
+Pass Property alignment-baseline value 'central'
+Pass Property alignment-baseline value 'mathematical'
+Pass Property alignment-baseline value 'hanging'
+Pass Property alignment-baseline value 'text-top'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-valid.txt
index 92abd2c6898..b477b8063ff 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-valid.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-valid.txt
@@ -2,13 +2,13 @@ Harness status: OK
Found 9 tests
-9 Fail
-Fail e.style['alignment-baseline'] = "baseline" should set the property value
-Fail e.style['alignment-baseline'] = "text-bottom" should set the property value
-Fail e.style['alignment-baseline'] = "alphabetic" should set the property value
-Fail e.style['alignment-baseline'] = "ideographic" should set the property value
-Fail e.style['alignment-baseline'] = "middle" should set the property value
-Fail e.style['alignment-baseline'] = "central" should set the property value
-Fail e.style['alignment-baseline'] = "mathematical" should set the property value
-Fail e.style['alignment-baseline'] = "hanging" should set the property value
-Fail e.style['alignment-baseline'] = "text-top" should set the property value
\ No newline at end of file
+9 Pass
+Pass e.style['alignment-baseline'] = "baseline" should set the property value
+Pass e.style['alignment-baseline'] = "text-bottom" should set the property value
+Pass e.style['alignment-baseline'] = "alphabetic" should set the property value
+Pass e.style['alignment-baseline'] = "ideographic" should set the property value
+Pass e.style['alignment-baseline'] = "middle" should set the property value
+Pass e.style['alignment-baseline'] = "central" should set the property value
+Pass e.style['alignment-baseline'] = "mathematical" should set the property value
+Pass e.style['alignment-baseline'] = "hanging" should set the property value
+Pass e.style['alignment-baseline'] = "text-top" should set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-computed.txt
index 4cef9438878..bc5c6ada864 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-computed.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-computed.txt
@@ -2,12 +2,12 @@ Harness status: OK
Found 8 tests
-8 Fail
-Fail Property baseline-shift value '-10px'
-Fail Property baseline-shift value '20%'
-Fail Property baseline-shift value 'calc(10px - 0.5em)'
-Fail Property baseline-shift value 'sub'
-Fail Property baseline-shift value 'super'
-Fail Property baseline-shift value 'bottom'
-Fail Property baseline-shift value 'center'
-Fail Property baseline-shift value 'top'
\ No newline at end of file
+8 Pass
+Pass Property baseline-shift value '-10px'
+Pass Property baseline-shift value '20%'
+Pass Property baseline-shift value 'calc(10px - 0.5em)'
+Pass Property baseline-shift value 'sub'
+Pass Property baseline-shift value 'super'
+Pass Property baseline-shift value 'bottom'
+Pass Property baseline-shift value 'center'
+Pass Property baseline-shift value 'top'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-valid.txt
index a6f3db6525d..432f81b4cf7 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-valid.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-valid.txt
@@ -2,13 +2,13 @@ Harness status: OK
Found 9 tests
-9 Fail
-Fail e.style['baseline-shift'] = "-10px" should set the property value
-Fail e.style['baseline-shift'] = "20%" should set the property value
-Fail e.style['baseline-shift'] = "calc(2em + 3ex)" should set the property value
-Fail e.style['baseline-shift'] = "0" should set the property value
-Fail e.style['baseline-shift'] = "sub" should set the property value
-Fail e.style['baseline-shift'] = "super" should set the property value
-Fail e.style['baseline-shift'] = "bottom" should set the property value
-Fail e.style['baseline-shift'] = "center" should set the property value
-Fail e.style['baseline-shift'] = "top" should set the property value
\ No newline at end of file
+9 Pass
+Pass e.style['baseline-shift'] = "-10px" should set the property value
+Pass e.style['baseline-shift'] = "20%" should set the property value
+Pass e.style['baseline-shift'] = "calc(2em + 3ex)" should set the property value
+Pass e.style['baseline-shift'] = "0" should set the property value
+Pass e.style['baseline-shift'] = "sub" should set the property value
+Pass e.style['baseline-shift'] = "super" should set the property value
+Pass e.style['baseline-shift'] = "bottom" should set the property value
+Pass e.style['baseline-shift'] = "center" should set the property value
+Pass e.style['baseline-shift'] = "top" should set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/alignment-baseline.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/alignment-baseline.txt
index 2da37565686..21973918e82 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/alignment-baseline.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/alignment-baseline.txt
@@ -2,21 +2,20 @@ Harness status: OK
Found 39 tests
-26 Pass
-13 Fail
-Fail Can set 'alignment-baseline' to CSS-wide keywords: initial
-Fail Can set 'alignment-baseline' to CSS-wide keywords: inherit
-Fail Can set 'alignment-baseline' to CSS-wide keywords: unset
-Fail Can set 'alignment-baseline' to CSS-wide keywords: revert
-Fail Can set 'alignment-baseline' to var() references: var(--A)
-Fail Can set 'alignment-baseline' to the 'baseline' keyword: baseline
-Fail Can set 'alignment-baseline' to the 'text-bottom' keyword: text-bottom
-Fail Can set 'alignment-baseline' to the 'alphabetic' keyword: alphabetic
-Fail Can set 'alignment-baseline' to the 'ideographic' keyword: ideographic
-Fail Can set 'alignment-baseline' to the 'middle' keyword: middle
-Fail Can set 'alignment-baseline' to the 'central' keyword: central
-Fail Can set 'alignment-baseline' to the 'mathematical' keyword: mathematical
-Fail Can set 'alignment-baseline' to the 'text-top' keyword: text-top
+39 Pass
+Pass Can set 'alignment-baseline' to CSS-wide keywords: initial
+Pass Can set 'alignment-baseline' to CSS-wide keywords: inherit
+Pass Can set 'alignment-baseline' to CSS-wide keywords: unset
+Pass Can set 'alignment-baseline' to CSS-wide keywords: revert
+Pass Can set 'alignment-baseline' to var() references: var(--A)
+Pass Can set 'alignment-baseline' to the 'baseline' keyword: baseline
+Pass Can set 'alignment-baseline' to the 'text-bottom' keyword: text-bottom
+Pass Can set 'alignment-baseline' to the 'alphabetic' keyword: alphabetic
+Pass Can set 'alignment-baseline' to the 'ideographic' keyword: ideographic
+Pass Can set 'alignment-baseline' to the 'middle' keyword: middle
+Pass Can set 'alignment-baseline' to the 'central' keyword: central
+Pass Can set 'alignment-baseline' to the 'mathematical' keyword: mathematical
+Pass Can set 'alignment-baseline' to the 'text-top' keyword: text-top
Pass Setting 'alignment-baseline' to a length: 0px throws TypeError
Pass Setting 'alignment-baseline' to a length: -3.14em throws TypeError
Pass Setting 'alignment-baseline' to a length: 3.14cm throws TypeError
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/baseline-shift.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/baseline-shift.txt
index 7cc8460251f..a06bd691dd2 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/baseline-shift.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/baseline-shift.txt
@@ -2,26 +2,25 @@ Harness status: OK
Found 36 tests
-18 Pass
-18 Fail
-Fail Can set 'baseline-shift' to CSS-wide keywords: initial
-Fail Can set 'baseline-shift' to CSS-wide keywords: inherit
-Fail Can set 'baseline-shift' to CSS-wide keywords: unset
-Fail Can set 'baseline-shift' to CSS-wide keywords: revert
-Fail Can set 'baseline-shift' to var() references: var(--A)
-Fail Can set 'baseline-shift' to the 'bottom' keyword: bottom
-Fail Can set 'baseline-shift' to the 'center' keyword: center
-Fail Can set 'baseline-shift' to the 'top' keyword: top
-Fail Can set 'baseline-shift' to the 'sub' keyword: sub
-Fail Can set 'baseline-shift' to the 'super' keyword: super
-Fail Can set 'baseline-shift' to a percent: 0%
-Fail Can set 'baseline-shift' to a percent: -3.14%
-Fail Can set 'baseline-shift' to a percent: 3.14%
-Fail Can set 'baseline-shift' to a percent: calc(0% + 0%)
-Fail Can set 'baseline-shift' to a length: 0px
-Fail Can set 'baseline-shift' to a length: -3.14em
-Fail Can set 'baseline-shift' to a length: 3.14cm
-Fail Can set 'baseline-shift' to a length: calc(0px + 0em)
+36 Pass
+Pass Can set 'baseline-shift' to CSS-wide keywords: initial
+Pass Can set 'baseline-shift' to CSS-wide keywords: inherit
+Pass Can set 'baseline-shift' to CSS-wide keywords: unset
+Pass Can set 'baseline-shift' to CSS-wide keywords: revert
+Pass Can set 'baseline-shift' to var() references: var(--A)
+Pass Can set 'baseline-shift' to the 'bottom' keyword: bottom
+Pass Can set 'baseline-shift' to the 'center' keyword: center
+Pass Can set 'baseline-shift' to the 'top' keyword: top
+Pass Can set 'baseline-shift' to the 'sub' keyword: sub
+Pass Can set 'baseline-shift' to the 'super' keyword: super
+Pass Can set 'baseline-shift' to a percent: 0%
+Pass Can set 'baseline-shift' to a percent: -3.14%
+Pass Can set 'baseline-shift' to a percent: 3.14%
+Pass Can set 'baseline-shift' to a percent: calc(0% + 0%)
+Pass Can set 'baseline-shift' to a length: 0px
+Pass Can set 'baseline-shift' to a length: -3.14em
+Pass Can set 'baseline-shift' to a length: 3.14cm
+Pass Can set 'baseline-shift' to a length: calc(0px + 0em)
Pass Setting 'baseline-shift' to a time: 0s throws TypeError
Pass Setting 'baseline-shift' to a time: -3.14ms throws TypeError
Pass Setting 'baseline-shift' to a time: 3.14s throws TypeError
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt
index 22c2693ae7f..780fce7902b 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt
@@ -2,17 +2,17 @@ Harness status: OK
Found 697 tests
-667 Pass
-30 Fail
-Fail alignment-baseline: baseline
-Fail alignment-baseline: text-bottom
-Fail alignment-baseline: alphabetic
-Fail alignment-baseline: ideographic
-Fail alignment-baseline: middle
-Fail alignment-baseline: central
-Fail alignment-baseline: mathematical
-Fail alignment-baseline: text-top
-Fail alignment-baseline: inherit
+691 Pass
+6 Fail
+Pass alignment-baseline: baseline
+Pass alignment-baseline: text-bottom
+Pass alignment-baseline: alphabetic
+Pass alignment-baseline: ideographic
+Pass alignment-baseline: middle
+Pass alignment-baseline: central
+Pass alignment-baseline: mathematical
+Pass alignment-baseline: text-top
+Pass alignment-baseline: inherit
Pass background-attachment: scroll
Pass background-attachment: fixed
Pass background-attachment: inherit
@@ -201,21 +201,21 @@ Pass background-repeat: repeat-x
Pass background-repeat: repeat-y
Pass background-repeat: no-repeat
Pass background-repeat: inherit
-Fail baseline-shift: sub
-Fail baseline-shift: super
-Fail baseline-shift: top
-Fail baseline-shift: center
-Fail baseline-shift: bottom
-Fail baseline-shift: 5%
-Fail baseline-shift: .5%
-Fail baseline-shift: 0px
-Fail baseline-shift: 1px
-Fail baseline-shift: .1em
-Fail baseline-shift: inherit
-Fail baseline-source: auto
-Fail baseline-source: first
-Fail baseline-source: last
-Fail baseline-source: inherit
+Pass baseline-shift: sub
+Pass baseline-shift: super
+Pass baseline-shift: top
+Pass baseline-shift: center
+Pass baseline-shift: bottom
+Pass baseline-shift: 5%
+Pass baseline-shift: .5%
+Pass baseline-shift: 0px
+Pass baseline-shift: 1px
+Pass baseline-shift: .1em
+Pass baseline-shift: inherit
+Pass baseline-source: auto
+Pass baseline-source: first
+Pass baseline-source: last
+Pass baseline-source: inherit
Pass border-collapse: collapse
Pass border-collapse: separate
Pass border-collapse: inherit
diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-irrelevant.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-irrelevant.txt
index a6e1f7bd4ee..69183359328 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-irrelevant.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-irrelevant.txt
@@ -1,8 +1,10 @@
Harness status: OK
-Found 52 tests
+Found 54 tests
-52 Pass
+54 Pass
+Pass alignment-baseline presentation attribute supported on an irrelevant element
+Pass baseline-shift presentation attribute supported on an irrelevant element
Pass clip-path presentation attribute supported on an irrelevant element
Pass clip-rule presentation attribute supported on an irrelevant element
Pass color presentation attribute supported on an irrelevant element
diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-relevant.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-relevant.txt
index a76ce4bb543..4a02c9ebb52 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-relevant.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-relevant.txt
@@ -1,8 +1,10 @@
Harness status: OK
-Found 63 tests
+Found 65 tests
-63 Pass
+65 Pass
+Pass alignment-baseline presentation attribute supported on a relevant element
+Pass baseline-shift presentation attribute supported on a relevant element
Pass clip-path presentation attribute supported on a relevant element
Pass clip-rule presentation attribute supported on a relevant element
Pass color presentation attribute supported on a relevant element
diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-unknown.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-unknown.txt
index 22278e10a73..1d3b9439454 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-unknown.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/styling/presentation-attributes-unknown.txt
@@ -1,8 +1,10 @@
Harness status: OK
-Found 52 tests
+Found 54 tests
-52 Pass
+54 Pass
+Pass alignment-baseline presentation attribute supported on an unknown SVG element
+Pass baseline-shift presentation attribute supported on an unknown SVG element
Pass clip-path presentation attribute supported on an unknown SVG element
Pass clip-rule presentation attribute supported on an unknown SVG element
Pass color presentation attribute supported on an unknown SVG element
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-001.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-001.txt
index bfc1f78f0a2..3fe52f33b20 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-001.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-001.txt
@@ -1,10 +1,13 @@
Harness status: OK
-Found 356 tests
+Found 359 tests
-337 Pass
+340 Pass
19 Fail
Pass Setup
+Pass alignment-baseline (type: discrete) has testAccumulation function
+Pass alignment-baseline: "middle" onto "baseline"
+Pass alignment-baseline: "baseline" onto "middle"
Pass align-content (type: discrete) has testAccumulation function
Fail align-content: "flex-end" onto "flex-start"
Fail align-content: "flex-start" onto "flex-end"
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-001.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-001.txt
index 8d3c1967e4a..a66f15157a6 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-001.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-001.txt
@@ -1,10 +1,13 @@
Harness status: OK
-Found 356 tests
+Found 359 tests
-337 Pass
+340 Pass
19 Fail
Pass Setup
+Pass alignment-baseline (type: discrete) has testAddition function
+Pass alignment-baseline: "middle" onto "baseline"
+Pass alignment-baseline: "baseline" onto "middle"
Pass align-content (type: discrete) has testAddition function
Fail align-content: "flex-end" onto "flex-start"
Fail align-content: "flex-start" onto "flex-end"
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-001.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-001.txt
index 4b6b3ab7932..dae661b20f3 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-001.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-001.txt
@@ -1,10 +1,14 @@
Harness status: OK
-Found 442 tests
+Found 446 tests
-432 Pass
+436 Pass
10 Fail
Pass Setup
+Pass alignment-baseline (type: discrete) has testInterpolation function
+Pass alignment-baseline uses discrete animation when animating between "baseline" and "middle" with linear easing
+Pass alignment-baseline uses discrete animation when animating between "baseline" and "middle" with effect easing
+Pass alignment-baseline uses discrete animation when animating between "baseline" and "middle" with keyframe easing
Pass align-content (type: discrete) has testInterpolation function
Fail align-content uses discrete animation when animating between "flex-start" and "flex-end" with linear easing
Fail align-content uses discrete animation when animating between "flex-start" and "flex-end" with effect easing