blob: 4865ecf24d113b2969dce718a2561f15dbd665ae [file] [log] [blame]
This is a testharness.js-based test.
Found 441 tests; 426 PASS, 15 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS [["createlink","http://www.google.com/"]] "foo[]bar": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo[]bar" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foobar" but got "foo<a href=\"http://www.google.com/\">http://www.google.com/</a>bar"
PASS [["createlink","http://www.google.com/"]] "foo[]bar" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[]bar" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[]bar" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[]bar" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[]bar" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[]bar" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p> <p>bar]</p>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>[foo</span> <span>bar]</span>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p><a href=\"http://www.google.com/\">foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span></a> </p><p><a href=\"http://www.google.com/\">baz</a></p>" but got "<p><a href=\"http://www.google.com/\">foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span> </a></p><p><a href=\"http://www.google.com/\">baz</a></p>"
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<p>[foo<p><br><p>bar]" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<b>foobar</b>" but got "<b>foo<a href=\"http://www.google.com/\">http://www.google.com/</a>bar</b>"
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<b>foo[]bar</b>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<i>foobar</i>" but got "<i>foo<a href=\"http://www.google.com/\">http://www.google.com/</a>bar</i>"
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<i>foo[]bar</i>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span>foo</span><span>bar</span>" but got "<span>foo<a href=\"http://www.google.com/\">http://www.google.com/</a></span><span>bar</span>"
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>foo</span>{}<span>bar</span>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span>foo</span><span>bar</span>" but got "<span>foo<a href=\"http://www.google.com/\">http://www.google.com/</a></span><span>bar</span>"
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<span>foo[</span><span>]bar</span>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar]baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar<b>baz]qoz</b>quz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[bar<i>baz]qoz</i>quz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<p><p> <p>foo</p>}" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[bar]baz</a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>foo[barbaz</a>}" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobar]baz</a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=http://www.google.com/>foobarbaz</a>}" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=http://www.google.com/>[foobarbaz]</a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar]</a>baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo]<a href=http://www.google.com/>bar</a>baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>bar</a>[baz]" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[<a href=http://www.google.com/>bar</a>]baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=http://www.google.com/>[bar</a>baz]" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar]</a>baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=http://www.google.com/>bar</a>baz]" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<a href=\"http://www.google.com/\">foobarbaz</a>" but got "<a href=\"otherurl\">foo</a><a href=\"http://www.google.com/\">bar</a><a href=\"otherurl\">baz</a>"
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[bar]baz</a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<a href=\"http://www.google.com/\">foobarbaz</a>" but got "<a href=\"otherurl\">foo</a><a href=\"http://www.google.com/\">barbaz</a>"
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>foo[barbaz</a>}" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<a href=\"http://www.google.com/\">foobarbaz</a>" but got "<a href=\"http://www.google.com/\">foobar</a><a href=\"otherurl\">baz</a>"
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobar]baz</a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl>foobarbaz</a>}" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl>[foobarbaz]</a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar]</a>baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo[<a href=otherurl>bar</a>]baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "foo<a href=otherurl>[bar</a>baz]" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar]</a>baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" compare innerHTML
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "[foo<a href=otherurl>bar</a>baz]" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<a href=\"http://www.google.com/\"><b>foobarbaz</b></a>" but got "<b><a href=\"otherurl\">foo</a><a href=\"http://www.google.com/\">bar</a><a href=\"otherurl\">baz</a></b>"
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[bar]baz</b></a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<a href=\"http://www.google.com/\"><b>foobarbaz</b></a>" but got "<b><a href=\"otherurl\">foo</a><a href=\"http://www.google.com/\">barbaz</a></b>"
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>foo[barbaz</b></a>}" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<a href=\"http://www.google.com/\"><b>foobarbaz</b></a>" but got "<b><a href=\"http://www.google.com/\">foobar</a><a href=\"otherurl\">baz</a></b>"
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "{<a href=otherurl><b>foobar]baz</b></a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<a href=\"http://www.google.com/\"><b>foobarbaz</b></a>" but got "<b><a href=\"http://www.google.com/\">foobarbaz</a></b>"
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a href=otherurl><b>[foobarbaz]</b></a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span name=\"abc\">foo<a href=\"http://www.google.com/\">bar</a>baz</span>" but got "<a name=\"abc\">foo</a><a href=\"http://www.google.com/\">bar</a><a name=\"abc\">baz</a>"
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a name=abc>foo[bar]baz</a>" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>": execCommand("createlink", false, "http://www.google.com/") return value
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" checks for modifications to non-editable content
FAIL [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span name=\"abc\"><b>foo<a href=\"http://www.google.com/\">bar</a>baz</b></span>" but got "<b><a name=\"abc\">foo</a><a href=\"http://www.google.com/\">bar</a><a>baz</a></b>"
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/"]] "<a name=abc><b>foo[bar]baz</b></a>" queryCommandValue("createlink") after
PASS [["createlink",""]] "foo[bar]baz": execCommand("createlink", false, "") return value
PASS [["createlink",""]] "foo[bar]baz" checks for modifications to non-editable content
PASS [["createlink",""]] "foo[bar]baz" compare innerHTML
PASS [["createlink",""]] "foo[bar]baz" queryCommandIndeterm("createlink") before
PASS [["createlink",""]] "foo[bar]baz" queryCommandState("createlink") before
PASS [["createlink",""]] "foo[bar]baz" queryCommandValue("createlink") before
PASS [["createlink",""]] "foo[bar]baz" queryCommandIndeterm("createlink") after
PASS [["createlink",""]] "foo[bar]baz" queryCommandState("createlink") after
PASS [["createlink",""]] "foo[bar]baz" queryCommandValue("createlink") after
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz": execCommand("createlink", false, "http://www.google.com/日本語パス") return value
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" checks for modifications to non-editable content
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" compare innerHTML
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" queryCommandIndeterm("createlink") before
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" queryCommandState("createlink") before
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" queryCommandValue("createlink") before
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" queryCommandIndeterm("createlink") after
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" queryCommandState("createlink") after
PASS [["createlink","http://www.google.com/日本語パス"]] "foo[bar]baz" queryCommandValue("createlink") after
Harness: the test ran to completion.