Backed out changeset 90695432b21e (bug 1566795)for build bustages on HTMLStyleEditor.cpp. CLOSED TREE

This commit is contained in:
Razvan Maries 2019-10-08 10:21:58 +03:00
parent bc5737c51b
commit a6b9e7fdbc
7 changed files with 1554 additions and 101 deletions

View File

@ -615,45 +615,38 @@ nsresult FontFaceStateCommand::SetState(HTMLEditor* aHTMLEditor,
return NS_ERROR_INVALID_ARG;
}
// Handling `<tt>` element code was implemented for composer (bug 115922).
// This shouldn't work with `Document.execCommand()`. Currently, aPrincipal
// is set only when the root caller is Document::ExecCommand() so that
// we should handle `<tt>` element only when aPrincipal is nullptr that
// must be only when XUL command is executed on composer.
if (!aPrincipal) {
if (aNewState.EqualsLiteral("tt")) {
// The old "teletype" attribute
nsresult rv = aHTMLEditor->SetInlinePropertyAsAction(
*nsGkAtoms::tt, nullptr, EmptyString(), aPrincipal);
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}
// Clear existing font face
rv = aHTMLEditor->RemoveInlinePropertyAsAction(
*nsGkAtoms::font, nsGkAtoms::face, aPrincipal);
NS_WARNING_ASSERTION(NS_SUCCEEDED(rv),
"RemoveInlinePropertyAsAction() failed");
return rv;
}
// Remove any existing `<tt>` elements before setting new font face.
nsresult rv = aHTMLEditor->RemoveInlinePropertyAsAction(
*nsGkAtoms::tt, nullptr, aPrincipal);
if (aNewState.EqualsLiteral("tt")) {
// The old "teletype" attribute
nsresult rv = aHTMLEditor->SetInlinePropertyAsAction(
*nsGkAtoms::tt, nullptr, EmptyString(), aPrincipal);
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}
}
if (aNewState.IsEmpty() || aNewState.EqualsLiteral("normal")) {
nsresult rv = aHTMLEditor->RemoveInlinePropertyAsAction(
*nsGkAtoms::font, nsGkAtoms::face, aPrincipal);
// Clear existing font face
rv = aHTMLEditor->RemoveInlinePropertyAsAction(*nsGkAtoms::font,
nsGkAtoms::face, aPrincipal);
NS_WARNING_ASSERTION(NS_SUCCEEDED(rv),
"RemoveInlinePropertyAsAction() failed");
return rv;
}
nsresult rv = aHTMLEditor->SetInlinePropertyAsAction(
*nsGkAtoms::font, nsGkAtoms::face, aNewState, aPrincipal);
// Remove any existing TT nodes
nsresult rv = aHTMLEditor->RemoveInlinePropertyAsAction(*nsGkAtoms::tt,
nullptr, aPrincipal);
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}
if (aNewState.IsEmpty() || aNewState.EqualsLiteral("normal")) {
rv = aHTMLEditor->RemoveInlinePropertyAsAction(*nsGkAtoms::font,
nsGkAtoms::face, aPrincipal);
NS_WARNING_ASSERTION(NS_SUCCEEDED(rv),
"RemoveInlinePropertyAsAction() failed");
return rv;
}
rv = aHTMLEditor->SetInlinePropertyAsAction(*nsGkAtoms::font, nsGkAtoms::face,
aNewState, aPrincipal);
NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "SetInlinePropertyAsAction() failed");
return rv;
}

View File

