Truly independent web browser
Tests/LibWeb: Add text-emphasis-position coverage
Andreas Kling4e327a6dfa5e
diff --git a/Tests/LibWeb/Text/expected/css/text-emphasis-position-values.txt b/Tests/LibWeb/Text/expected/css/text-emphasis-position-values.txtnew file mode 100644index 00000000000..cc8223543dd--- /dev/null+++ b/Tests/LibWeb/Text/expected/css/text-emphasis-position-values.txt@@ -0,0 +1,10 @@+over right: specified=over right, computed=undefined, inherited=undefined+right under: specified=right under, computed=undefined, inherited=undefined+left over: specified=left over, computed=undefined, inherited=undefined+under left: specified=under left, computed=undefined, inherited=undefined+initial=undefined+unset=undefined+time=0: undefined+time=499: undefined+time=500: undefined+time=1000: undefineddiff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/animations/discrete-no-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/animations/discrete-no-interpolation.txtnew file mode 100644index 00000000000..7b2e0cd3204--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/animations/discrete-no-interpolation.txt@@ -0,0 +1,342 @@+Harness status: OK++Found 336 tests++252 Pass+84 Fail+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (-0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0.5) should be [underline]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0.6) should be [underline]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (1) should be [underline]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (1.5) should be [underline]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (-0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0.5) should be [underline]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (0.6) should be [underline]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (1) should be [underline]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-line> from [initial] to [underline] at (1.5) should be [underline]+Pass CSS Transitions: property <text-decoration-line> from [initial] to [underline] at (-0.3) should be [underline]+Pass CSS Transitions: property <text-decoration-line> from [initial] to [underline] at (0) should be [underline]+Pass CSS Transitions: property <text-decoration-line> from [initial] to [underline] at (0.3) should be [underline]+Pass CSS Transitions: property <text-decoration-line> from [initial] to [underline] at (0.5) should be [underline]+Pass CSS Transitions: property <text-decoration-line> from [initial] to [underline] at (0.6) should be [underline]+Pass CSS Transitions: property <text-decoration-line> from [initial] to [underline] at (1) should be [underline]+Pass CSS Transitions: property <text-decoration-line> from [initial] to [underline] at (1.5) should be [underline]+Pass CSS Transitions with transition: all: property <text-decoration-line> from [initial] to [underline] at (-0.3) should be [underline]+Pass CSS Transitions with transition: all: property <text-decoration-line> from [initial] to [underline] at (0) should be [underline]+Pass CSS Transitions with transition: all: property <text-decoration-line> from [initial] to [underline] at (0.3) should be [underline]+Pass CSS Transitions with transition: all: property <text-decoration-line> from [initial] to [underline] at (0.5) should be [underline]+Pass CSS Transitions with transition: all: property <text-decoration-line> from [initial] to [underline] at (0.6) should be [underline]+Pass CSS Transitions with transition: all: property <text-decoration-line> from [initial] to [underline] at (1) should be [underline]+Pass CSS Transitions with transition: all: property <text-decoration-line> from [initial] to [underline] at (1.5) should be [underline]+Pass CSS Animations: property <text-decoration-line> from [initial] to [underline] at (-0.3) should be [initial]+Pass CSS Animations: property <text-decoration-line> from [initial] to [underline] at (0) should be [initial]+Pass CSS Animations: property <text-decoration-line> from [initial] to [underline] at (0.3) should be [initial]+Pass CSS Animations: property <text-decoration-line> from [initial] to [underline] at (0.5) should be [underline]+Pass CSS Animations: property <text-decoration-line> from [initial] to [underline] at (0.6) should be [underline]+Pass CSS Animations: property <text-decoration-line> from [initial] to [underline] at (1) should be [underline]+Pass CSS Animations: property <text-decoration-line> from [initial] to [underline] at (1.5) should be [underline]+Pass Web Animations: property <text-decoration-line> from [initial] to [underline] at (-0.3) should be [initial]+Pass Web Animations: property <text-decoration-line> from [initial] to [underline] at (0) should be [initial]+Pass Web Animations: property <text-decoration-line> from [initial] to [underline] at (0.3) should be [initial]+Pass Web Animations: property <text-decoration-line> from [initial] to [underline] at (0.5) should be [underline]+Pass Web Animations: property <text-decoration-line> from [initial] to [underline] at (0.6) should be [underline]+Pass Web Animations: property <text-decoration-line> from [initial] to [underline] at (1) should be [underline]+Pass Web Animations: property <text-decoration-line> from [initial] to [underline] at (1.5) should be [underline]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (-0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0.5) should be [dashed]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0.6) should be [dashed]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (1) should be [dashed]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (1.5) should be [dashed]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (-0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0.5) should be [dashed]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (0.6) should be [dashed]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (1) should be [dashed]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-style> from [initial] to [dashed] at (1.5) should be [dashed]+Pass CSS Transitions: property <text-decoration-style> from [initial] to [dashed] at (-0.3) should be [dashed]+Pass CSS Transitions: property <text-decoration-style> from [initial] to [dashed] at (0) should be [dashed]+Pass CSS Transitions: property <text-decoration-style> from [initial] to [dashed] at (0.3) should be [dashed]+Pass CSS Transitions: property <text-decoration-style> from [initial] to [dashed] at (0.5) should be [dashed]+Pass CSS Transitions: property <text-decoration-style> from [initial] to [dashed] at (0.6) should be [dashed]+Pass CSS Transitions: property <text-decoration-style> from [initial] to [dashed] at (1) should be [dashed]+Pass CSS Transitions: property <text-decoration-style> from [initial] to [dashed] at (1.5) should be [dashed]+Pass CSS Transitions with transition: all: property <text-decoration-style> from [initial] to [dashed] at (-0.3) should be [dashed]+Pass CSS Transitions with transition: all: property <text-decoration-style> from [initial] to [dashed] at (0) should be [dashed]+Pass CSS Transitions with transition: all: property <text-decoration-style> from [initial] to [dashed] at (0.3) should be [dashed]+Pass CSS Transitions with transition: all: property <text-decoration-style> from [initial] to [dashed] at (0.5) should be [dashed]+Pass CSS Transitions with transition: all: property <text-decoration-style> from [initial] to [dashed] at (0.6) should be [dashed]+Pass CSS Transitions with transition: all: property <text-decoration-style> from [initial] to [dashed] at (1) should be [dashed]+Pass CSS Transitions with transition: all: property <text-decoration-style> from [initial] to [dashed] at (1.5) should be [dashed]+Pass CSS Animations: property <text-decoration-style> from [initial] to [dashed] at (-0.3) should be [initial]+Pass CSS Animations: property <text-decoration-style> from [initial] to [dashed] at (0) should be [initial]+Pass CSS Animations: property <text-decoration-style> from [initial] to [dashed] at (0.3) should be [initial]+Pass CSS Animations: property <text-decoration-style> from [initial] to [dashed] at (0.5) should be [dashed]+Pass CSS Animations: property <text-decoration-style> from [initial] to [dashed] at (0.6) should be [dashed]+Pass CSS Animations: property <text-decoration-style> from [initial] to [dashed] at (1) should be [dashed]+Pass CSS Animations: property <text-decoration-style> from [initial] to [dashed] at (1.5) should be [dashed]+Pass Web Animations: property <text-decoration-style> from [initial] to [dashed] at (-0.3) should be [initial]+Pass Web Animations: property <text-decoration-style> from [initial] to [dashed] at (0) should be [initial]+Pass Web Animations: property <text-decoration-style> from [initial] to [dashed] at (0.3) should be [initial]+Pass Web Animations: property <text-decoration-style> from [initial] to [dashed] at (0.5) should be [dashed]+Pass Web Animations: property <text-decoration-style> from [initial] to [dashed] at (0.6) should be [dashed]+Pass Web Animations: property <text-decoration-style> from [initial] to [dashed] at (1) should be [dashed]+Pass Web Animations: property <text-decoration-style> from [initial] to [dashed] at (1.5) should be [dashed]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (-0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (-0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [initial] to [123px] at (1.5) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [initial] to [123px] at (-0.3) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [initial] to [123px] at (0) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [initial] to [123px] at (0.3) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [initial] to [123px] at (0.5) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [initial] to [123px] at (0.6) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [initial] to [123px] at (1) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [initial] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [initial] to [123px] at (-0.3) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [initial] to [123px] at (0) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [initial] to [123px] at (0.3) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [initial] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [initial] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [initial] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [initial] to [123px] at (1.5) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [initial] to [123px] at (-0.3) should be [initial]+Pass CSS Animations: property <text-decoration-thickness> from [initial] to [123px] at (0) should be [initial]+Pass CSS Animations: property <text-decoration-thickness> from [initial] to [123px] at (0.3) should be [initial]+Pass CSS Animations: property <text-decoration-thickness> from [initial] to [123px] at (0.5) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [initial] to [123px] at (0.6) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [initial] to [123px] at (1) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [initial] to [123px] at (1.5) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [initial] to [123px] at (-0.3) should be [initial]+Pass Web Animations: property <text-decoration-thickness> from [initial] to [123px] at (0) should be [initial]+Pass Web Animations: property <text-decoration-thickness> from [initial] to [123px] at (0.3) should be [initial]+Pass Web Animations: property <text-decoration-thickness> from [initial] to [123px] at (0.5) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [initial] to [123px] at (0.6) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [initial] to [123px] at (1) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [initial] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (-0.3) should be [auto]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0) should be [auto]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0.3) should be [auto]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (-0.3) should be [auto]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0) should be [auto]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0.3) should be [auto]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [auto] to [123px] at (1.5) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [auto] to [123px] at (-0.3) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [auto] to [123px] at (0) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [auto] to [123px] at (0.3) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [auto] to [123px] at (0.5) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [auto] to [123px] at (0.6) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [auto] to [123px] at (1) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [auto] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [auto] to [123px] at (-0.3) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [auto] to [123px] at (0) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [auto] to [123px] at (0.3) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [auto] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [auto] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [auto] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [auto] to [123px] at (1.5) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [auto] to [123px] at (-0.3) should be [auto]+Pass CSS Animations: property <text-decoration-thickness> from [auto] to [123px] at (0) should be [auto]+Pass CSS Animations: property <text-decoration-thickness> from [auto] to [123px] at (0.3) should be [auto]+Pass CSS Animations: property <text-decoration-thickness> from [auto] to [123px] at (0.5) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [auto] to [123px] at (0.6) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [auto] to [123px] at (1) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [auto] to [123px] at (1.5) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [auto] to [123px] at (-0.3) should be [auto]+Pass Web Animations: property <text-decoration-thickness> from [auto] to [123px] at (0) should be [auto]+Pass Web Animations: property <text-decoration-thickness> from [auto] to [123px] at (0.3) should be [auto]+Pass Web Animations: property <text-decoration-thickness> from [auto] to [123px] at (0.5) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [auto] to [123px] at (0.6) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [auto] to [123px] at (1) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [auto] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (-0.3) should be [from-font]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0) should be [from-font]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0.3) should be [from-font]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (-0.3) should be [from-font]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0) should be [from-font]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0.3) should be [from-font]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-decoration-thickness> from [from-font] to [123px] at (1.5) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [from-font] to [123px] at (-0.3) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [from-font] to [123px] at (0) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [from-font] to [123px] at (0.3) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [from-font] to [123px] at (0.5) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [from-font] to [123px] at (0.6) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [from-font] to [123px] at (1) should be [123px]+Pass CSS Transitions: property <text-decoration-thickness> from [from-font] to [123px] at (1.5) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [from-font] to [123px] at (-0.3) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [from-font] to [123px] at (0) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [from-font] to [123px] at (0.3) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [from-font] to [123px] at (0.5) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [from-font] to [123px] at (0.6) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [from-font] to [123px] at (1) should be [123px]+Pass CSS Transitions with transition: all: property <text-decoration-thickness> from [from-font] to [123px] at (1.5) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [from-font] to [123px] at (-0.3) should be [from-font]+Pass CSS Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0) should be [from-font]+Pass CSS Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0.3) should be [from-font]+Pass CSS Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0.5) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0.6) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [from-font] to [123px] at (1) should be [123px]+Pass CSS Animations: property <text-decoration-thickness> from [from-font] to [123px] at (1.5) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [from-font] to [123px] at (-0.3) should be [from-font]+Pass Web Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0) should be [from-font]+Pass Web Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0.3) should be [from-font]+Pass Web Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0.5) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [from-font] to [123px] at (0.6) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [from-font] to [123px] at (1) should be [123px]+Pass Web Animations: property <text-decoration-thickness> from [from-font] to [123px] at (1.5) should be [123px]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (-0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0.5) should be [under right]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0.6) should be [under right]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (1) should be [under right]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (1.5) should be [under right]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (-0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0.5) should be [under right]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (0.6) should be [under right]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (1) should be [under right]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-position> from [initial] to [under right] at (1.5) should be [under right]+Fail CSS Transitions: property <text-emphasis-position> from [initial] to [under right] at (-0.3) should be [under right]+Fail CSS Transitions: property <text-emphasis-position> from [initial] to [under right] at (0) should be [under right]+Fail CSS Transitions: property <text-emphasis-position> from [initial] to [under right] at (0.3) should be [under right]+Fail CSS Transitions: property <text-emphasis-position> from [initial] to [under right] at (0.5) should be [under right]+Fail CSS Transitions: property <text-emphasis-position> from [initial] to [under right] at (0.6) should be [under right]+Fail CSS Transitions: property <text-emphasis-position> from [initial] to [under right] at (1) should be [under right]+Fail CSS Transitions: property <text-emphasis-position> from [initial] to [under right] at (1.5) should be [under right]+Fail CSS Transitions with transition: all: property <text-emphasis-position> from [initial] to [under right] at (-0.3) should be [under right]+Fail CSS Transitions with transition: all: property <text-emphasis-position> from [initial] to [under right] at (0) should be [under right]+Fail CSS Transitions with transition: all: property <text-emphasis-position> from [initial] to [under right] at (0.3) should be [under right]+Fail CSS Transitions with transition: all: property <text-emphasis-position> from [initial] to [under right] at (0.5) should be [under right]+Fail CSS Transitions with transition: all: property <text-emphasis-position> from [initial] to [under right] at (0.6) should be [under right]+Fail CSS Transitions with transition: all: property <text-emphasis-position> from [initial] to [under right] at (1) should be [under right]+Fail CSS Transitions with transition: all: property <text-emphasis-position> from [initial] to [under right] at (1.5) should be [under right]+Fail CSS Animations: property <text-emphasis-position> from [initial] to [under right] at (-0.3) should be [initial]+Fail CSS Animations: property <text-emphasis-position> from [initial] to [under right] at (0) should be [initial]+Fail CSS Animations: property <text-emphasis-position> from [initial] to [under right] at (0.3) should be [initial]+Fail CSS Animations: property <text-emphasis-position> from [initial] to [under right] at (0.5) should be [under right]+Fail CSS Animations: property <text-emphasis-position> from [initial] to [under right] at (0.6) should be [under right]+Fail CSS Animations: property <text-emphasis-position> from [initial] to [under right] at (1) should be [under right]+Fail CSS Animations: property <text-emphasis-position> from [initial] to [under right] at (1.5) should be [under right]+Fail Web Animations: property <text-emphasis-position> from [initial] to [under right] at (-0.3) should be [initial]+Fail Web Animations: property <text-emphasis-position> from [initial] to [under right] at (0) should be [initial]+Fail Web Animations: property <text-emphasis-position> from [initial] to [under right] at (0.3) should be [initial]+Fail Web Animations: property <text-emphasis-position> from [initial] to [under right] at (0.5) should be [under right]+Fail Web Animations: property <text-emphasis-position> from [initial] to [under right] at (0.6) should be [under right]+Fail Web Animations: property <text-emphasis-position> from [initial] to [under right] at (1) should be [under right]+Fail Web Animations: property <text-emphasis-position> from [initial] to [under right] at (1.5) should be [under right]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (-0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0.5) should be [dot]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0.6) should be [dot]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (1) should be [dot]+Fail CSS Transitions with transition-behavior:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (1.5) should be [dot]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (-0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0.5) should be [dot]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (0.6) should be [dot]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (1) should be [dot]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-emphasis-style> from [initial] to [dot] at (1.5) should be [dot]+Fail CSS Transitions: property <text-emphasis-style> from [initial] to [dot] at (-0.3) should be [dot]+Fail CSS Transitions: property <text-emphasis-style> from [initial] to [dot] at (0) should be [dot]+Fail CSS Transitions: property <text-emphasis-style> from [initial] to [dot] at (0.3) should be [dot]+Fail CSS Transitions: property <text-emphasis-style> from [initial] to [dot] at (0.5) should be [dot]+Fail CSS Transitions: property <text-emphasis-style> from [initial] to [dot] at (0.6) should be [dot]+Fail CSS Transitions: property <text-emphasis-style> from [initial] to [dot] at (1) should be [dot]+Fail CSS Transitions: property <text-emphasis-style> from [initial] to [dot] at (1.5) should be [dot]+Fail CSS Transitions with transition: all: property <text-emphasis-style> from [initial] to [dot] at (-0.3) should be [dot]+Fail CSS Transitions with transition: all: property <text-emphasis-style> from [initial] to [dot] at (0) should be [dot]+Fail CSS Transitions with transition: all: property <text-emphasis-style> from [initial] to [dot] at (0.3) should be [dot]+Fail CSS Transitions with transition: all: property <text-emphasis-style> from [initial] to [dot] at (0.5) should be [dot]+Fail CSS Transitions with transition: all: property <text-emphasis-style> from [initial] to [dot] at (0.6) should be [dot]+Fail CSS Transitions with transition: all: property <text-emphasis-style> from [initial] to [dot] at (1) should be [dot]+Fail CSS Transitions with transition: all: property <text-emphasis-style> from [initial] to [dot] at (1.5) should be [dot]+Fail CSS Animations: property <text-emphasis-style> from [initial] to [dot] at (-0.3) should be [initial]+Fail CSS Animations: property <text-emphasis-style> from [initial] to [dot] at (0) should be [initial]+Fail CSS Animations: property <text-emphasis-style> from [initial] to [dot] at (0.3) should be [initial]+Fail CSS Animations: property <text-emphasis-style> from [initial] to [dot] at (0.5) should be [dot]+Fail CSS Animations: property <text-emphasis-style> from [initial] to [dot] at (0.6) should be [dot]+Fail CSS Animations: property <text-emphasis-style> from [initial] to [dot] at (1) should be [dot]+Fail CSS Animations: property <text-emphasis-style> from [initial] to [dot] at (1.5) should be [dot]+Fail Web Animations: property <text-emphasis-style> from [initial] to [dot] at (-0.3) should be [initial]+Fail Web Animations: property <text-emphasis-style> from [initial] to [dot] at (0) should be [initial]+Fail Web Animations: property <text-emphasis-style> from [initial] to [dot] at (0.3) should be [initial]+Fail Web Animations: property <text-emphasis-style> from [initial] to [dot] at (0.5) should be [dot]+Fail Web Animations: property <text-emphasis-style> from [initial] to [dot] at (0.6) should be [dot]+Fail Web Animations: property <text-emphasis-style> from [initial] to [dot] at (1) should be [dot]+Fail Web Animations: property <text-emphasis-style> from [initial] to [dot] at (1.5) should be [dot]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-underline-position> from [initial] to [under] at (-0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-underline-position> from [initial] to [under] at (0) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-underline-position> from [initial] to [under] at (0.3) should be [initial]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-underline-position> from [initial] to [under] at (0.5) should be [under]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-underline-position> from [initial] to [under] at (0.6) should be [under]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-underline-position> from [initial] to [under] at (1) should be [under]+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-underline-position> from [initial] to [under] at (1.5) should be [under]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-underline-position> from [initial] to [under] at (-0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-underline-position> from [initial] to [under] at (0) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-underline-position> from [initial] to [under] at (0.3) should be [initial]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-underline-position> from [initial] to [under] at (0.5) should be [under]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-underline-position> from [initial] to [under] at (0.6) should be [under]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-underline-position> from [initial] to [under] at (1) should be [under]+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-underline-position> from [initial] to [under] at (1.5) should be [under]+Pass CSS Transitions: property <text-underline-position> from [initial] to [under] at (-0.3) should be [under]+Pass CSS Transitions: property <text-underline-position> from [initial] to [under] at (0) should be [under]+Pass CSS Transitions: property <text-underline-position> from [initial] to [under] at (0.3) should be [under]+Pass CSS Transitions: property <text-underline-position> from [initial] to [under] at (0.5) should be [under]+Pass CSS Transitions: property <text-underline-position> from [initial] to [under] at (0.6) should be [under]+Pass CSS Transitions: property <text-underline-position> from [initial] to [under] at (1) should be [under]+Pass CSS Transitions: property <text-underline-position> from [initial] to [under] at (1.5) should be [under]+Pass CSS Transitions with transition: all: property <text-underline-position> from [initial] to [under] at (-0.3) should be [under]+Pass CSS Transitions with transition: all: property <text-underline-position> from [initial] to [under] at (0) should be [under]+Pass CSS Transitions with transition: all: property <text-underline-position> from [initial] to [under] at (0.3) should be [under]+Pass CSS Transitions with transition: all: property <text-underline-position> from [initial] to [under] at (0.5) should be [under]+Pass CSS Transitions with transition: all: property <text-underline-position> from [initial] to [under] at (0.6) should be [under]+Pass CSS Transitions with transition: all: property <text-underline-position> from [initial] to [under] at (1) should be [under]+Pass CSS Transitions with transition: all: property <text-underline-position> from [initial] to [under] at (1.5) should be [under]+Pass CSS Animations: property <text-underline-position> from [initial] to [under] at (-0.3) should be [initial]+Pass CSS Animations: property <text-underline-position> from [initial] to [under] at (0) should be [initial]+Pass CSS Animations: property <text-underline-position> from [initial] to [under] at (0.3) should be [initial]+Pass CSS Animations: property <text-underline-position> from [initial] to [under] at (0.5) should be [under]+Pass CSS Animations: property <text-underline-position> from [initial] to [under] at (0.6) should be [under]+Pass CSS Animations: property <text-underline-position> from [initial] to [under] at (1) should be [under]+Pass CSS Animations: property <text-underline-position> from [initial] to [under] at (1.5) should be [under]+Pass Web Animations: property <text-underline-position> from [initial] to [under] at (-0.3) should be [initial]+Pass Web Animations: property <text-underline-position> from [initial] to [under] at (0) should be [initial]+Pass Web Animations: property <text-underline-position> from [initial] to [under] at (0.3) should be [initial]+Pass Web Animations: property <text-underline-position> from [initial] to [under] at (0.5) should be [under]+Pass Web Animations: property <text-underline-position> from [initial] to [under] at (0.6) should be [under]+Pass Web Animations: property <text-underline-position> from [initial] to [under] at (1) should be [under]+Pass Web Animations: property <text-underline-position> from [initial] to [under] at (1.5) should be [under]\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-computed.txtnew file mode 100644index 00000000000..69bbeebff7c--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-computed.txt@@ -0,0 +1,12 @@+Harness status: OK++Found 7 tests++7 Fail+Fail Property text-emphasis-position value 'auto'+Fail Property text-emphasis-position value 'over'+Fail Property text-emphasis-position value 'under'+Fail Property text-emphasis-position value 'over right'+Fail Property text-emphasis-position value 'over left'+Fail Property text-emphasis-position value 'under right'+Fail Property text-emphasis-position value 'under left'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-invalid.txtnew file mode 100644index 00000000000..075edfa05f2--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-invalid.txt@@ -0,0 +1,10 @@+Harness status: OK++Found 5 tests++5 Pass+Pass e.style['text-emphasis-position'] = "auto auto" should not set the property value+Pass e.style['text-emphasis-position'] = "auto left" should not set the property value+Pass e.style['text-emphasis-position'] = "over auto" should not set the property value+Pass e.style['text-emphasis-position'] = "left over right" should not set the property value+Pass e.style['text-emphasis-position'] = "under right over" should not set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-valid.txtnew file mode 100644index 00000000000..5d24dd315e0--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text-decor/parsing/text-emphasis-position-valid.txt@@ -0,0 +1,10 @@+Harness status: OK++Found 5 tests++5 Fail+Fail e.style['text-emphasis-position'] = "auto" should set the property value+Fail e.style['text-emphasis-position'] = "over left" should set the property value+Fail e.style['text-emphasis-position'] = "right under" should set the property value+Fail e.style['text-emphasis-position'] = "over" should set the property value+Fail e.style['text-emphasis-position'] = "under" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/input/css/text-emphasis-position-values.html b/Tests/LibWeb/Text/input/css/text-emphasis-position-values.htmlnew file mode 100644index 00000000000..ed10ca0faec--- /dev/null+++ b/Tests/LibWeb/Text/input/css/text-emphasis-position-values.html@@ -0,0 +1,24 @@+<!DOCTYPE html>+<script src="../include.js"></script>+<div id="parent"><span id="child"></span></div>+<script>+test(() => {+ const parent_element = document.getElementById("parent");+ const child_element = document.getElementById("child");+ for (const value of ["over right", "right under", "left over", "under left"]) {+ parent_element.style.textEmphasisPosition = value;+ println(`${value}: specified=${parent_element.style.textEmphasisPosition}, computed=${getComputedStyle(parent_element).textEmphasisPosition}, inherited=${getComputedStyle(child_element).textEmphasisPosition}`);+ }+ child_element.style.textEmphasisPosition = "initial";+ println(`initial=${getComputedStyle(child_element).textEmphasisPosition}`);+ child_element.style.textEmphasisPosition = "unset";+ println(`unset=${getComputedStyle(child_element).textEmphasisPosition}`);+ parent_element.style.textEmphasisPosition = "over right";+ const animation = child_element.animate({ textEmphasisPosition: ["over right", "under left"] }, { duration: 1000, fill: "both" });+ animation.pause();+ for (const time of [0, 499, 500, 1000]) {+ animation.currentTime = time;+ println(`time=${time}: ${getComputedStyle(child_element).textEmphasisPosition}`);+ }+});+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/animations/discrete-no-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/animations/discrete-no-interpolation.htmlnew file mode 100644index 00000000000..ba89e452a7b--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/animations/discrete-no-interpolation.html@@ -0,0 +1,58 @@+<!DOCTYPE html>+<meta name=timeout content=long>+<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: 'text-decoration-line',+ from: 'initial',+ to: 'underline'+ });++ test_no_interpolation({+ property: 'text-decoration-style',+ from: 'initial',+ to: 'dashed'+ });++ test_no_interpolation({+ property: 'text-decoration-thickness',+ from: 'initial',+ to: '123px'+ });++ test_no_interpolation({+ property: 'text-decoration-thickness',+ from: 'auto',+ to: '123px'+ });++ test_no_interpolation({+ property: 'text-decoration-thickness',+ from: 'from-font',+ to: '123px'+ });++ test_no_interpolation({+ property: 'text-emphasis-position',+ from: 'initial',+ to: 'under right'+ });++ test_no_interpolation({+ property: 'text-emphasis-style',+ from: 'initial',+ to: 'dot'+ });++ test_no_interpolation({+ property: 'text-underline-position',+ from: 'initial',+ to: 'under'+ });+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-computed.htmlnew file mode 100644index 00000000000..c15880e268c--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-computed.html@@ -0,0 +1,16 @@+<!DOCTYPE html>+<link rel="help" href="https://drafts.csswg.org/css-text-decor/#propdef-text-emphasis-position">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/computed-testcommon.js"></script>+<div id="target"></div>+<script>+// Computed value: specified keyword(s)+test_computed_value('text-emphasis-position', 'auto');+test_computed_value('text-emphasis-position', 'over');+test_computed_value('text-emphasis-position', 'under');+test_computed_value('text-emphasis-position', 'over right', 'over');+test_computed_value('text-emphasis-position', 'over left');+test_computed_value('text-emphasis-position', 'under right', 'under');+test_computed_value('text-emphasis-position', 'under left');+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-invalid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-invalid.htmlnew file mode 100644index 00000000000..8eb83126ad9--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-invalid.html@@ -0,0 +1,15 @@+<!DOCTYPE html>+<meta charset="utf-8">+<title>CSS Text Emphasis Test: Parsing text-emphasis-position with invalid values</title>+<link rel="help" href="https://drafts.csswg.org/css-text-decor/#propdef-text-emphasis-position">+<meta name="assert" content="text-decoration-position supports only the grammar 'auto | ([over | under] || [left | right]?)'.">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/parsing-testcommon.js"></script>+<script>+test_invalid_value("text-emphasis-position", "auto auto");+test_invalid_value("text-emphasis-position", "auto left");+test_invalid_value("text-emphasis-position", "over auto");+test_invalid_value("text-emphasis-position", "left over right");+test_invalid_value("text-emphasis-position", "under right over");+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-valid.htmlnew file mode 100644index 00000000000..83ba9ab314f--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text-decor/parsing/text-emphasis-position-valid.html@@ -0,0 +1,15 @@+<!DOCTYPE html>+<meta charset="utf-8">+<title>CSS Text Emphasis Test: Parsing text-emphasis-position with valid values</title>+<link rel="help" href="https://drafts.csswg.org/css-text-decor/#propdef-text-emphasis-position">+<meta name="assert" content="text-emphasis-position supports the full grammar 'auto | ([over | under] || [left | right]?)'.">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/parsing-testcommon.js"></script>+<script>+test_valid_value("text-emphasis-position", "auto");+test_valid_value("text-emphasis-position", "over left");+test_valid_value("text-emphasis-position", "right under", "under");+test_valid_value("text-emphasis-position", "over");+test_valid_value("text-emphasis-position", "under");+</script>