Skip to content

Truly independent web browser

Tests/LibWeb: Import WPT tests for CSS text and inline properties

Andreas Kling843fa12c4f77
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
new file mode 100644
index 00000000000..20c4074a22e
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.txt
@@ -0,0 +1,47 @@
+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
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
new file mode 100644
index 00000000000..726b6b41c83
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/animation/baseline-shift-composition.txt
@@ -0,0 +1,35 @@
+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
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
new file mode 100644
index 00000000000..3cb23bc93f1
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.txt
@@ -0,0 +1,47 @@
+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
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
new file mode 100644
index 00000000000..d721b3fb370
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-computed.txt
@@ -0,0 +1,14 @@
+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
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-invalid.txt
new file mode 100644
index 00000000000..fd2bfdf72f9
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-invalid.txt
@@ -0,0 +1,11 @@
+Harness status: OK
+
+Found 6 tests
+
+6 Pass
+Pass e.style['alignment-baseline'] = "auto" should not set the property value
+Pass e.style['alignment-baseline'] = "none" should not set the property value
+Pass e.style['alignment-baseline'] = "baseline text-bottom" should not set the property value
+Pass e.style['alignment-baseline'] = "top" should not set the property value
+Pass e.style['alignment-baseline'] = "center" should not set the property value
+Pass e.style['alignment-baseline'] = "bottom" should not set the property value
\ 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
new file mode 100644
index 00000000000..92abd2c6898
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/alignment-baseline-valid.txt
@@ -0,0 +1,14 @@
+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
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
new file mode 100644
index 00000000000..4cef9438878
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-computed.txt
@@ -0,0 +1,13 @@
+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
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-invalid.txt
new file mode 100644
index 00000000000..17375525501
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-invalid.txt
@@ -0,0 +1,10 @@
+Harness status: OK
+
+Found 5 tests
+
+5 Pass
+Pass e.style['baseline-shift'] = "5" should not set the property value
+Pass e.style['baseline-shift'] = "-10px 20%" should not set the property value
+Pass e.style['baseline-shift'] = "calc(2em + 3ex), 0" should not set the property value
+Pass e.style['baseline-shift'] = "sub super" should not set the property value
+Pass e.style['baseline-shift'] = "20px sub" should not 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-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-valid.txt
new file mode 100644
index 00000000000..a6f3db6525d
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-inline/parsing/baseline-shift-valid.txt
@@ -0,0 +1,14 @@
+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
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-computed.txt
new file mode 100644
index 00000000000..b3890a894e0
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-computed.txt
@@ -0,0 +1,13 @@
+Harness status: OK
+
+Found 8 tests
+
+8 Fail
+Fail Property text-align-last value 'auto'
+Fail Property text-align-last value 'start'
+Fail Property text-align-last value 'end'
+Fail Property text-align-last value 'left'
+Fail Property text-align-last value 'right'
+Fail Property text-align-last value 'center'
+Fail Property text-align-last value 'justify'
+Fail Property text-align-last value 'match-parent'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-invalid.txt
new file mode 100644
index 00000000000..0d4e3897a11
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-invalid.txt
@@ -0,0 +1,10 @@
+Harness status: OK
+
+Found 5 tests
+
+5 Pass
+Pass e.style['text-align-last'] = "none" should not set the property value
+Pass e.style['text-align-last'] = "auto start" should not set the property value
+Pass e.style['text-align-last'] = "end left" should not set the property value
+Pass e.style['text-align-last'] = "right center" should not set the property value
+Pass e.style['text-align-last'] = "justify match-parent" should not set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-valid.txt
new file mode 100644
index 00000000000..d204118594c
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-valid.txt
@@ -0,0 +1,13 @@
+Harness status: OK
+
+Found 8 tests
+
+8 Fail
+Fail e.style['text-align-last'] = "auto" should set the property value
+Fail e.style['text-align-last'] = "start" should set the property value
+Fail e.style['text-align-last'] = "end" should set the property value
+Fail e.style['text-align-last'] = "left" should set the property value
+Fail e.style['text-align-last'] = "right" should set the property value
+Fail e.style['text-align-last'] = "center" should set the property value
+Fail e.style['text-align-last'] = "justify" should set the property value
+Fail e.style['text-align-last'] = "match-parent" should set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/text-align/text-align-last-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/text-align/text-align-last-interpolation.txt
new file mode 100644
index 00000000000..079fc9b6ba2
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/text-align/text-align-last-interpolation.txt
@@ -0,0 +1,173 @@
+Harness status: OK
+
+Found 168 tests
+
+168 Fail
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (-0.3) should be [start]
+Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0) should be [start]
+Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0.3) should be [start]
+Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (-0.3) should be [start]
+Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0) should be [start]
+Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.3) should be [start]
+Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Fail CSS Animations: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Fail CSS Animations: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Fail CSS Animations: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Fail Web Animations: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Fail Web Animations: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Fail Web Animations: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Fail Web Animations: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Fail Web Animations: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Fail Web Animations: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Fail Web Animations: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (-0.3) should be [center]
+Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0) should be [center]
+Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0.3) should be [center]
+Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (-0.3) should be [center]
+Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0) should be [center]
+Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.3) should be [center]
+Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Fail CSS Animations: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Fail CSS Animations: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Fail CSS Animations: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Fail Web Animations: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Fail Web Animations: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Fail Web Animations: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Fail Web Animations: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Fail Web Animations: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Fail Web Animations: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Fail Web Animations: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0) should be [left]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (1) should be [right]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0) should be [left]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (1) should be [right]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Fail CSS Transitions: property <text-align-last> from [left] to [right] at (-0.3) should be [right]
+Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0) should be [right]
+Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0.3) should be [right]
+Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Fail CSS Transitions: property <text-align-last> from [left] to [right] at (1) should be [right]
+Fail CSS Transitions: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (-0.3) should be [right]
+Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0) should be [right]
+Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.3) should be [right]
+Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (1) should be [right]
+Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Fail CSS Animations: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Fail CSS Animations: property <text-align-last> from [left] to [right] at (0) should be [left]
+Fail CSS Animations: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Fail CSS Animations: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Fail CSS Animations: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Fail CSS Animations: property <text-align-last> from [left] to [right] at (1) should be [right]
+Fail CSS Animations: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Fail Web Animations: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Fail Web Animations: property <text-align-last> from [left] to [right] at (0) should be [left]
+Fail Web Animations: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Fail Web Animations: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Fail Web Animations: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Fail Web Animations: property <text-align-last> from [left] to [right] at (1) should be [right]
+Fail Web Animations: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [match-parent]
+Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0) should be [match-parent]
+Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.3) should be [match-parent]
+Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [match-parent]
+Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0) should be [match-parent]
+Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.3) should be [match-parent]
+Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.html
new file mode 100644
index 00000000000..53b20445186
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/animation/alignment-baseline-no-interpolation.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<link rel=author href="mailto:[email protected]">
+<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
+<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property">
+<link rel=help href="https://drafts.csswg.org/css-inline/#alignment-baseline-property">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/interpolation-testcommon.js"></script>
+
+<body>
+<script>
+test_no_interpolation({
+ property: 'alignment-baseline',
+ from: 'initial',
+ to: 'central'
+});
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/animation/baseline-shift-composition.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/animation/baseline-shift-composition.html
new file mode 100644
index 00000000000..370a3f666b7
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/animation/baseline-shift-composition.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>baseline-shift composition</title>
+<link rel="help" href="https://drafts.csswg.org/css-inline/#baseline-shift-property">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/interpolation-testcommon.js"></script>
+<body>
+<script>
+test_composition({
+ property: 'baseline-shift',
+ underlying: '50px',
+ addFrom: '100px',
+ addTo: '200px',
+}, [
+ {at: -0.3, expect: '120px'},
+ {at: 0, expect: '150px'},
+ {at: 0.5, expect: '200px'},
+ {at: 1, expect: '250px'},
+ {at: 1.5, expect: '300px'},
+]);
+
+test_composition({
+ property: 'baseline-shift',
+ underlying: '100px',
+ addFrom: '10px',
+ addTo: '2px',
+}, [
+ {at: -0.5, expect: '114px'},
+ {at: 0, expect: '110px'},
+ {at: 0.5, expect: '106px'},
+ {at: 1, expect: '102px'},
+ {at: 1.5, expect: '98px'},
+]);
+
+test_composition({
+ property: 'baseline-shift',
+ underlying: '50px',
+ addFrom: '100px',
+ replaceTo: '200px',
+}, [
+ {at: -0.3, expect: '135px'},
+ {at: 0, expect: '150px'},
+ {at: 0.5, expect: '175px'},
+ {at: 1, expect: '200px'},
+ {at: 1.5, expect: '225px'},
+]);
+</script>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.html
new file mode 100644
index 00000000000..eb54c817ab8
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/baseline-source/baseline-source-no-interpolation.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<link rel=author href="mailto:[email protected]">
+<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/interpolation-testcommon.js"></script>
+
+<body>
+<script>
+test_no_interpolation({
+ property: 'baseline-source',
+ from: 'initial',
+ to: 'last'
+});
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-computed.html
new file mode 100644
index 00000000000..20699359823
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-computed.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Inline Layout: getComputedStyle().alignmentBaseline</title>
+<link rel="help" href="https://drafts.csswg.org/css-inline-3/#alignment-baseline-property">
+<link rel="help" href="https://www.w3.org/TR/SVG11/text.html#AlignmentBaselineProperty">
+<meta name="assert" content="alignment-baseline computed value is as specified.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/computed-testcommon.js"></script>
+</head>
+<body>
+<div id="target"></div>
+<script>
+test_computed_value("alignment-baseline", "baseline");
+test_computed_value("alignment-baseline", "text-bottom");
+test_computed_value("alignment-baseline", "alphabetic");
+test_computed_value("alignment-baseline", "ideographic");
+test_computed_value("alignment-baseline", "middle");
+test_computed_value("alignment-baseline", "central");
+test_computed_value("alignment-baseline", "mathematical");
+test_computed_value("alignment-baseline", "hanging");
+test_computed_value("alignment-baseline", "text-top");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-invalid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-invalid.html
new file mode 100644
index 00000000000..5b19465274d
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-invalid.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Inline Layout: parsing alignment-baseline with invalid values</title>
+<link rel="help" href="https://drafts.csswg.org/css-inline-3/#alignment-baseline-property">
+<meta name="assert" content="alignment-baseline supports only the grammar 'baseline | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top'.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+// alignment-baseline 'auto' was valid in SVG 1.1
+// https://www.w3.org/TR/SVG11/text.html#AlignmentBaselineProperty
+test_invalid_value("alignment-baseline", "auto");
+
+test_invalid_value("alignment-baseline", "none");
+test_invalid_value("alignment-baseline", "baseline text-bottom");
+
+// These values were moved to `baseline-shift`
+// https://github.com/w3c/csswg-drafts/issues/5180
+test_invalid_value("alignment-baseline", "top");
+test_invalid_value("alignment-baseline", "center");
+test_invalid_value("alignment-baseline", "bottom");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-valid.html
new file mode 100644
index 00000000000..7142dc71227
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/alignment-baseline-valid.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Inline Layout: parsing alignment-baseline with valid values</title>
+<link rel="help" href="https://drafts.csswg.org/css-inline-3/#alignment-baseline-property">
+<meta name="assert" content="alignment-baseline supports the full grammar 'baseline | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top'.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+test_valid_value("alignment-baseline", "baseline");
+test_valid_value("alignment-baseline", "text-bottom");
+test_valid_value("alignment-baseline", "alphabetic");
+test_valid_value("alignment-baseline", "ideographic");
+test_valid_value("alignment-baseline", "middle");
+test_valid_value("alignment-baseline", "central");
+test_valid_value("alignment-baseline", "mathematical");
+test_valid_value("alignment-baseline", "hanging");
+test_valid_value("alignment-baseline", "text-top");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-computed.html
new file mode 100644
index 00000000000..108c9615b60
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-computed.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Inline Layout: getComputedStyle().baselineShift</title>
+<link rel="help" href="https://drafts.csswg.org/css-inline-3/#baseline-shift-property">
+<meta name="assert" content="baseline-shift computed value is the specified keyword or a computed length-percentage value.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/computed-testcommon.js"></script>
+<style>
+ #target {
+ font-size: 40px;
+ }
+</style>
+</head>
+<body>
+<div id="target"></div>
+<script>
+test_computed_value("baseline-shift", "-10px");
+test_computed_value("baseline-shift", "20%");
+test_computed_value("baseline-shift", "calc(10px - 0.5em)", "-10px");
+
+test_computed_value("baseline-shift", "sub");
+test_computed_value("baseline-shift", "super");
+test_computed_value("baseline-shift", "bottom");
+test_computed_value("baseline-shift", "center");
+test_computed_value("baseline-shift", "top");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-invalid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-invalid.html
new file mode 100644
index 00000000000..c4de03ff3a4
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-invalid.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Inline Layout: parsing baseline-shift with invalid values</title>
+<link rel="help" href="https://drafts.csswg.org/css-inline-3/#baseline-shift-property">
+<meta name="assert" content="baseline-shift supports only the grammar 'length-percentage | sub | super'.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+// Valid in SVG 1.1. Accepted by Blink and WebKit.
+// https://github.com/w3c/csswg-drafts/issues/3975
+test_invalid_value("baseline-shift", "5");
+
+test_invalid_value("baseline-shift", "-10px 20%");
+test_invalid_value("baseline-shift", "calc(2em + 3ex), 0");
+test_invalid_value("baseline-shift", "sub super");
+test_invalid_value("baseline-shift", "20px sub");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-valid.html
new file mode 100644
index 00000000000..0f8b1b131c2
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-inline/parsing/baseline-shift-valid.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Inline Layout: parsing baseline-shift with valid values</title>
+<link rel="help" href="https://drafts.csswg.org/css-inline-3/#baseline-shift-property">
+<meta name="assert" content="baseline-shift supports the full grammar 'length-percentage | sub | super'.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+test_valid_value("baseline-shift", "-10px");
+test_valid_value("baseline-shift", "20%");
+test_valid_value("baseline-shift", "calc(2em + 3ex)");
+test_valid_value("baseline-shift", "0", "0px");
+test_valid_value("baseline-shift", "sub");
+test_valid_value("baseline-shift", "super");
+test_valid_value("baseline-shift", "bottom");
+test_valid_value("baseline-shift", "center");
+test_valid_value("baseline-shift", "top");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-computed.html
new file mode 100644
index 00000000000..918c9c77221
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-computed.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Text: getComputedStyle().textAlignLast</title>
+<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-align-last">
+<meta name="assert" content="text-align-last computed value is specified keyword.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/computed-testcommon.js"></script>
+</head>
+<body>
+<div id="target"></div>
+<script>
+test_computed_value("text-align-last", "auto");
+test_computed_value("text-align-last", "start");
+test_computed_value("text-align-last", "end");
+test_computed_value("text-align-last", "left");
+test_computed_value("text-align-last", "right");
+test_computed_value("text-align-last", "center");
+test_computed_value("text-align-last", "justify");
+test_computed_value("text-align-last", "match-parent");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-invalid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-invalid.html
new file mode 100644
index 00000000000..413bb8cb6ec
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-invalid.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Text Module Test: parsing text-align-last with invalid values</title>
+<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-align-last">
+<meta name="assert" content="text-align-last supports only the grammar 'auto | start | end | left | right | center | justify | match-parent'.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+test_invalid_value("text-align-last", "none");
+test_invalid_value("text-align-last", "auto start");
+test_invalid_value("text-align-last", "end left");
+test_invalid_value("text-align-last", "right center");
+test_invalid_value("text-align-last", "justify match-parent");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-valid.html
new file mode 100644
index 00000000000..580558da7cd
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/text-align-last-valid.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Text Module Test: parsing text-align-last with valid values</title>
+<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-align-last">
+<meta name="assert" content="text-align-last supports the full grammar 'auto | start | end | left | right | center | justify | match-parent'.">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+test_valid_value("text-align-last", "auto");
+test_valid_value("text-align-last", "start");
+test_valid_value("text-align-last", "end");
+test_valid_value("text-align-last", "left");
+test_valid_value("text-align-last", "right");
+test_valid_value("text-align-last", "center");
+test_valid_value("text-align-last", "justify");
+test_valid_value("text-align-last", "match-parent");
+</script>
+</body>
+</html>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/text-align/text-align-last-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/text-align/text-align-last-interpolation.html
new file mode 100644
index 00000000000..753d5a807cc
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/text-align/text-align-last-interpolation.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>text-align-last interpolation</title>
+ <link rel="author" title="Kiet Ho" href="mailto:[email protected]">
+ <link rel="help" href="https://drafts.csswg.org/css-text/#text-align-last-property">
+ <meta name="assert" content="text-align-last supports discrete animation">
+ <script src="../../../resources/testharness.js"></script>
+ <script src="../../../resources/testharnessreport.js"></script>
+ <script src="../../../css/support/interpolation-testcommon.js"></script>
+ </head>
+ <body>
+ <script>
+ test_no_interpolation({
+ property: 'text-align-last',
+ from: 'auto',
+ to: 'start'
+ });
+
+ test_no_interpolation({
+ property: 'text-align-last',
+ from: 'justify',
+ to: 'center'
+ });
+
+ test_no_interpolation({
+ property: 'text-align-last',
+ from: 'left',
+ to: 'right'
+ });
+
+ test_no_interpolation({
+ property: 'text-align-last',
+ from: 'end',
+ to: 'match-parent'
+ });
+ </script>
+ </body>
+</html>