@ -488,28 +488,25 @@ nsresult HTMLEditor::SetInlinePropertyOnNodeImpl(nsIContent& aNode,
bool useCSS = (IsCSSEnabled() && CSSEditUtils::IsCSSEditableProperty(
&aNode, &aProperty, aAttribute)) ||
// bgcolor is always done using CSS
aAttribute == nsGkAtoms::bgcolor ||
// called for removing parent style, we should use CSS with
// `<span>` element.
aValue.EqualsLiteral("-moz-editor-invert-value");
aAttribute == nsGkAtoms::bgcolor;
if (useCSS) {
RefPtr<Element> spanElement;
RefPtr<dom::Element> tmp;
// We only add style="" to <span>s with no attributes (bug 746515). If we
// don't have one, we need to make one.
if (aNode.IsHTMLElement(nsGkAtoms::span) &&
!aNode.AsElement()->GetAttrCount()) {
spanElement = aNode.AsElement();
tmp = aNode.AsElement();
} else {
spanElement = InsertContainerWithTransaction(aNode, *nsGkAtoms::span);
if (NS_WARN_IF(!spanElement)) {
tmp = InsertContainerWithTransaction(aNode, *nsGkAtoms::span);
if (NS_WARN_IF(!tmp)) {
return NS_ERROR_FAILURE;
}
}
// Add the CSS styles corresponding to the HTML style request
mCSSEditUtils->SetCSSEquivalentToHTMLStyle(spanElement, &aProperty,
aAttribute, &aValue, false);
mCSSEditUtils->SetCSSEquivalentToHTMLStyle(tmp, &aProperty, aAttribute,
&aValue, false);
return NS_OK;
}
@ -639,18 +636,7 @@ SplitNodeResult HTMLEditor::SplitAncestorStyledInlineElementsAt(
return SplitNodeResult(NS_ERROR_INVALID_ARG);
}
// We assume that this method is called only when we're removing style(s).
// Even if we're in HTML mode and there is no presentation element in the
// block, we may need to overwrite the block's style with `<span>` element
// and CSS. For example, `<h1>` element has `font-weight: bold;` as its
// default style. If `Document.execCommand("bold")` is called for its
// text, we should make it unbold. Therefore, we shouldn't check
// IsCSSEnabled() in most cases. However, there is an exception.
// FontFaceStateCommand::SetState() calls RemoveInlinePropertyAsAction()
// with nsGkAtoms::tt before calling SetInlinePropertyAsAction() if we
// are handling a XUL command. Only in that case, we need to check
// IsCSSEnabled().
bool useCSS = aProperty != nsGkAtoms::tt || IsCSSEnabled();
bool useCSS = IsCSSEnabled();
// Split any matching style nodes above the point.
SplitNodeResult result(aPointToSplit);
@ -1583,8 +1569,12 @@ nsresult HTMLEditor::RemoveInlinePropertyInternal(nsAtom* aProperty,
if (startOfRange.GetContainer() == endOfRange.GetContainer() &&
startOfRange.IsInTextNode()) {
// If parent block has the removing style, we should create `<span>`
// element to remove the style even in HTML mode since Chrome does it.
// TODO: If parent block has the removing style, we should create
// `<span>` element to remove the style even in HTML mode
// since Chrome does it. See bug 1566795.
if (!IsCSSEnabled()) {
continue;
}
if (!CSSEditUtils::IsCSSEditableProperty(startOfRange.GetContainer(),
aProperty, aAttribute)) {
continue;
@ -1603,10 +1593,11 @@ nsresult HTMLEditor::RemoveInlinePropertyInternal(nsAtom* aProperty,
if (!CSSEditUtils::IsCSSInvertible(*aProperty, aAttribute)) {
continue;
}
NS_NAMED_LITERAL_STRING(value, "-moz-editor-invert-value");
SetInlinePropertyOnTextNode(
MOZ_KnownLive(*startOfRange.GetContainerAsText()),
startOfRange.Offset(), endOfRange.Offset(), *aProperty, aAttribute,
NS_LITERAL_STRING("-moz-editor-invert-value"));
value);
if (NS_WARN_IF(Destroyed())) {
return NS_ERROR_EDITOR_DESTROYED;
}
@ -1636,8 +1627,12 @@ nsresult HTMLEditor::RemoveInlinePropertyInternal(nsAtom* aProperty,
return rv;
}
}
// If parent block has the removing style, we should create `<span>`
// element to remove the style even in HTML mode since Chrome does it.
// TODO: If parent block has the removing style, we should create
// `<span>` element to remove the style even in HTML mode
// since Chrome does it. See bug 1566795.
if (!IsCSSEnabled()) {
continue;
}
if (!CSSEditUtils::IsCSSEditableProperty(content, aProperty,
aAttribute)) {
continue;
@ -1655,14 +1650,8 @@ nsresult HTMLEditor::RemoveInlinePropertyInternal(nsAtom* aProperty,
if (!CSSEditUtils::IsCSSInvertible(*aProperty, aAttribute)) {
continue;
}
nsresult rv = SetInlinePropertyOnNode(
content, *aProperty, aAttribute,
NS_LITERAL_STRING("-moz-editor-invert-value"));
if (NS_WARN_IF(Destroyed())) {
return NS_ERROR_EDITOR_DESTROYED;
}
NS_WARNING_ASSERTION(NS_FAILED(rv),
"SetInlinePropertyOnNode() failed, but ignored");
NS_NAMED_LITERAL_STRING(value, "-moz-editor-invert-value");
SetInlinePropertyOnNode(content, *aProperty, aAttribute, value);
}
}
}

View File

@ -1,4 +1,4 @@
[bold.html?1-1000]
[bold.html]
[[["stylewithcss","true"\],["bold",""\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
@ -95,17 +95,6 @@
[[["bold",""\]\] "foo{<i><b></b></i>}baz" queryCommandState("bold") after]
expected: FAIL
[bold - HTML editing conformance tests]
expected: FAIL
[bold.html?1001-2000]
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: bold\\">bar</span>\]baz" queryCommandState("stylewithcss") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: bold\\">bar</span>\]baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>" compare innerHTML]
expected: FAIL
@ -118,6 +107,9 @@
[[["stylewithcss","false"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b id=purple>bar [baz\] qoz</b>" compare innerHTML]
expected: FAIL
@ -145,28 +137,45 @@
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[bar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[bar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<span style=\\"font-weight: 700\\">foobar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<span style=\\"font-weight: 700\\">foobar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["bold",""\]\] "{<span style=\\"font-weight: 900\\">foobar\]baz</span>" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "{<span style=\\"font-weight: 900\\">foobar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[barbaz</span>}" compare innerHTML]
expected: FAIL
[bold.html?3001-last]
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:100>fo[o</span><span style=font-weight:200>b\]ar</span>" queryCommandState("stylewithcss") before]
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[barbaz</span>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:100>fo[o</span><span style=font-weight:200>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[bold.html?2001-3000]
[[["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[barbaz</span>}" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[barbaz</span>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[bar\]baz</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[bar\]baz</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" compare innerHTML]
expected: FAIL
@ -320,19 +329,447 @@
[[["stylewithcss","false"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo[<b>b\]ar</b>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<b>ba[r</b>\]baz" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "<span style=font-weight:800>fo[o</span><span style=font-weight:900>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "<span style=font-weight:800>fo[o</span><span style=font-weight:900>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:700>fo[o</span><span style=font-weight:800>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:700>fo[o</span><span style=font-weight:800>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:600>fo[o</span><span style=font-weight:700>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandState("bold") after]
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:600>fo[o</span><span style=font-weight:700>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandState("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandState("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" queryCommandIndeterm("bold") before]
expected: FAIL
[bold - HTML editing conformance tests]
expected: FAIL
[bold.html?1-1000]
[[["stylewithcss","true"\],["bold",""\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["bold",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "fo[o<span contenteditable=false>bar</span>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "fo[o<span contenteditable=false>bar</span>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>": execCommand("bold", false, "") return value]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>": execCommand("bold", false, "") return value]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("bold") before]
expected: FAIL
[[["bold",""\]\] "<b>foo</b>[bar\]<strong>baz</strong>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<strong>foo</strong>[bar\]<b>baz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<strong>foo</strong>[bar\]<b>baz</b>" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "foo{<b></b>}baz" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "foo{<b></b>}baz" queryCommandState("bold") after]
expected: FAIL
[[["bold",""\]\] "foo{<i></i>}baz" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "foo{<i></i>}baz" queryCommandState("bold") after]
expected: FAIL
[[["bold",""\]\] "foo{<b><i></i></b>}baz" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "foo{<b><i></i></b>}baz" queryCommandState("bold") after]
expected: FAIL
[[["bold",""\]\] "foo{<i><b></b></i>}baz" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "foo{<i><b></b></i>}baz" queryCommandState("bold") after]
expected: FAIL
[bold - HTML editing conformance tests]
expected: FAIL
[bold.html?1001-2000]
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: bold\\">bar</span>\]baz" queryCommandState("stylewithcss") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: bold\\">bar</span>\]baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b id=purple>bar [baz\] qoz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b id=purple>bar [baz\] qoz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[bar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[bar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<span style=\\"font-weight: 700\\">foobar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<span style=\\"font-weight: 700\\">foobar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["bold",""\]\] "{<span style=\\"font-weight: 900\\">foobar\]baz</span>" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "{<span style=\\"font-weight: 900\\">foobar\]baz</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[barbaz</span>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[barbaz</span>}" queryCommandState("bold") after]
expected: FAIL
[bold.html?3001-last]
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:100>fo[o</span><span style=font-weight:200>b\]ar</span>" queryCommandState("stylewithcss") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:100>fo[o</span><span style=font-weight:200>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[bold.html?2001-3000]
[[["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[barbaz</span>}" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[barbaz</span>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[bar\]baz</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[bar\]baz</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">bar<b>[baz\]</b>quz</span>qoz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">bar<b>[baz\]</b>quz</span>qoz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" queryCommandIndeterm("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" queryCommandIndeterm("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<i><b>baz</b></i>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<i><b>baz</b></i>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<b>baz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<b>baz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b>foo</b>[bar\]<i><b>baz</b></i>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b>foo</b>[bar\]<i><b>baz</b></i>" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "<font color=blue face=monospace><b>foo</b></font>[bar\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") before]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo[<b>b\]ar</b>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<b>ba[r</b>\]baz" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "<span style=font-weight:800>fo[o</span><span style=font-weight:900>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["bold",""\]\] "<span style=font-weight:800>fo[o</span><span style=font-weight:900>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:700>fo[o</span><span style=font-weight:800>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:700>fo[o</span><span style=font-weight:800>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:600>fo[o</span><span style=font-weight:700>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:600>fo[o</span><span style=font-weight:700>b\]ar</span>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" compare innerHTML]

View File

@ -1,3 +1,248 @@
[fontname.html]
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["fontname","sans-serif"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("fontname") before]
expected: FAIL
[[["fontname","sans-serif"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<code>[bar\]</code>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<code>[bar\]</code>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<code>[bar\]</code>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<code>[bar\]</code>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<kbd>[bar\]</kbd>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<kbd>[bar\]</kbd>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<kbd>[bar\]</kbd>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<kbd>[bar\]</kbd>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<samp>[bar\]</samp>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<samp>[bar\]</samp>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<samp>[bar\]</samp>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<samp>[bar\]</samp>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<listing>b[a\]r</listing>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<listing>b[a\]r</listing>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<listing>b[a\]r</listing>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<listing>b[a\]r</listing>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>b[a\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>b[a\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<code>bar</code>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<code>bar</code>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<code>bar</code>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<code>bar</code>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<kbd>bar</kbd>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<kbd>bar</kbd>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<kbd>bar</kbd>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<kbd>bar</kbd>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<samp>bar</samp>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<samp>bar</samp>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<samp>bar</samp>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<samp>bar</samp>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<tt>bar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<tt>bar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<listing>ba\]r</listing>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<listing>ba\]r</listing>baz" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<listing>ba\]r</listing>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<listing>ba\]r</listing>baz" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<tt>ba\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<tt>ba\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>b[ar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>b[ar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<span style=\\"font-family: monospace\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>}bar" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>}bar" queryCommandValue("fontname") before]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>}bar" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>}bar" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>}bar" queryCommandValue("fontname") before]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>}bar" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandIndeterm("fontname") before]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") before]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandIndeterm("fontname") before]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") before]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "fo[o<span style=font-family:monospace>b\]ar</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<span style=font-family:monospace>ba[r</span>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo[<span style=font-family:monospace>b\]ar</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<span style=font-family:monospace>ba[r</span>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "fo[o<listing>b\]ar</listing>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "fo[o<listing>b\]ar</listing>" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "fo[o<listing>b\]ar</listing>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "fo[o<listing>b\]ar</listing>" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "fo[o<tt>b\]ar</tt>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "fo[o<tt>b\]ar</tt>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<tt>fo[o</tt><code>b\]ar</code>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "<tt>fo[o</tt><code>b\]ar</code>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<span style=font-family:monospace>fo[o</span><kbd>b\]ar</kbd>" compare innerHTML]
expected: FAIL
[fontname - HTML editing conformance tests]
expected: FAIL
[fontname.html?1-1000]
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
@ -50,15 +295,9 @@
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<listing>b[a\]r</listing>baz" compare innerHTML]
expected: FAIL
@ -71,6 +310,12 @@
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<listing>b[a\]r</listing>baz" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>b[a\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>b[a\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<code>bar</code>baz\]" compare innerHTML]
expected: FAIL
@ -411,6 +656,10 @@
expected:
if not e10s: PASS
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" queryCommandValue("fontname") after]
expected:
if not e10s: PASS
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<p>[foo<p><br><p>bar\]" checks for modifications to non-editable content]
expected:
if not e10s: PASS
@ -3043,6 +3292,10 @@
expected:
if not e10s: PASS
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>[bar\]</tt>baz" queryCommandValue("fontname") after]
expected:
if not e10s: PASS
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<kbd>b[a\]r</kbd>baz" queryCommandIndeterm("fontname") after]
expected:
if not e10s: PASS
@ -3982,15 +4235,9 @@
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<tt>bar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<tt>bar</tt>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<tt>bar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<tt>bar</tt>baz\]" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<listing>ba\]r</listing>baz" compare innerHTML]
expected: FAIL
@ -4003,6 +4250,12 @@
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<listing>ba\]r</listing>baz" queryCommandIndeterm("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "[foo<tt>ba\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "[foo<tt>ba\]r</tt>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" compare innerHTML]
expected: FAIL
@ -4021,6 +4274,15 @@
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<listing>b[ar</listing>baz\]" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>b[ar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>b[ar</tt>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<span style=\\"font-family: monospace\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>}bar" compare innerHTML]
expected: FAIL
@ -4048,6 +4310,9 @@
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") before]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" compare innerHTML]
expected: FAIL
@ -4057,6 +4322,21 @@
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") before]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "foo<tt>{<br></tt>b\]ar" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "fo[o<span style=font-family:monospace>b\]ar</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<span style=font-family:monospace>ba[r</span>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo[<span style=font-family:monospace>b\]ar</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "foo<span style=font-family:monospace>ba[r</span>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "fo[o<listing>b\]ar</listing>" compare innerHTML]
expected: FAIL
@ -4073,3 +4353,19 @@
[fontname.html?2001-last]
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "fo[o<listing>b\]ar</listing>" queryCommandValue("fontname") after]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "fo[o<tt>b\]ar</tt>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "fo[o<tt>b\]ar</tt>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<tt>fo[o</tt><code>b\]ar</code>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontname","sans-serif"\]\] "<tt>fo[o</tt><code>b\]ar</code>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontname","sans-serif"\]\] "<span style=font-family:monospace>fo[o</span><kbd>b\]ar</kbd>" compare innerHTML]
expected: FAIL

View File

@ -1,3 +1,326 @@
[italic.html]
[[["stylewithcss","true"\],["italic",""\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["italic",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<address>[bar\]</address>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<address>[bar\]</address>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<address>[bar\]</address>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<address>[bar\]</address>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<cite>[bar\]</cite>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<cite>[bar\]</cite>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<cite>[bar\]</cite>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<cite>[bar\]</cite>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<dfn>[bar\]</dfn>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<dfn>[bar\]</dfn>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<dfn>[bar\]</dfn>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<dfn>[bar\]</dfn>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<var>[bar\]</var>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<var>[bar\]</var>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<var>[bar\]</var>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<var>[bar\]</var>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<address>bar</address>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<address>bar</address>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<address>bar</address>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<address>bar</address>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<cite>bar</cite>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<cite>bar</cite>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<cite>bar</cite>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<cite>bar</cite>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<dfn>bar</dfn>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<dfn>bar</dfn>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<dfn>bar</dfn>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<dfn>bar</dfn>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<var>bar</var>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo{<var>bar</var>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<var>bar</var>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo{<var>bar</var>}baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<address>b[a\]r</address>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<address>b[a\]r</address>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<address>b[a\]r</address>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<address>b[a\]r</address>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<cite>b[a\]r</cite>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<cite>b[a\]r</cite>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<cite>b[a\]r</cite>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<cite>b[a\]r</cite>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<dfn>b[a\]r</dfn>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<dfn>b[a\]r</dfn>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<dfn>b[a\]r</dfn>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<dfn>b[a\]r</dfn>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<em>b[a\]r</em>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<em>b[a\]r</em>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<i>b[a\]r</i>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<var>b[a\]r</var>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<var>b[a\]r</var>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<var>b[a\]r</var>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<var>b[a\]r</var>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "fo[o<em>bar</em>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "fo[o<em>bar</em>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo[<em>bar</em>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo[<em>bar</em>baz\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "[foo<em>bar</em>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "[foo<em>bar</em>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<span style=\\"font-style: oblique\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<span style=\\"font-style: oblique\\">b[a\]r</span>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<i>{<p>foo</p><p>bar</p>}<p>baz</p></i>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<i>{<p>foo</p><p>bar</p>}<p>baz</p></i>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<i><p>foo[<b>bar</b>}</p><p>baz</p></i>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<i><p>foo[<b>bar</b>}</p><p>baz</p></i>" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<i><p>foo[<b>bar</b>}</p><p>baz</p></i>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<i><p>foo[<b>bar</b>}</p><p>baz</p></i>" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo[<i>b\]ar</i>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "foo<i>ba[r</i>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandIndeterm("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandIndeterm("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandState("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandIndeterm("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandState("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandIndeterm("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandState("italic") before]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandIndeterm("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandIndeterm("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandState("italic") before]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandIndeterm("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" queryCommandIndeterm("italic") after]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" queryCommandIndeterm("italic") after]
expected: FAIL
[italic - HTML editing conformance tests]
expected: FAIL
[italic.html?2001-last]
disabled:
if os == "android" and not e10s: https://bugzilla.mozilla.org/show_bug.cgi?id=1499003
@ -257,6 +580,12 @@
[[["stylewithcss","false"\],["italic",""\]\] "[foo<em>bar</em>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<span style=\\"font-style: oblique\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["italic",""\]\] "foo<span style=\\"font-style: oblique\\">b[a\]r</span>baz" queryCommandState("italic") after]
expected: FAIL
[[["stylewithcss","true"\],["italic",""\]\] "<i>{<p>foo</p><p>bar</p>}<p>baz</p></i>" compare innerHTML]
expected: FAIL

View File

@ -1,3 +1,269 @@
[strikethrough.html]
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p>[foo</p> <p>bar\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
expected: FAIL
[[["strikethrough",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("strikethrough") after]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo[bar<b>baz\]qoz</b>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo[bar<i>baz\]qoz</i>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "{<p><p> <p>foo</p>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("strikethrough") before]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u>[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<span style=\\"text-decoration: underline\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<u>foo[bar\]baz</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<u>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<u>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<u>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<u>foo[b<i>ar\]ba</i>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p style=\\"text-decoration: underline\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<s>foo[bar\]baz</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<s>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<s>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<s>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<s>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<s>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<s>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<s>foo[b<i>ar\]ba</i>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<s>foo[b<i>ar\]ba</i>z</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<p style=\\"text-decoration: line-through\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<p style=\\"text-decoration: line-through\\">foo[bar\]baz</p>" queryCommandState("strikethrough") after]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p style=\\"text-decoration: line-through\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p style=\\"text-decoration: line-through\\">foo[bar\]baz</p>" queryCommandState("strikethrough") after]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<strike>foo[bar\]baz</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<strike>foo[bar\]baz</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<strike>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<strike>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<strike>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<strike>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<strike>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<strike>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<strike>foo[b<i>ar\]ba</i>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<strike>foo[b<i>ar\]ba</i>z</strike>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<ins>[bar\]</ins>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<ins>foo[bar\]baz</ins>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<ins>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</ins>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<ins>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</ins>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<ins>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</ins>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<ins>foo[b<i>ar\]ba</i>z</ins>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" queryCommandState("strikethrough") after]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<s style=\\"text-decoration: underline\\">[bar\]</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: line-through\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: line-through\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: line-through\\">b[a\]r</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: line-through\\">b[a\]r</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: line-through\\">b[a\]r</u>baz" queryCommandState("strikethrough") after]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<s style=\\"text-decoration: overline\\">[bar\]</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<s style=\\"text-decoration: overline\\">b[a\]r</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: overline\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: overline\\">b[a\]r</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p style=\\"text-decoration: overline\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<span class=\\"underline\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<span class=\\"underline\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "fo[o<s>bar</s>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "foo[<s>b\]ar</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "foo<s>ba[r</s>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<strike>fo[o</strike><s>b\]ar</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "<strike>fo[o</strike><s>b\]ar</s>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["strikethrough",""\]\] "<s>fo[o</s><del>b\]ar</del>" compare innerHTML]
expected: FAIL
[strikethrough - HTML editing conformance tests]
expected: FAIL
[strikethrough.html?1-1000]
[[["stylewithcss","false"\],["strikethrough",""\]\] "<p>[foo</p> <p>bar\]</p>" compare innerHTML]
expected: FAIL
@ -214,6 +480,9 @@
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" queryCommandState("strikethrough") after]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<s style=\\"text-decoration: underline\\">[bar\]</s>baz" compare innerHTML]
expected: FAIL
@ -232,6 +501,9 @@
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: line-through\\">b[a\]r</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<u style=\\"text-decoration: line-through\\">b[a\]r</u>baz" queryCommandState("strikethrough") after]
expected: FAIL
[[["stylewithcss","false"\],["strikethrough",""\]\] "foo<s style=\\"text-decoration: overline\\">[bar\]</s>baz" compare innerHTML]
expected: FAIL

View File

@ -1,5 +1,80 @@
[underline.html?1001-2000]
[[["stylewithcss","false"\],["underline",""\]\] "foo<strike>[bar\]</strike>baz" queryCommandState("underline") after]
[underline.html]
[[["stylewithcss","true"\],["underline",""\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["underline",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandIndeterm("underline") before]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[bar\]baz</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\">ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"color:blue\\" id=foo>ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<span style=\\"font-size:3em\\">ar\]ba</span>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<u>foo[b<i>ar\]ba</i>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<u>foo[b<i>ar\]ba</i>z</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<p style=\\"text-decoration: underline\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<p style=\\"text-decoration: underline\\">foo[bar\]baz</p>" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<p style=\\"text-decoration: underline\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "<p style=\\"text-decoration: underline\\">foo[bar\]baz</p>" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" compare innerHTML]
@ -8,6 +83,9 @@
[[["stylewithcss","false"\],["underline",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">[bar\]</s>baz" compare innerHTML]
expected: FAIL
@ -20,6 +98,65 @@
[[["stylewithcss","false"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<u style=\\"text-decoration: line-through\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<u style=\\"text-decoration: line-through\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<u style=\\"text-decoration: overline\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<u style=\\"text-decoration: overline\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo[<u>b\]ar</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<u>ba[r</u>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<ins>fo[o</ins><u>b\]ar</u>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "<u>fo[o</u><ins>b\]ar</ins>" compare innerHTML]
expected: FAIL
[underline - HTML editing conformance tests]
expected: FAIL
[underline.html?1001-2000]
[[["stylewithcss","false"\],["underline",""\]\] "foo<strike>[bar\]</strike>baz" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<span style=\\"text-decoration: underline line-through\\">b[a\]r</span>baz" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">[bar\]</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">[bar\]</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["underline",""\]\] "foo<s style=\\"text-decoration: underline\\">b[a\]r</s>baz" queryCommandState("underline") after]
expected: FAIL
[[["stylewithcss","true"\],["underline",""\]\] "foo<u style=\\"text-decoration: line-through\\">[bar\]</u>baz" compare innerHTML]
expected: FAIL