mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
While working on this, I realised that the `current_state` computation was wrong. Instead, the spec actually clearly defines what to do, but I hadn't found it yet. The code now correctly implements state computation and voila, it also fixes the previous underline issue that I didn't understand why it would fail. Part of #25005 Testing: WPT Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
173 lines
7.9 KiB
INI
Vendored
173 lines
7.9 KiB
INI
Vendored
[underline.html?1-1000]
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<i>ar\]ba</i>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<i>ar\]ba</i>z</u>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<s>[bar\]</s>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<span style=\\"text-decoration: line-through\\">[bar\]</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "foo<span style=\\"text-decoration: line-through\\">[bar\]</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<strike>[bar\]</strike>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<p>[foo</p> <p>bar\]</p>" queryCommandState("stylewithcss") before]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[bar\]baz</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<i>ar\]ba</i>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[bar\]baz</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<i>ar\]ba</i>z</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
|
|
[underline.html?2001-last]
|
|
[[["underline",""\]\] "fo[o<span style=text-decoration:underline>b\]ar</span>baz" queryCommandIndeterm("underline") before]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<ins>fo[o</ins><u>b\]ar</u>" queryCommandIndeterm("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<ins>fo[o</ins><u>b\]ar</u>" queryCommandIndeterm("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<u>fo[o</u><ins>b\]ar</ins>" queryCommandIndeterm("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<u>fo[o</u><ins>b\]ar</ins>" queryCommandIndeterm("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "abc<span style=\\"text-decoration:blink line-through overline\\">[def\]</span>ghi" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "abc<span style=\\"text-decoration:line-through blue dotted\\">[def\]</span>ghi" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "abc<span style=\\"text-decoration:blink line-through underline overline\\">[def\]</span>ghi" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "abc<span style=\\"text-decoration:underline line-through blue dotted\\">[def\]</span>ghi" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<u>[bar\]</u>baz" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<ins>fo[o</ins><u>b\]ar</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "<ins>fo[o</ins><u>b\]ar</u>" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
|
|
[underline.html?1001-2000]
|
|
[[["stylewithcss","false"\],["underline",""\]\] "foo<strike>[bar\]</strike>baz" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<del>[bar\]</del>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<u style=\\"text-decoration: line-through\\">[bar\]</u>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "foo<u style=\\"text-decoration: line-through\\">[bar\]</u>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<s style=\\"text-decoration: overline\\">[bar\]</s>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "foo<s style=\\"text-decoration: overline\\">[bar\]</s>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<u style=\\"text-decoration: overline\\">[bar\]</u>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "foo<u style=\\"text-decoration: overline\\">[bar\]</u>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<span class=\\"line-through\\">[bar\]</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["underline",""\]\] "fo[o<u>b\]ar</u>baz" queryCommandIndeterm("underline") before]
|
|
expected: FAIL
|
|
|
|
[[["underline",""\]\] "foo<u>ba[r</u>b\]az" queryCommandIndeterm("underline") before]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "fo[o<u>bar</u>b\]az" queryCommandIndeterm("underline") before]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "fo[o<u>bar</u>b\]az" queryCommandIndeterm("underline") before]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "<strike>foo[bar\]baz</strike>" queryCommandState("stylewithcss") before]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" queryCommandState("underline") after]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["underline",""\]\] "foo<u>ba[r</u>\]baz" compare innerHTML]
|
|
expected: FAIL
|