From 8587af6ad0745be630e30a819418581ddd53b631 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Wed, 22 Aug 2018 14:30:05 +0200 Subject: [PATCH] Split up editing/run/* with `variant` Part of #11269. --- editing/include/tests.js | 8 ++++---- editing/run/backcolor.html | 1 + editing/run/bold.html | 5 +++++ editing/run/createlink.html | 1 + editing/run/delete-list-items-in-table-cell.html | 1 + editing/run/delete.html | 8 ++++++++ editing/run/fontname.html | 4 ++++ editing/run/fontsize.html | 4 ++++ editing/run/forecolor.html | 4 ++++ editing/run/formatblock.html | 6 ++++++ editing/run/forwarddelete.html | 8 ++++++++ editing/run/hilitecolor.html | 1 + editing/run/indent.html | 1 + editing/run/insert-list-items-in-table-cell.html | 1 + editing/run/inserthorizontalrule.html | 1 + editing/run/inserthtml.html | 1 + editing/run/insertimage.html | 1 + editing/run/insertlinebreak.html | 1 + editing/run/insertorderedlist.html | 1 + editing/run/insertparagraph.html | 8 ++++++++ editing/run/inserttext.html | 4 ++++ editing/run/insertunorderedlist.html | 1 + editing/run/italic.html | 4 ++++ editing/run/justifycenter.html | 8 ++++++++ editing/run/justifyfull.html | 6 ++++++ editing/run/justifyleft.html | 4 ++++ editing/run/justifyright.html | 6 ++++++ editing/run/misc.html | 1 + editing/run/multitest.html | 11 +++++++++++ editing/run/outdent.html | 4 ++++ editing/run/removeformat.html | 1 + editing/run/strikethrough.html | 4 ++++ editing/run/subscript.html | 1 + editing/run/superscript.html | 1 + editing/run/underline.html | 4 ++++ editing/run/unlink.html | 1 + 36 files changed, 123 insertions(+), 4 deletions(-) diff --git a/editing/include/tests.js b/editing/include/tests.js index fdcf4351d38bd2..a03a68ed8dc80a 100644 --- a/editing/include/tests.js +++ b/editing/include/tests.js @@ -5607,7 +5607,7 @@ function runConformanceTest(browserTest) { format_value(browserTest[1][i][1]) + ") " + (browserTest[1][i][2] ? browserTest[1][i][2] + " " : "") + "return value" - test(function() { + subsetTest(test, function() { assert_equals(exception, null, "Setup must not throw an exception"); assert_equals(document.execCommand(browserTest[1][i][0], false, browserTest[1][i][1]), @@ -5640,7 +5640,7 @@ function runConformanceTest(browserTest) { } } - test(function() { + subsetTest(test, function() { assert_equals(exception, null, "Setup must not throw an exception"); // Now test for modifications to non-editable content. First just @@ -5664,7 +5664,7 @@ function runConformanceTest(browserTest) { "Everything outside the editable div must be unchanged, but some change did occur"); }, testName + " checks for modifications to non-editable content"); - test(function() { + subsetTest(test, function() { assert_equals(exception, null, "Setup must not throw an exception"); assert_equals(testDiv.innerHTML, @@ -5682,7 +5682,7 @@ function runConformanceTest(browserTest) { 'queryCommandValue("' + command + '") after', ]; for (var i = 0; i < 6; i++) { - test(function() { + subsetTest(test, function() { assert_equals(exception, null, "Setup must not throw an exception"); if (expectedQueryResults[command][i] === null) { diff --git a/editing/run/backcolor.html b/editing/run/backcolor.html index 94ca94a77cc09a..3d337785efe13e 100644 --- a/editing/run/backcolor.html +++ b/editing/run/backcolor.html @@ -15,6 +15,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +