Truly independent web browser
Tests/LibWeb: Import hyphenate-character tests
Andreas Klinga1899652b3bf
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/animations/hyphen-no-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/animations/hyphen-no-interpolation.txtnew file mode 100644index 00000000000..85c6824505b--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/animations/hyphen-no-interpolation.txt@@ -0,0 +1,173 @@+Harness status: OK++Found 168 tests++168 Fail+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (-0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0.5) should be ["e"]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0.6) should be ["e"]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (1) should be ["e"]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (1.5) should be ["e"]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (-0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0.5) should be ["e"]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (0.6) should be ["e"]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (1) should be ["e"]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-character> from [initial] to ["e"] at (1.5) should be ["e"]+Fail CSS Transitions: property <hyphenate-character> from [initial] to ["e"] at (-0.3) should be ["e"]+Fail CSS Transitions: property <hyphenate-character> from [initial] to ["e"] at (0) should be ["e"]+Fail CSS Transitions: property <hyphenate-character> from [initial] to ["e"] at (0.3) should be ["e"]+Fail CSS Transitions: property <hyphenate-character> from [initial] to ["e"] at (0.5) should be ["e"]+Fail CSS Transitions: property <hyphenate-character> from [initial] to ["e"] at (0.6) should be ["e"]+Fail CSS Transitions: property <hyphenate-character> from [initial] to ["e"] at (1) should be ["e"]+Fail CSS Transitions: property <hyphenate-character> from [initial] to ["e"] at (1.5) should be ["e"]+Fail CSS Transitions with transition: all: property <hyphenate-character> from [initial] to ["e"] at (-0.3) should be ["e"]+Fail CSS Transitions with transition: all: property <hyphenate-character> from [initial] to ["e"] at (0) should be ["e"]+Fail CSS Transitions with transition: all: property <hyphenate-character> from [initial] to ["e"] at (0.3) should be ["e"]+Fail CSS Transitions with transition: all: property <hyphenate-character> from [initial] to ["e"] at (0.5) should be ["e"]+Fail CSS Transitions with transition: all: property <hyphenate-character> from [initial] to ["e"] at (0.6) should be ["e"]+Fail CSS Transitions with transition: all: property <hyphenate-character> from [initial] to ["e"] at (1) should be ["e"]+Fail CSS Transitions with transition: all: property <hyphenate-character> from [initial] to ["e"] at (1.5) should be ["e"]+Fail CSS Animations: property <hyphenate-character> from [initial] to ["e"] at (-0.3) should be [initial]+Fail CSS Animations: property <hyphenate-character> from [initial] to ["e"] at (0) should be [initial]+Fail CSS Animations: property <hyphenate-character> from [initial] to ["e"] at (0.3) should be [initial]+Fail CSS Animations: property <hyphenate-character> from [initial] to ["e"] at (0.5) should be ["e"]+Fail CSS Animations: property <hyphenate-character> from [initial] to ["e"] at (0.6) should be ["e"]+Fail CSS Animations: property <hyphenate-character> from [initial] to ["e"] at (1) should be ["e"]+Fail CSS Animations: property <hyphenate-character> from [initial] to ["e"] at (1.5) should be ["e"]+Fail Web Animations: property <hyphenate-character> from [initial] to ["e"] at (-0.3) should be [initial]+Fail Web Animations: property <hyphenate-character> from [initial] to ["e"] at (0) should be [initial]+Fail Web Animations: property <hyphenate-character> from [initial] to ["e"] at (0.3) should be [initial]+Fail Web Animations: property <hyphenate-character> from [initial] to ["e"] at (0.5) should be ["e"]+Fail Web Animations: property <hyphenate-character> from [initial] to ["e"] at (0.6) should be ["e"]+Fail Web Animations: property <hyphenate-character> from [initial] to ["e"] at (1) should be ["e"]+Fail Web Animations: property <hyphenate-character> from [initial] to ["e"] at (1.5) should be ["e"]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (-0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0.5) should be [10]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0.6) should be [10]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (1) should be [10]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (1.5) should be [10]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (-0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0.5) should be [10]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (0.6) should be [10]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (1) should be [10]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-chars> from [initial] to [10] at (1.5) should be [10]+Fail CSS Transitions: property <hyphenate-limit-chars> from [initial] to [10] at (-0.3) should be [10]+Fail CSS Transitions: property <hyphenate-limit-chars> from [initial] to [10] at (0) should be [10]+Fail CSS Transitions: property <hyphenate-limit-chars> from [initial] to [10] at (0.3) should be [10]+Fail CSS Transitions: property <hyphenate-limit-chars> from [initial] to [10] at (0.5) should be [10]+Fail CSS Transitions: property <hyphenate-limit-chars> from [initial] to [10] at (0.6) should be [10]+Fail CSS Transitions: property <hyphenate-limit-chars> from [initial] to [10] at (1) should be [10]+Fail CSS Transitions: property <hyphenate-limit-chars> from [initial] to [10] at (1.5) should be [10]+Fail CSS Transitions with transition: all: property <hyphenate-limit-chars> from [initial] to [10] at (-0.3) should be [10]+Fail CSS Transitions with transition: all: property <hyphenate-limit-chars> from [initial] to [10] at (0) should be [10]+Fail CSS Transitions with transition: all: property <hyphenate-limit-chars> from [initial] to [10] at (0.3) should be [10]+Fail CSS Transitions with transition: all: property <hyphenate-limit-chars> from [initial] to [10] at (0.5) should be [10]+Fail CSS Transitions with transition: all: property <hyphenate-limit-chars> from [initial] to [10] at (0.6) should be [10]+Fail CSS Transitions with transition: all: property <hyphenate-limit-chars> from [initial] to [10] at (1) should be [10]+Fail CSS Transitions with transition: all: property <hyphenate-limit-chars> from [initial] to [10] at (1.5) should be [10]+Fail CSS Animations: property <hyphenate-limit-chars> from [initial] to [10] at (-0.3) should be [initial]+Fail CSS Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0) should be [initial]+Fail CSS Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0.3) should be [initial]+Fail CSS Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0.5) should be [10]+Fail CSS Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0.6) should be [10]+Fail CSS Animations: property <hyphenate-limit-chars> from [initial] to [10] at (1) should be [10]+Fail CSS Animations: property <hyphenate-limit-chars> from [initial] to [10] at (1.5) should be [10]+Fail Web Animations: property <hyphenate-limit-chars> from [initial] to [10] at (-0.3) should be [initial]+Fail Web Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0) should be [initial]+Fail Web Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0.3) should be [initial]+Fail Web Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0.5) should be [10]+Fail Web Animations: property <hyphenate-limit-chars> from [initial] to [10] at (0.6) should be [10]+Fail Web Animations: property <hyphenate-limit-chars> from [initial] to [10] at (1) should be [10]+Fail Web Animations: property <hyphenate-limit-chars> from [initial] to [10] at (1.5) should be [10]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (-0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0.5) should be [4]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0.6) should be [4]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (1) should be [4]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (1.5) should be [4]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (-0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0.5) should be [4]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (0.6) should be [4]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (1) should be [4]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphenate-limit-lines> from [initial] to [4] at (1.5) should be [4]+Fail CSS Transitions: property <hyphenate-limit-lines> from [initial] to [4] at (-0.3) should be [4]+Fail CSS Transitions: property <hyphenate-limit-lines> from [initial] to [4] at (0) should be [4]+Fail CSS Transitions: property <hyphenate-limit-lines> from [initial] to [4] at (0.3) should be [4]+Fail CSS Transitions: property <hyphenate-limit-lines> from [initial] to [4] at (0.5) should be [4]+Fail CSS Transitions: property <hyphenate-limit-lines> from [initial] to [4] at (0.6) should be [4]+Fail CSS Transitions: property <hyphenate-limit-lines> from [initial] to [4] at (1) should be [4]+Fail CSS Transitions: property <hyphenate-limit-lines> from [initial] to [4] at (1.5) should be [4]+Fail CSS Transitions with transition: all: property <hyphenate-limit-lines> from [initial] to [4] at (-0.3) should be [4]+Fail CSS Transitions with transition: all: property <hyphenate-limit-lines> from [initial] to [4] at (0) should be [4]+Fail CSS Transitions with transition: all: property <hyphenate-limit-lines> from [initial] to [4] at (0.3) should be [4]+Fail CSS Transitions with transition: all: property <hyphenate-limit-lines> from [initial] to [4] at (0.5) should be [4]+Fail CSS Transitions with transition: all: property <hyphenate-limit-lines> from [initial] to [4] at (0.6) should be [4]+Fail CSS Transitions with transition: all: property <hyphenate-limit-lines> from [initial] to [4] at (1) should be [4]+Fail CSS Transitions with transition: all: property <hyphenate-limit-lines> from [initial] to [4] at (1.5) should be [4]+Fail CSS Animations: property <hyphenate-limit-lines> from [initial] to [4] at (-0.3) should be [initial]+Fail CSS Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0) should be [initial]+Fail CSS Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0.3) should be [initial]+Fail CSS Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0.5) should be [4]+Fail CSS Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0.6) should be [4]+Fail CSS Animations: property <hyphenate-limit-lines> from [initial] to [4] at (1) should be [4]+Fail CSS Animations: property <hyphenate-limit-lines> from [initial] to [4] at (1.5) should be [4]+Fail Web Animations: property <hyphenate-limit-lines> from [initial] to [4] at (-0.3) should be [initial]+Fail Web Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0) should be [initial]+Fail Web Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0.3) should be [initial]+Fail Web Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0.5) should be [4]+Fail Web Animations: property <hyphenate-limit-lines> from [initial] to [4] at (0.6) should be [4]+Fail Web Animations: property <hyphenate-limit-lines> from [initial] to [4] at (1) should be [4]+Fail Web Animations: property <hyphenate-limit-lines> from [initial] to [4] at (1.5) should be [4]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphens> from [initial] to [auto] at (-0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphens> from [initial] to [auto] at (0) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphens> from [initial] to [auto] at (0.3) should be [initial]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphens> from [initial] to [auto] at (0.5) should be [auto]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphens> from [initial] to [auto] at (0.6) should be [auto]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphens> from [initial] to [auto] at (1) should be [auto]+Fail CSS Transitions with transition-behavior:allow-discrete: property <hyphens> from [initial] to [auto] at (1.5) should be [auto]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphens> from [initial] to [auto] at (-0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphens> from [initial] to [auto] at (0) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphens> from [initial] to [auto] at (0.3) should be [initial]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphens> from [initial] to [auto] at (0.5) should be [auto]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphens> from [initial] to [auto] at (0.6) should be [auto]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphens> from [initial] to [auto] at (1) should be [auto]+Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <hyphens> from [initial] to [auto] at (1.5) should be [auto]+Fail CSS Transitions: property <hyphens> from [initial] to [auto] at (-0.3) should be [auto]+Fail CSS Transitions: property <hyphens> from [initial] to [auto] at (0) should be [auto]+Fail CSS Transitions: property <hyphens> from [initial] to [auto] at (0.3) should be [auto]+Fail CSS Transitions: property <hyphens> from [initial] to [auto] at (0.5) should be [auto]+Fail CSS Transitions: property <hyphens> from [initial] to [auto] at (0.6) should be [auto]+Fail CSS Transitions: property <hyphens> from [initial] to [auto] at (1) should be [auto]+Fail CSS Transitions: property <hyphens> from [initial] to [auto] at (1.5) should be [auto]+Fail CSS Transitions with transition: all: property <hyphens> from [initial] to [auto] at (-0.3) should be [auto]+Fail CSS Transitions with transition: all: property <hyphens> from [initial] to [auto] at (0) should be [auto]+Fail CSS Transitions with transition: all: property <hyphens> from [initial] to [auto] at (0.3) should be [auto]+Fail CSS Transitions with transition: all: property <hyphens> from [initial] to [auto] at (0.5) should be [auto]+Fail CSS Transitions with transition: all: property <hyphens> from [initial] to [auto] at (0.6) should be [auto]+Fail CSS Transitions with transition: all: property <hyphens> from [initial] to [auto] at (1) should be [auto]+Fail CSS Transitions with transition: all: property <hyphens> from [initial] to [auto] at (1.5) should be [auto]+Fail CSS Animations: property <hyphens> from [initial] to [auto] at (-0.3) should be [initial]+Fail CSS Animations: property <hyphens> from [initial] to [auto] at (0) should be [initial]+Fail CSS Animations: property <hyphens> from [initial] to [auto] at (0.3) should be [initial]+Fail CSS Animations: property <hyphens> from [initial] to [auto] at (0.5) should be [auto]+Fail CSS Animations: property <hyphens> from [initial] to [auto] at (0.6) should be [auto]+Fail CSS Animations: property <hyphens> from [initial] to [auto] at (1) should be [auto]+Fail CSS Animations: property <hyphens> from [initial] to [auto] at (1.5) should be [auto]+Fail Web Animations: property <hyphens> from [initial] to [auto] at (-0.3) should be [initial]+Fail Web Animations: property <hyphens> from [initial] to [auto] at (0) should be [initial]+Fail Web Animations: property <hyphens> from [initial] to [auto] at (0.3) should be [initial]+Fail Web Animations: property <hyphens> from [initial] to [auto] at (0.5) should be [auto]+Fail Web Animations: property <hyphens> from [initial] to [auto] at (0.6) should be [auto]+Fail Web Animations: property <hyphens> from [initial] to [auto] at (1) should be [auto]+Fail Web Animations: property <hyphens> from [initial] to [auto] at (1.5) should be [auto]\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-computed.txtnew file mode 100644index 00000000000..43ed484477d--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-computed.txt@@ -0,0 +1,10 @@+Harness status: OK++Found 5 tests++5 Fail+Fail Property hyphenate-character value 'auto'+Fail Property hyphenate-character value '"="'+Fail Property hyphenate-character value '"/-/"'+Fail Property hyphenate-character value '"\1400"'+Fail Property hyphenate-character value '""'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-invalid.txtnew file mode 100644index 00000000000..58c2e109c1d--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-invalid.txt@@ -0,0 +1,12 @@+Harness status: OK++Found 7 tests++7 Pass+Pass e.style['hyphenate-character'] = "normal" should not set the property value+Pass e.style['hyphenate-character'] = "manual" should not set the property value+Pass e.style['hyphenate-character'] = "none" should not set the property value+Pass e.style['hyphenate-character'] = "auto auto" should not set the property value+Pass e.style['hyphenate-character'] = "\"-\" \"=\"" should not set the property value+Pass e.style['hyphenate-character'] = "1400" should not set the property value+Pass e.style['hyphenate-character'] = "U+1400" should not set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-valid.txtnew file mode 100644index 00000000000..bd2978f1d2f--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/hyphenate-character-valid.txt@@ -0,0 +1,10 @@+Harness status: OK++Found 5 tests++5 Fail+Fail e.style['hyphenate-character'] = "auto" should set the property value+Fail e.style['hyphenate-character'] = "\"=\"" should set the property value+Fail e.style['hyphenate-character'] = "\"/-/\"" should set the property value+Fail e.style['hyphenate-character'] = "\"\\1400\"" should set the property value+Fail e.style['hyphenate-character'] = "\"\"" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/animations/hyphen-no-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/animations/hyphen-no-interpolation.htmlnew file mode 100644index 00000000000..fd355296190--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/animations/hyphen-no-interpolation.html@@ -0,0 +1,38 @@+<!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-text-4/#propdef-hyphenate-character">+<link rel=help href="https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-chars">+<link rel=help href="https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-lines">+<link rel=help href="https://drafts.csswg.org/css-text/#hyphens-property">+<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-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: 'hyphenate-character',+ from: 'initial',+ to: '"e"'+});++test_no_interpolation({+ property: 'hyphenate-limit-chars',+ from: 'initial',+ to: '10'+});++test_no_interpolation({+ property: 'hyphenate-limit-lines',+ from: 'initial',+ to: '4'+});++test_no_interpolation({+ property: 'hyphens',+ from: 'initial',+ to: 'auto'+});+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-computed.htmlnew file mode 100644index 00000000000..c3836315bec--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-computed.html@@ -0,0 +1,22 @@+<!DOCTYPE html>+<html>+<head>+<meta charset="utf-8">+<title>CSS Text: getComputedStyle().hyphenateCharacter</title>+<link rel="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">+<meta name="assert" content="hyphenate-character 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("hyphenate-character", "auto");+test_computed_value("hyphenate-character", "\"=\"");+test_computed_value("hyphenate-character", "\"/-/\"");+test_computed_value("hyphenate-character", "\"\\1400\"", "\"᐀\"");+test_computed_value("hyphenate-character", "\"\"");+</script>+</body>+</html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-invalid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-invalid.htmlnew file mode 100644index 00000000000..5346bda69f6--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-invalid.html@@ -0,0 +1,23 @@+<!DOCTYPE html>+<html>+<head>+<meta charset="utf-8">+<title>CSS Text Module Test: parsing hyphenate-character with invalid values</title>+<link rel="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">+<meta name="assert" content="hyphenate-character supports only the grammar 'auto | <string>'.">+<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("hyphenate-character", "normal");+test_invalid_value("hyphenate-character", "manual");+test_invalid_value("hyphenate-character", "none");+test_invalid_value("hyphenate-character", "auto auto");+test_invalid_value("hyphenate-character", "\"-\" \"=\"");+test_invalid_value("hyphenate-character", "1400");+test_invalid_value("hyphenate-character", "U+1400");+</script>+</body>+</html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-valid.htmlnew file mode 100644index 00000000000..857773e3f47--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-text/parsing/hyphenate-character-valid.html@@ -0,0 +1,21 @@+<!DOCTYPE html>+<html>+<head>+<meta charset="utf-8">+<title>CSS Text Module Test: parsing hyphenate-character with valid values</title>+<link rel="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">+<meta name="assert" content="hyphens supports the full grammar 'auto | <string>'.">+<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("hyphenate-character", "auto");+test_valid_value("hyphenate-character", "\"=\"");+test_valid_value("hyphenate-character", "\"/-/\"");+test_valid_value("hyphenate-character", "\"\\1400\"", "\"᐀\"");+test_valid_value("hyphenate-character", "\"\"");+</script>+</body>+</html>