diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/editing/data/unlink.js | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/editing/data/unlink.js')
-rw-r--r-- | testing/web-platform/tests/editing/data/unlink.js | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/testing/web-platform/tests/editing/data/unlink.js b/testing/web-platform/tests/editing/data/unlink.js new file mode 100644 index 000000000..8e5ea4489 --- /dev/null +++ b/testing/web-platform/tests/editing/data/unlink.js @@ -0,0 +1,177 @@ +var browserTests = [ +["foo[]bar", + [["unlink",""]], + "foo[]bar", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<p>[foo</p> <p>bar]</p>", + [["unlink",""]], + "<p>[foo</p> <p>bar]</p>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<span>[foo</span> <span>bar]</span>", + [["unlink",""]], + "<span>[foo</span> <span>bar]</span>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>", + [["unlink",""]], + "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<b>foo[]bar</b>", + [["unlink",""]], + "<b>foo[]bar</b>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<i>foo[]bar</i>", + [["unlink",""]], + "<i>foo[]bar</i>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<span>foo</span>{}<span>bar</span>", + [["unlink",""]], + "<span>foo</span>{}<span>bar</span>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<span>foo[</span><span>]bar</span>", + [["unlink",""]], + "<span>foo[</span><span>]bar</span>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["unlink",""]], + "foo[bar]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo[bar<b>baz]qoz</b>quz", + [["unlink",""]], + "foo[bar<b>baz]qoz</b>quz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo[bar<i>baz]qoz</i>quz", + [["unlink",""]], + "foo[bar<i>baz]qoz</i>quz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["{<p><p> <p>foo</p>}", + [["unlink",""]], + "{<p></p><p> </p><p>foo</p>}", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a href=http://www.google.com/>foo[bar]baz</a>", + [["unlink",""]], + "foo[bar]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a href=http://www.google.com/>foo[barbaz</a>}", + [["unlink",""]], + "foo[barbaz}", + [true], + {"unlink":[false,false,"",false,false,""]}], +["{<a href=http://www.google.com/>foobar]baz</a>", + [["unlink",""]], + "{foobar]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["{<a href=http://www.google.com/>foobarbaz</a>}", + [["unlink",""]], + "{foobarbaz}", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a href=http://www.google.com/>[foobarbaz]</a>", + [["unlink",""]], + "[foobarbaz]", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo<a href=http://www.google.com/>b[]ar</a>baz", + [["unlink",""]], + "foob[]arbaz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo<a href=http://www.google.com/>[bar]</a>baz", + [["unlink",""]], + "foo[bar]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo[<a href=http://www.google.com/>bar</a>]baz", + [["unlink",""]], + "foo[bar]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo<a href=http://www.google.com/>[bar</a>baz]", + [["unlink",""]], + "foo[barbaz]", + [true], + {"unlink":[false,false,"",false,false,""]}], +["[foo<a href=http://www.google.com/>bar]</a>baz", + [["unlink",""]], + "[foobar]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["[foo<a href=http://www.google.com/>bar</a>baz]", + [["unlink",""]], + "[foobarbaz]", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a id=foo href=http://www.google.com/>foobar[]baz</a>", + [["unlink",""]], + "<a id=\"foo\">foobar[]baz</a>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a id=foo href=http://www.google.com/>foo[bar]baz</a>", + [["unlink",""]], + "<a id=\"foo\">foo[bar]baz</a>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a id=foo href=http://www.google.com/>[foobarbaz]</a>", + [["unlink",""]], + "<a id=\"foo\">[foobarbaz]</a>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo<a id=foo href=http://www.google.com/>[bar]</a>baz", + [["unlink",""]], + "foo<a id=\"foo\">[bar]</a>baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo[<a id=foo href=http://www.google.com/>bar</a>]baz", + [["unlink",""]], + "foo[<a id=\"foo\">bar</a>]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["[foo<a id=foo href=http://www.google.com/>bar</a>baz]", + [["unlink",""]], + "[foo<a id=\"foo\">bar</a>baz]", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a name=foo>foobar[]baz</a>", + [["unlink",""]], + "<a name=\"foo\">foobar[]baz</a>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a name=foo>foo[bar]baz</a>", + [["unlink",""]], + "<a name=\"foo\">foo[bar]baz</a>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["<a name=foo>[foobarbaz]</a>", + [["unlink",""]], + "<a name=\"foo\">[foobarbaz]</a>", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo<a name=foo>[bar]</a>baz", + [["unlink",""]], + "foo<a name=\"foo\">[bar]</a>baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["foo[<a name=foo>bar</a>]baz", + [["unlink",""]], + "foo[<a name=\"foo\">bar</a>]baz", + [true], + {"unlink":[false,false,"",false,false,""]}], +["[foo<a name=foo>bar</a>baz]", + [["unlink",""]], + "[foo<a name=\"foo\">bar</a>baz]", + [true], + {"unlink":[false,false,"",false,false,""]}] +] |