Bug 1297414 - Support execCommand("defaultParagraphSeparator"); r=masayuki

Later commits will add the actual functionality.

MozReview-Commit-ID: 6Ac9V6MjZpa
This commit is contained in:
Aryeh Gregor 2016-08-24 15:53:52 +03:00
Родитель 5575caf994
Коммит c442eea5f2
51 изменённых файлов: 129 добавлений и 18481 удалений

Просмотреть файл

@ -3042,6 +3042,7 @@ static const struct MidasCommand gMidasCommandTable[] = {
{ "styleWithCSS", "cmd_setDocumentUseCSS", "", false, true },
{ "contentReadOnly", "cmd_setDocumentReadOnly", "", false, true },
{ "insertBrOnReturn", "cmd_insertBrOnReturn", "", false, true },
{ "defaultParagraphSeparator", "cmd_defaultParagraphSeparator", "", false, false },
{ "enableObjectResizing", "cmd_enableObjectResizing", "", false, true },
{ "enableInlineTableEditing", "cmd_enableInlineTableEditing", "", false, true },
#if 0
@ -3302,6 +3303,14 @@ nsHTMLDocument::ExecCommand(const nsAString& commandID,
return false;
}
if (cmdToDispatch.EqualsLiteral("cmd_defaultParagraphSeparator") &&
!paramStr.LowerCaseEqualsLiteral("div") &&
!paramStr.LowerCaseEqualsLiteral("p") &&
!paramStr.LowerCaseEqualsLiteral("br")) {
// Invalid value
return false;
}
// Return false for disabled commands (bug 760052)
bool enabled = false;
cmdMgr->IsCommandEnabled(cmdToDispatch.get(), window, &enabled);

Просмотреть файл

@ -25,6 +25,11 @@ UNIFIED_SOURCES += [
'nsEditorSpellCheck.cpp',
]
# Needed because we include HTMLEditor.h which indirectly includes nsDocument.h
LOCAL_INCLUDES += [
'/dom/base',
]
FINAL_LIBRARY = 'xul'
RESOURCE_FILES += [
'res/EditorOverride.css',

Просмотреть файл

@ -64,6 +64,7 @@ nsComposerController::RegisterEditorDocStateCommands(
NS_REGISTER_NEXT_COMMAND(nsSetDocumentStateCommand, "cmd_setDocumentUseCSS")
NS_REGISTER_NEXT_COMMAND(nsSetDocumentStateCommand, "cmd_setDocumentReadOnly")
NS_REGISTER_NEXT_COMMAND(nsSetDocumentStateCommand, "cmd_insertBrOnReturn")
NS_REGISTER_NEXT_COMMAND(nsSetDocumentStateCommand, "cmd_defaultParagraphSeparator")
NS_REGISTER_NEXT_COMMAND(nsSetDocumentStateCommand, "cmd_enableObjectResizing")
NS_REGISTER_LAST_COMMAND(nsSetDocumentStateCommand, "cmd_enableInlineTableEditing")

Просмотреть файл

@ -4,6 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/HTMLEditor.h" // for HTMLEditor
#include "nsCOMPtr.h" // for nsCOMPtr, do_QueryInterface, etc
#include "nsCRT.h" // for nsCRT
#include "nsComposerCommands.h" // for nsSetDocumentOptionsCommand, etc
@ -27,6 +28,8 @@
#include "nsPresContext.h" // for nsPresContext
#include "nscore.h" // for NS_IMETHODIMP, nsresult, etc
using namespace mozilla;
class nsISupports;
//defines
@ -256,6 +259,42 @@ nsSetDocumentStateCommand::DoCommandParams(const char *aCommandName,
return htmleditor->SetReturnInParagraphCreatesNewParagraph(!insertBrOnReturn);
}
if (!nsCRT::strcmp(aCommandName, "cmd_defaultParagraphSeparator")) {
if (NS_WARN_IF(!aParams)) {
return NS_ERROR_NULL_POINTER;
}
nsCOMPtr<nsIHTMLEditor> editor = do_QueryInterface(refCon);
if (NS_WARN_IF(!editor)) {
return NS_ERROR_INVALID_ARG;
}
auto htmlEditor = static_cast<HTMLEditor*>(editor.get());
nsXPIDLCString newValue;
nsresult rv = aParams->GetCStringValue(STATE_ATTRIBUTE,
getter_Copies(newValue));
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}
if (newValue.LowerCaseEqualsLiteral("div")) {
htmlEditor->SetDefaultParagraphSeparator(ParagraphSeparator::div);
return NS_OK;
}
if (newValue.LowerCaseEqualsLiteral("p")) {
htmlEditor->SetDefaultParagraphSeparator(ParagraphSeparator::p);
return NS_OK;
}
if (newValue.LowerCaseEqualsLiteral("br")) {
// Mozilla extension for backwards compatibility
htmlEditor->SetDefaultParagraphSeparator(ParagraphSeparator::br);
return NS_OK;
}
// This should not be reachable from nsHTMLDocument::ExecCommand
NS_WARNING("Invalid default paragraph separator");
return NS_ERROR_UNEXPECTED;
}
if (!nsCRT::strcmp(aCommandName, "cmd_enableObjectResizing")) {
NS_ENSURE_ARG_POINTER(aParams);
nsCOMPtr<nsIHTMLObjectResizer> resizer = do_QueryInterface(refCon);
@ -338,6 +377,35 @@ nsSetDocumentStateCommand::GetCommandStateParams(const char *aCommandName,
return aParams->SetBooleanValue(STATE_ATTRIBUTE, !createPOnReturn);
}
if (!nsCRT::strcmp(aCommandName, "cmd_defaultParagraphSeparator")) {
if (NS_WARN_IF(!aParams)) {
return NS_ERROR_NULL_POINTER;
}
nsCOMPtr<nsIHTMLEditor> editor = do_QueryInterface(refCon);
if (NS_WARN_IF(!editor)) {
return NS_ERROR_INVALID_ARG;
}
auto htmlEditor = static_cast<HTMLEditor*>(editor.get());
switch (htmlEditor->GetDefaultParagraphSeparator()) {
case ParagraphSeparator::div:
aParams->SetCStringValue(STATE_ATTRIBUTE, "div");
return NS_OK;
case ParagraphSeparator::p:
aParams->SetCStringValue(STATE_ATTRIBUTE, "p");
return NS_OK;
case ParagraphSeparator::br:
aParams->SetCStringValue(STATE_ATTRIBUTE, "br");
return NS_OK;
default:
MOZ_ASSERT_UNREACHABLE("Invalid paragraph separator value");
return NS_ERROR_UNEXPECTED;
}
}
if (!nsCRT::strcmp(aCommandName, "cmd_enableObjectResizing")) {
NS_ENSURE_ARG_POINTER(aParams);
nsCOMPtr<nsIHTMLObjectResizer> resizer = do_QueryInterface(refCon);

Просмотреть файл

@ -60,6 +60,8 @@ namespace widget {
struct IMEState;
} // namespace widget
enum class ParagraphSeparator { div, p, br };
/**
* The HTML editor implementation.<br>
* Use to edit HTML document represented as a DOM tree.
@ -372,6 +374,15 @@ public:
!aElement->GetAttrNameAt(0)->Equals(nsGkAtoms::mozdirty));
}
ParagraphSeparator GetDefaultParagraphSeparator() const
{
return mDefaultParagraphSeparator;
}
void SetDefaultParagraphSeparator(ParagraphSeparator aSep)
{
mDefaultParagraphSeparator = aSep;
}
protected:
class BlobReader final : public nsIEditorBlobListener
{
@ -1003,6 +1014,9 @@ protected:
nsCOMPtr<nsILinkHandler> mLinkHandler;
// Default to br for compatibility with old Gecko behavior
ParagraphSeparator mDefaultParagraphSeparator = ParagraphSeparator::br;
public:
friend class HTMLEditorEventListener;
friend class HTMLEditRules;

Просмотреть файл

@ -2,4 +2,3 @@
type: testharness
disabled:
if not debug and (os == "win") and (version == "6.2.9200"): https://bugzilla.mozilla.org/show_bug.cgi?id=1347505

Просмотреть файл

@ -1,4 +1,3 @@
[getallresponseheaders.htm]
type: testharness
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1348390

Просмотреть файл

@ -1,4 +1,3 @@
[header-referrer-strict-origin-when-cross-origin.https.html]
type: testharness
prefs: [security.mixed_content.block_active_content:false, security.mixed_content.block_display_content:false]

Просмотреть файл

@ -1,6 +1,5 @@
[object-src-2_1.html]
type: testharness
[Async SWF load test]
expected:
NOTRUN
expected: NOTRUN

Просмотреть файл

@ -1,6 +1,5 @@
[object-src-2_2.html]
type: testharness
[Async SWF load test]
expected:
NOTRUN
expected: NOTRUN

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -9,138 +9,15 @@
[[["stylewithcss","false"\],["inserthorizontalrule",""\]\] "<b id=abc>foo[\]bar</b>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<p>[bar\]<p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<p>[bar\]<p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<p>{bar}<p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<p>{bar}<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<p>{bar}<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<p>{bar}<p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<p>{bar}<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<p>{bar}<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo{<p>bar</p>}<p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo{<p>bar</p>}<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo{<p>bar</p>}<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo{<p>bar</p>}<p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo{<p>bar</p>}<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo{<p>bar</p>}<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo[bar\]baz</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo[bar\]baz</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p id=abc>foo[bar\]baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthorizontalrule",""\]\] "<p>foo<b>b[a\]r</b>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["inserthorizontalrule",""\]\] "<address>foo[bar\]baz</address>" compare innerHTML]
expected: FAIL

Просмотреть файл

@ -24,102 +24,15 @@
[[["stylewithcss","false"\],["inserthtml","<b>"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<p>foo[bar\]baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<p>foo[bar\]baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc"\]\] "<p>foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol>{<li>foo</li>}<li>bar</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol>{<li>foo</li>}<li>bar</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol>{<li>foo</li>}<li>bar</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol>{<li>foo</li>}<li>bar</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol>{<li>foo</li>}<li>bar</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol>{<li>foo</li>}<li>bar</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol><li>foo</li>{<li>bar</li>}<li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol><li>foo</li>{<li>bar</li>}<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol><li>foo</li>{<li>bar</li>}<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol><li>foo</li>{<li>bar</li>}<li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol><li>foo</li>{<li>bar</li>}<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol><li>foo</li>{<li>bar</li>}<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol><li>[foo\]</li><li>bar</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol><li>[foo\]</li><li>bar</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<ol><li>[foo\]</li><li>bar</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol><li>[foo\]</li><li>bar</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol><li>[foo\]</li><li>bar</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<ol><li>[foo\]</li><li>bar</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["inserthtml","abc"\]\] "<xmp>f[o\]o</xmp>" compare innerHTML]
expected: FAIL
@ -135,24 +48,6 @@
[[["stylewithcss","false"\],["inserthtml","<b>abc</b>"\]\] "<script>f[o\]o</script>bar" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<hr>"\]\] "<p>f[o\]o": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<hr>"\]\] "<p>f[o\]o" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<hr>"\]\] "<p>f[o\]o" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<hr>"\]\] "<p>f[o\]o": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<hr>"\]\] "<p>f[o\]o" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<hr>"\]\] "<p>f[o\]o" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["inserthtml","<dt>abc</dt>"\]\] "<dl><dt>f[o\]o<dd>bar</dl>" compare innerHTML]
expected: FAIL
@ -186,165 +81,39 @@
[[["inserthtml","<ul><li>abc</ul>"\]\] "<ul><li>f[o\]o</ul>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserthtml","<li>abc</li>"\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["inserthtml","<nobr>abc</nobr>"\]\] "<nobr>f[o\]o</nobr>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<font color=blue>foo[\]bar</font>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=color:blue>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","<p>abc"\]\] "<span style=font-variant:small-caps>foo[\]bar</span>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["inserthtml"," "\]\] "<p>[foo\]</p>" compare innerHTML]
expected: FAIL

Просмотреть файл

@ -27,345 +27,42 @@
[[["insertimage","/img/lion.svg"\]\] "foo{<span>bar</span>}baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p>baz\]quz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p>baz\]quz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<div>baz\]quz</div>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<div>baz\]quz</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<div>baz\]quz</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<div>baz\]quz</div>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<div>baz\]quz</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<div>baz\]quz</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div>foo[bar</div><p>baz\]quz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div>foo[bar</div><p>baz\]quz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p><b>foo[bar</b><p>baz\]quz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p><b>foo[bar</b><p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p><b>foo[bar</b><p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p><b>foo[bar</b><p>baz\]quz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p><b>foo[bar</b><p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p><b>foo[bar</b><p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo[bar</div><p>baz\]quz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo[bar</div><p>baz\]quz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo[bar</div><p>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<blockquote><p>baz\]quz<p>qoz</blockquote": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<blockquote><p>baz\]quz<p>qoz</blockquote" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<blockquote><p>baz\]quz<p>qoz</blockquote" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<blockquote><p>baz\]quz<p>qoz</blockquote": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<blockquote><p>baz\]quz<p>qoz</blockquote" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<blockquote><p>baz\]quz<p>qoz</blockquote" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p><b>baz\]quz</b>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p><b>baz\]quz</b>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p><b>baz\]quz</b>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p><b>baz\]quz</b>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p><b>baz\]quz</b>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p><b>baz\]quz</b>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar<br>baz</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar<br>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar<br>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar<br>baz</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar<br>baz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[</p><p>\]bar<br>baz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar<br>baz</p>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["insertimage","/img/lion.svg"\]\] "<p>foo[</p>\]bar<br>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</p>baz</div>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</p>baz</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</p>baz</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</p>baz</div>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</p>baz</div>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</p>baz</div>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL

Просмотреть файл

@ -1,8 +1,5 @@
[insertlinebreak.html]
type: testharness
[[["insertlinebreak",""\]\] "<table><tr><td>[foo<td>bar\]<tr><td>baz<td>quz</table>" compare innerHTML]
expected: FAIL
[[["insertlinebreak",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<tr><td>baz<td>quz</table>" compare innerHTML]
expected: FAIL
@ -15,24 +12,9 @@
[[["insertlinebreak",""\]\] "<listing>foo[\]bar</listing>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertlinebreak",""\]\] "<h1>foo[bar</h1><p>baz\]quz</p>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertlinebreak",""\]\] "<h1>foo[bar</h1><p>baz\]quz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertlinebreak",""\]\] "<h1>foo[bar</h1><p>baz\]quz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertlinebreak",""\]\] "<h1>foo[bar</h1><p>baz\]quz</p>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertlinebreak",""\]\] "<h1>foo[bar</h1><p>baz\]quz</p>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertlinebreak",""\]\] "<h1>foo[bar</h1><p>baz\]quz</p>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>[bar\]</span>baz" compare innerHTML]
expected: FAIL
@ -66,3 +48,6 @@
[[["stylewithcss","false"\],["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
expected: FAIL
[[["insertlinebreak",""\]\] "<table><tr><td>[foo<td>bar\]<tr><td>baz<td>quz</table>" compare innerHTML]
expected: FAIL

Просмотреть файл

@ -9,126 +9,39 @@
[[["insertorderedlist",""\]\] "foo<ul><li>[bar</ul>baz\]" queryCommandIndeterm("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>foo<p>[bar\]<p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>foo<p>[bar\]<p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>foo<p>[bar\]<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<dl><dt>foo<dd>[bar\]<dt>baz<dd>quz</dl>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<dl><dt>foo<dd>bar<dt>[baz\]<dd>quz</dl>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<p>bar\]<p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<p>bar\]<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<p>bar\]<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<p>bar\]<p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<p>bar\]<p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<p>bar\]<p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<dl><dt>[foo<dd>bar\]<dt>baz<dd>quz</dl>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<dl><dt>foo<dd>[bar<dt>baz\]<dd>quz</dl>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]<p>baz</blockquote>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo</ol>[bar\]" compare innerHTML]
expected: FAIL
@ -144,108 +57,54 @@
[[["insertorderedlist",""\]\] "<ol><ol><li>[foo\]</ol></ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<br>bar<li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<br>[bar\]<li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
@ -276,306 +135,108 @@
[[["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>[baz\]</ol><li>quz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]</li><ol><li>bar</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar\]</li><ol><li>baz</ol><li>quz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<li>[bar<li>baz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" queryCommandIndeterm("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" queryCommandIndeterm("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
@ -588,54 +249,27 @@
[[["insertorderedlist",""\]\] "<ol><li>foo<ol><li>[bar\]</ol>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandState("insertorderedlist") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandIndeterm("insertorderedlist") before]
expected: FAIL
@ -648,18 +282,9 @@
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandIndeterm("insertorderedlist") before]
expected: FAIL
@ -750,90 +375,18 @@
[[["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote>[bar\]<br>baz</blockquote>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo\]<blockquote><p>bar</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo\]<blockquote><p>bar</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo\]<blockquote><p>bar</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo\]<blockquote><p>bar</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo\]<blockquote><p>bar</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo\]<blockquote><p>bar</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>foo<blockquote><p>[bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>foo<blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>foo<blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>foo<blockquote><p>[bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>foo<blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>foo<blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo<blockquote><p>bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote><p>[bar\]</blockquote><p>baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul id=abc><li>foo<li>[bar\]<li>baz</ul>" compare innerHTML]
expected: FAIL
@ -855,75 +408,21 @@
[[["stylewithcss","false"\],["insertorderedlist",""\]\] "<ul style=color:blue><li>foo<li>bar<li>[baz\]</ul>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<p>[foo\]</p> <ol><li>bar</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>foo</ol> <p>[bar\]</p> <ol><li>baz</ol>" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -9,54 +9,21 @@
[[["inserttext","\\t"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["inserttext"," "\]\] "foo[\] &nbsp;bar" compare innerHTML]
expected: FAIL
@ -216,42 +183,6 @@
[[["inserttext"," "\]\] "foo[\]" compare innerHTML]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "<p>fo[o<p>b\]ar": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "<p>fo[o<p>b\]ar" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "<p>fo[o<p>b\]ar" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "<p>fo[o<p>b\]ar": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "<p>fo[o<p>b\]ar" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "<p>fo[o<p>b\]ar" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "<p>fo[o<p>bar<p>b\]az": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "<p>fo[o<p>bar<p>b\]az" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "<p>fo[o<p>bar<p>b\]az" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "<p>fo[o<p>bar<p>b\]az": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "<p>fo[o<p>bar<p>b\]az" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "<p>fo[o<p>bar<p>b\]az" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["inserttext","a"\]\] "{}<br>" compare innerHTML]
expected: FAIL

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -6,75 +6,6 @@
[[["defaultparagraphseparator",""\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","div"\]\] "foo[bar\]baz": execCommand("defaultparagraphseparator", false, "div") return value]
expected: FAIL
[[["defaultparagraphseparator","div"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","div"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","p"\]\] "foo[bar\]baz": execCommand("defaultparagraphseparator", false, "p") return value]
expected: FAIL
[[["defaultparagraphseparator","p"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","p"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","DIV"\]\] "foo[bar\]baz": execCommand("defaultparagraphseparator", false, "DIV") return value]
expected: FAIL
[[["defaultparagraphseparator","DIV"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","DIV"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","P"\]\] "foo[bar\]baz": execCommand("defaultparagraphseparator", false, "P") return value]
expected: FAIL
[[["defaultparagraphseparator","P"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","P"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator"," div "\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator"," div "\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator"," p "\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator"," p "\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","<div>"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","<div>"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","<p>"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","<p>"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","li"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","li"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL
[[["defaultparagraphseparator","blockquote"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["defaultparagraphseparator","blockquote"\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after]
expected: FAIL

Просмотреть файл

@ -972,18 +972,6 @@
[[["underline",""\],["createlink","http://www.google.com/"\],["inserttext","a"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\],["underline",""\],["underline",""\],["inserttext","a"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\],["underline",""\],["underline",""\],["inserttext","a"\]\] "foo[\]bar" queryCommandState("underline") after]
expected: FAIL
[[["underline",""\],["underline",""\],["createlink","http://www.google.com/"\],["inserttext","a"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL
[[["underline",""\],["underline",""\],["createlink","http://www.google.com/"\],["inserttext","a"\]\] "foo[\]bar" queryCommandState("underline") after]
expected: FAIL
[[["subscript",""\],["fontsize","2"\],["inserttext","a"\]\] "foo[\]bar" compare innerHTML]
expected: FAIL

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,4 +1,3 @@
[embed-represent-nothing-04.html]
type: reftest
expected:
FAIL
expected: FAIL

Просмотреть файл

@ -23,3 +23,4 @@
[textarea direction of setSelectionRange(0,1)]
expected: FAIL

Просмотреть файл

@ -3,47 +3,47 @@
expected:
if e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5"): OK
if (os == "win"): OK
if os == "win": OK
TIMEOUT
[Unordered module script execution (parsed, unordered #1)]
expected:
if e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): PASS
if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5"): PASS
if (os == "win"): PASS
if os == "win": PASS
NOTRUN
[Unordered module script execution (parsed, unordered #2)]
expected:
if e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): PASS
if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5"): PASS
if (os == "win"): PASS
if os == "win": PASS
NOTRUN
[Unordered module script execution (dynamic, unordered #1)]
expected:
if e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): PASS
if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5"): PASS
if (os == "win"): PASS
if os == "win": PASS
NOTRUN
[Unordered module script execution (dynamic, unordered #2)]
expected:
if e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): PASS
if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5"): PASS
if (os == "win"): PASS
if os == "win": PASS
NOTRUN
[Interlaced module/non-module script execution (parsed, async-ordered)]
expected:
if e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): PASS
if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5"): PASS
if (os == "win"): PASS
if os == "win": PASS
FAIL
[Interlaced module/non-module script execution (dynamic, async-ordered)]
expected:
if e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): PASS
if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5"): PASS
if (os == "win"): PASS
if os == "win": PASS
FAIL

Просмотреть файл

@ -1,7 +1,6 @@
[idlharness.html]
type: testharness
prefs: [dom.w3c_pointer_events.enabled:true]
[PointerEvent interface: operation getCoalescedEvents()]
expected: FAIL

Просмотреть файл

@ -1,4 +1,3 @@
[estimate-indexeddb-worker.https.html]
type: testharness
prefs: [dom.storageManager.enabled:true]

Просмотреть файл

@ -1,2 +0,0 @@
[key.py]
type: wdspec

Просмотреть файл

@ -1,2 +0,0 @@
[mouse.py]
type: wdspec

Просмотреть файл

@ -1,2 +0,0 @@
[sequence.py]
type: wdspec

Просмотреть файл

@ -2,3 +2,4 @@
type: wdspec
[navigation.py::test_get_current_url_alert_prompt]
expected: FAIL

Просмотреть файл

@ -1,2 +0,0 @@
[Range_collapse.html]
type: testharness

Просмотреть файл

@ -1,2 +0,0 @@
[Range_selectNode.html]
type: testharness

Просмотреть файл

@ -1,2 +0,0 @@
[Range_setEnd.html]
type: testharness

Просмотреть файл

@ -1,2 +0,0 @@
[Range_setStart.html]
type: testharness

Просмотреть файл

@ -1,2 +0,0 @@
[Selection_addRange.html]
type: testharness

Просмотреть файл

@ -1,2 +0,0 @@
[Selection_addRange_into_iframe.html]
type: testharness

Просмотреть файл

@ -14,3 +14,4 @@
[Active element should be the <body> after Selection.collapse() moving selection from first text node in 'innerEditor' to start of the first text node of 'anchor']
expected: FAIL

Просмотреть файл

@ -1,2 +0,0 @@
[Selection_collapseToEnd.html]
type: testharness

Просмотреть файл

@ -1,2 +0,0 @@
[Selection_collapseToStart.html]
type: testharness

Просмотреть файл

@ -23,3 +23,4 @@
[Active element should be the <body> after Selection.extend() from selection at start of the first text node of 'innerEditor' to start of the first text node of 'anchor']
expected: FAIL

Просмотреть файл

@ -1,2 +0,0 @@
[Selection_removeAllRanges.html]
type: testharness

Просмотреть файл

@ -1,2 +0,0 @@
[Selection_removeRange.html]
type: testharness

Просмотреть файл

@ -1,6 +1,5 @@
[Selection_selectAllChildren.html]
type: testharness
[Active element should be the <body> after Selection.selectAllChildren() to select the children of 'staticBefore' when active element is 'editor']
expected: FAIL
@ -39,3 +38,4 @@
[Active element should be the <body> after Selection.selectAllChildren() to select the children of 'anchor' when active element is 'innerEditor']
expected: FAIL

Просмотреть файл

@ -1,2 +0,0 @@
[Selection_setBaseAndExtent.html]
type: testharness