Bug 1194131 - Update web-platform-tests expected data to revision b54dddfdcc4761d2f8a892fd783d60353949992d, a=testonly

This commit is contained in:
James Graham 2015-08-13 00:40:21 +01:00
parent d736523d93
commit 313a754a77
78 changed files with 70443 additions and 40 deletions

View File

@ -0,0 +1,5 @@
[2d.fillStyle.parse.hex4.html]
type: testharness
[Canvas test: 2d.fillStyle.parse.hex4]
expected: FAIL

View File

@ -0,0 +1,5 @@
[2d.fillStyle.parse.hex8.html]
type: testharness
[Canvas test: 2d.fillStyle.parse.hex8]
expected: FAIL

View File

@ -1,5 +0,0 @@
[2d.gradient.object.invalidoffset.html]
type: testharness
[Canvas test: 2d.gradient.object.invalidoffset]
expected: FAIL

View File

@ -3,3 +3,9 @@
[XMLHttpRequest: setRequestHeader() value argument checks 2]
expected: FAIL
[XMLHttpRequest: setRequestHeader() value argument checks 3]
expected: FAIL
[XMLHttpRequest: setRequestHeader() value argument checks 4]
expected: FAIL

View File

@ -0,0 +1,14 @@
[setrequestheader-content-type.htm]
type: testharness
[XMLHttpRequest: setRequestHeader() - Content-Type header ()]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - Content-Type header ( )]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - Content-Type header (null)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - Content-Type header (undefined)]
expected: FAIL

View File

@ -1,5 +0,0 @@
[object-src-param-code-blocked.sub.html]
type: testharness
[Violation report status OK.]
expected: FAIL

View File

@ -1,5 +0,0 @@
[object-src-param-movie-blocked.sub.html]
type: testharness
[Violation report status OK.]
expected: FAIL

View File

@ -1,5 +0,0 @@
[object-src-param-src-blocked.sub.html]
type: testharness
[Violation report status OK.]
expected: FAIL

View File

@ -1,5 +0,0 @@
[object-src-param-url-blocked.sub.html]
type: testharness
[Violation report status OK.]
expected: FAIL

View File

@ -108,3 +108,30 @@
[Text.after() on a child without any parent.]
expected: FAIL
[Comment.after() with context object itself and node as the arguments, switching positions.]
expected: FAIL
[Comment.before() with some siblings of child as arguments; no changes in tree; viable sibling is first child.]
expected: FAIL
[Comment.after() with some siblings of child as arguments; no changes in tree.]
expected: FAIL
[Element.after() with context object itself and node as the arguments, switching positions.]
expected: FAIL
[Element.before() with some siblings of child as arguments; no changes in tree; viable sibling is first child.]
expected: FAIL
[Element.after() with some siblings of child as arguments; no changes in tree.]
expected: FAIL
[Text.after() with context object itself and node as the arguments, switching positions.]
expected: FAIL
[Text.before() with some siblings of child as arguments; no changes in tree; viable sibling is first child.]
expected: FAIL
[Text.after() with some siblings of child as arguments; no changes in tree.]
expected: FAIL

View File

@ -108,3 +108,30 @@
[Text.before() on a child without any parent.]
expected: FAIL
[Comment.before() with context object itself and node as the arguments, switching positions.]
expected: FAIL
[Comment.before() with some siblings of child as arguments; no changes in tree; viable sibling is first child.]
expected: FAIL
[Comment.before() with some siblings of child as arguments; no changes in tree.]
expected: FAIL
[Element.before() with context object itself and node as the arguments, switching positions.]
expected: FAIL
[Element.before() with some siblings of child as arguments; no changes in tree; viable sibling is first child.]
expected: FAIL
[Element.before() with some siblings of child as arguments; no changes in tree.]
expected: FAIL
[Text.before() with context object itself and node as the arguments, switching positions.]
expected: FAIL
[Text.before() with some siblings of child as arguments; no changes in tree; viable sibling is first child.]
expected: FAIL
[Text.before() with some siblings of child as arguments; no changes in tree.]
expected: FAIL

View File

@ -0,0 +1,8 @@
[Node-cloneNode.html]
type: testharness
[Node.cloneNode]
expected: FAIL
[implementation.createHTMLDocument]
expected: FAIL

View File

@ -0,0 +1,8 @@
[Range-deleteContents.html]
type: testharness
[Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4\]]
expected: FAIL
[Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4\]]
expected: FAIL

View File

@ -0,0 +1,11 @@
[Range-extractContents.html]
type: testharness
[Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4\]]
expected: FAIL
[Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4\]]
expected: FAIL
[Returned fragment for range 37 [processingInstruction, 0, processingInstruction, 4\]]
expected: FAIL

View File

@ -0,0 +1,482 @@
[Range-insertNode.html]
type: testharness
[0,0: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node paras[0\]]
expected: FAIL
[0,0: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node paras[0\]]
expected: FAIL
[0,1: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node paras[0\].firstChild]
expected: FAIL
[0,7: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node document]
expected: FAIL
[0,7: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node document]
expected: FAIL
[0,9: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoc]
expected: FAIL
[0,9: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoc]
expected: FAIL
[0,11: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node xmlDoc]
expected: FAIL
[0,11: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node xmlDoc]
expected: FAIL
[0,20: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node doctype]
expected: FAIL
[0,20: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node doctype]
expected: FAIL
[0,21: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoctype]
expected: FAIL
[0,21: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoctype]
expected: FAIL
[1,0: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node paras[0\]]
expected: FAIL
[1,0: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node paras[0\]]
expected: FAIL
[1,7: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node document]
expected: FAIL
[1,7: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node document]
expected: FAIL
[1,9: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoc]
expected: FAIL
[1,9: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoc]
expected: FAIL
[1,11: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node xmlDoc]
expected: FAIL
[1,11: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node xmlDoc]
expected: FAIL
[1,20: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node doctype]
expected: FAIL
[1,20: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node doctype]
expected: FAIL
[1,21: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoctype]
expected: FAIL
[1,21: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoctype]
expected: FAIL
[2,0: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[0\]]
expected: FAIL
[2,0: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[0\]]
expected: FAIL
[2,7: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node document]
expected: FAIL
[2,7: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node document]
expected: FAIL
[2,9: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoc]
expected: FAIL
[2,9: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoc]
expected: FAIL
[2,11: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node xmlDoc]
expected: FAIL
[2,11: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node xmlDoc]
expected: FAIL
[2,20: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node doctype]
expected: FAIL
[2,20: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node doctype]
expected: FAIL
[2,21: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoctype]
expected: FAIL
[2,21: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoctype]
expected: FAIL
[3,0: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[0\]]
expected: FAIL
[3,0: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[0\]]
expected: FAIL
[3,7: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node document]
expected: FAIL
[3,7: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node document]
expected: FAIL
[3,9: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoc]
expected: FAIL
[3,9: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoc]
expected: FAIL
[3,11: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node xmlDoc]
expected: FAIL
[3,11: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node xmlDoc]
expected: FAIL
[3,20: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node doctype]
expected: FAIL
[3,20: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node doctype]
expected: FAIL
[3,21: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoctype]
expected: FAIL
[3,21: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoctype]
expected: FAIL
[4,2: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node paras[1\].firstChild]
expected: FAIL
[4,7: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node document]
expected: FAIL
[4,7: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node document]
expected: FAIL
[4,9: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc]
expected: FAIL
[4,9: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc]
expected: FAIL
[4,11: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc]
expected: FAIL
[4,11: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc]
expected: FAIL
[4,20: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node doctype]
expected: FAIL
[4,20: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node doctype]
expected: FAIL
[4,21: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype]
expected: FAIL
[4,21: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype]
expected: FAIL
[5,7: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node document]
expected: FAIL
[5,7: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node document]
expected: FAIL
[5,9: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoc]
expected: FAIL
[5,9: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoc]
expected: FAIL
[5,11: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node xmlDoc]
expected: FAIL
[5,11: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node xmlDoc]
expected: FAIL
[5,20: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node doctype]
expected: FAIL
[5,20: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node doctype]
expected: FAIL
[5,21: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoctype]
expected: FAIL
[5,21: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoctype]
expected: FAIL
[6,5: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedPara1]
expected: FAIL
[6,5: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedPara1]
expected: FAIL
[6,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedPara1.firstChild]
expected: FAIL
[6,7: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node document]
expected: FAIL
[6,7: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node document]
expected: FAIL
[6,8: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedDiv]
expected: FAIL
[6,8: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedDiv]
expected: FAIL
[6,9: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoc]
expected: FAIL
[6,9: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoc]
expected: FAIL
[6,11: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node xmlDoc]
expected: FAIL
[6,11: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node xmlDoc]
expected: FAIL
[6,20: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node doctype]
expected: FAIL
[6,20: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node doctype]
expected: FAIL
[6,21: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoctype]
expected: FAIL
[6,21: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoctype]
expected: FAIL
[7,5: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedPara1]
expected: FAIL
[7,5: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedPara1]
expected: FAIL
[7,7: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node document]
expected: FAIL
[7,7: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node document]
expected: FAIL
[7,8: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedDiv]
expected: FAIL
[7,8: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedDiv]
expected: FAIL
[7,9: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoc]
expected: FAIL
[7,9: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoc]
expected: FAIL
[7,11: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node xmlDoc]
expected: FAIL
[7,11: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node xmlDoc]
expected: FAIL
[7,20: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node doctype]
expected: FAIL
[7,20: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node doctype]
expected: FAIL
[7,21: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoctype]
expected: FAIL
[7,21: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoctype]
expected: FAIL
[8,3: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignPara1]
expected: FAIL
[8,3: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignPara1]
expected: FAIL
[8,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignPara1.firstChild]
expected: FAIL
[8,7: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node document]
expected: FAIL
[8,7: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node document]
expected: FAIL
[8,9: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoc]
expected: FAIL
[8,9: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoc]
expected: FAIL
[8,11: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node xmlDoc]
expected: FAIL
[8,11: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node xmlDoc]
expected: FAIL
[8,20: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node doctype]
expected: FAIL
[8,20: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node doctype]
expected: FAIL
[8,21: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoctype]
expected: FAIL
[8,21: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoctype]
expected: FAIL
[9,3: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara1]
expected: FAIL
[9,3: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara1]
expected: FAIL
[9,7: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node document]
expected: FAIL
[9,7: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node document]
expected: FAIL
[9,9: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoc]
expected: FAIL
[9,9: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoc]
expected: FAIL
[9,11: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node xmlDoc]
expected: FAIL
[9,11: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node xmlDoc]
expected: FAIL
[9,20: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node doctype]
expected: FAIL
[9,20: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node doctype]
expected: FAIL
[9,21: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoctype]
expected: FAIL
[9,21: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoctype]
expected: FAIL
[18,0: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node paras[0\]]
expected: FAIL
[18,0: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node paras[0\]]
expected: FAIL
[18,7: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node document]
expected: FAIL
[18,7: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node document]
expected: FAIL
[18,9: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc]
expected: FAIL
[18,9: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc]
expected: FAIL
[18,11: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc]
expected: FAIL
[18,11: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc]
expected: FAIL
[18,20: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node doctype]
expected: FAIL
[18,20: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node doctype]
expected: FAIL
[18,21: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype]
expected: FAIL
[18,21: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype]
expected: FAIL
[19,0: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node paras[0\]]
expected: FAIL
[19,0: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node paras[0\]]
expected: FAIL
[19,7: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node document]
expected: FAIL
[19,7: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node document]
expected: FAIL
[19,9: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoc]
expected: FAIL
[19,9: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoc]
expected: FAIL
[19,11: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node xmlDoc]
expected: FAIL
[19,11: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node xmlDoc]
expected: FAIL
[19,20: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node doctype]
expected: FAIL
[19,20: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node doctype]
expected: FAIL
[19,21: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoctype]
expected: FAIL
[19,21: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoctype]
expected: FAIL
[20,0: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node paras[0\]]
expected: FAIL
[20,0: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node paras[0\]]
expected: FAIL
[20,7: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node document]
expected: FAIL
[20,7: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node document]
expected: FAIL
[20,9: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoc]
expected: FAIL
[20,9: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoc]
expected: FAIL
[20,11: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node xmlDoc]
expected: FAIL
[20,11: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node xmlDoc]
expected: FAIL
[20,20: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node doctype]
expected: FAIL
[20,20: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node doctype]
expected: FAIL
[20,21: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoctype]
expected: FAIL
[20,21: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoctype]
expected: FAIL

View File

@ -0,0 +1,128 @@
[Range-surroundContents.html]
type: testharness
[0,1: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node paras[0\].firstChild]
expected: FAIL
[1,1: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node paras[0\].firstChild]
expected: FAIL
[2,1: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[0\].firstChild]
expected: FAIL
[3,1: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[0\].firstChild]
expected: FAIL
[4,2: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node paras[1\].firstChild]
expected: FAIL
[5,2: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node paras[1\].firstChild]
expected: FAIL
[6,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedPara1.firstChild]
expected: FAIL
[7,6: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedPara1.firstChild]
expected: FAIL
[8,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignPara1.firstChild]
expected: FAIL
[9,4: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara1.firstChild]
expected: FAIL
[37,0: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\]]
expected: FAIL
[37,0: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\]]
expected: FAIL
[37,1: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\].firstChild]
expected: FAIL
[37,1: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\].firstChild]
expected: FAIL
[37,2: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node paras[1\].firstChild]
expected: FAIL
[37,2: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node paras[1\].firstChild]
expected: FAIL
[37,3: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1]
expected: FAIL
[37,3: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1]
expected: FAIL
[37,4: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1.firstChild]
expected: FAIL
[37,4: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1.firstChild]
expected: FAIL
[37,5: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1]
expected: FAIL
[37,5: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1]
expected: FAIL
[37,6: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1.firstChild]
expected: FAIL
[37,6: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1.firstChild]
expected: FAIL
[37,8: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedDiv]
expected: FAIL
[37,8: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedDiv]
expected: FAIL
[37,10: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara2]
expected: FAIL
[37,10: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara2]
expected: FAIL
[37,12: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node xmlElement]
expected: FAIL
[37,12: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node xmlElement]
expected: FAIL
[37,13: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedTextNode]
expected: FAIL
[37,13: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedTextNode]
expected: FAIL
[37,14: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignTextNode]
expected: FAIL
[37,14: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignTextNode]
expected: FAIL
[37,15: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node processingInstruction]
expected: FAIL
[37,15: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node processingInstruction]
expected: FAIL
[37,16: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedProcessingInstruction]
expected: FAIL
[37,16: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedProcessingInstruction]
expected: FAIL
[37,17: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node comment]
expected: FAIL
[37,17: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node comment]
expected: FAIL
[37,18: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedComment]
expected: FAIL
[37,18: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedComment]
expected: FAIL

View File

@ -0,0 +1,3 @@
[event.html]
type: testharness
expected: CRASH

View File

@ -0,0 +1,311 @@
[backcolor.html]
type: testharness
[[["backcolor","#00FFFF"\]\] "foo[\]bar" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<p>[foo</p> <p>bar\]</p>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<p>[foo<p><br><p>bar\]" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<b>foo[\]bar</b>" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<i>foo[\]bar</i>" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<span>foo</span>{}<span>bar</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo[bar\]baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo[bar\]baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: rgb(0, 255, 255)\\">foo[bar\]baz</p>" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: rgb(0, 255, 255)\\">foo[bar\]baz</p>" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: #00ffff\\">foo[bar\]baz</p>" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: #00ffff\\">foo[bar\]baz</p>" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo[bar\]baz</p>" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo[bar\]baz</p>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: #00ffff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: #00ffff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: #0ff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: #0ff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: rgb(0, 255, 255)\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=\\"background-color: rgb(0, 255, 255)\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</span>" compare innerHTML]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</p>" compare innerHTML]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</p>" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</p>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=\\"display: block; background-color: aqua\\"><span style=\\"display: block; background-color: tan\\">b[ar\]</span></span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=\\"display: block; background-color: aqua\\"><span style=\\"display: block; background-color: tan\\">b[ar\]</span></span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=\\"display: block; background-color: aqua\\"><span style=\\"display: block; background-color: tan\\">b[ar\]</span></span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>bar</span>b\]az" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>bar</span>b\]az" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>\]baz" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>\]baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>\]baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "foo[<span style=background-color:tan>bar</span>\]baz" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "foo[<span style=background-color:tan>bar</span>\]baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>[bar\]</span>baz" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "foo<span style=background-color:tan>[bar\]</span>baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "foo{<span style=background-color:tan>bar</span>}baz" queryCommandValue("backcolor") before]
expected: FAIL
[[["backcolor","#00FFFF"\]\] "foo{<span style=background-color:tan>bar</span>}baz" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandIndeterm("backcolor") before]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:tan>b\]ar</span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:tan>b\]ar</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:tan>b\]ar</span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o<span style=background-color:transparent>b\]ar</span></span>" queryCommandValue("backcolor") before]
expected: FAIL
[[["stylewithcss","true"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o<span style=background-color:transparent>b\]ar</span></span>" queryCommandValue("backcolor") after]
expected: FAIL
[[["stylewithcss","false"\],["backcolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o<span style=background-color:transparent>b\]ar</span></span>" queryCommandValue("backcolor") after]
expected: FAIL

View File

@ -0,0 +1,494 @@
[bold.html]
type: testharness
[[["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
[[["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: 100\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 100\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 100\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 100\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" queryCommandState("bold") after]
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","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar</span>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar</span>\]baz" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar</span>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">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",""\]\] "<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",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" queryCommandState("bold") after]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" queryCommandState("bold") after]
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 style=\\"font-weight: normal\\"><b>{bar}</b></span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: normal\\"><b>{bar}</b></span>baz" 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]
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

View File

@ -0,0 +1,38 @@
[createlink.html]
type: testharness
[[["createlink","http://www.google.com/"\]\] "[foo\]<a href=http://www.google.com/>bar</a>baz" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "foo<a href=http://www.google.com/>bar</a>[baz\]" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "foo<a href=http://www.google.com/>[bar</a>baz\]" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "<a href=otherurl>foo[bar\]baz</a>" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "<a href=otherurl>foo[barbaz</a>}" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "{<a href=otherurl>foobar\]baz</a>" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "foo<a href=otherurl>[bar</a>baz\]" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "<a href=otherurl><b>foo[bar\]baz</b></a>" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "<a href=otherurl><b>foo[barbaz</b></a>}" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "{<a href=otherurl><b>foobar\]baz</b></a>" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "<a name=abc>foo[bar\]baz</a>" compare innerHTML]
expected: FAIL
[[["createlink","http://www.google.com/"\]\] "<a name=abc><b>foo[bar\]baz</b></a>" compare innerHTML]
expected: FAIL

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,242 @@
[fontname.html]
type: testharness
[[["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

View File

@ -0,0 +1,686 @@
[fontsize.html]
type: testharness
[[["fontsize","4"\]\] "foo[\]bar" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p> <p>bar\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p> <p>bar\]</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo</p> <p>bar\]</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandIndeterm("fontsize") after]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandIndeterm("fontsize") after]
expected: FAIL
[[["fontsize","4"\]\] "<b>foo[\]bar</b>" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<i>foo[\]bar</i>" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<span>foo</span>{}<span>bar</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("fontsize") after]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<b>baz\]qoz</b>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<i>baz\]qoz</i>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "{<p><p> <p>foo</p>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","0"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","-5"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","-5"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","-5"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","6"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","6"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","6"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","7"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","7"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","8"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","8"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","100"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","100"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","2em"\]\] "foo[bar\]baz": execCommand("fontsize", false, "2em") return value]
expected: FAIL
[[["fontsize","2em"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["fontsize","2em"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","2em"\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
expected: FAIL
[[["fontsize","20pt"\]\] "foo[bar\]baz": execCommand("fontsize", false, "20pt") return value]
expected: FAIL
[[["fontsize","20pt"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["fontsize","20pt"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","20pt"\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
expected: FAIL
[[["fontsize","xx-large"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","xx-large"\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
expected: FAIL
[[["stylewithcss","true"\],["fontsize"," 1 "\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize"," 1 "\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize"," 1 "\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","1."\]\] "foo[bar\]baz": execCommand("fontsize", false, "1.") return value]
expected: FAIL
[[["fontsize","1."\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["fontsize","1."\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","1."\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.0"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","1.0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.0e2"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.0e2"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","1.0e2"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.1"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","1.1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.9"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","1.9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","1.9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","+0"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["fontsize","+0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","+1"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","+1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","+1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","+9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","+9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","-0"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["fontsize","-0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","-1"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","-1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","-1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","-9"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","-9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","-9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize",""\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize",""\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=1>[bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=1>foo[bar\]baz</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=3>[bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=3>foo[bar\]baz</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=4>[bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=+1>[bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=+1>[bar\]</font>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<font size=+1>[bar\]</font>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<font size=+1>foo[bar\]baz</font>" compare innerHTML]
expected: FAIL
[[["fontsize","4"\]\] "<font size=+1>foo[bar\]baz</font>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=4>foo<font size=1>b[a\]r</font>baz</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=4>foo<font size=1>b[a\]r</font>baz</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: xx-small\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: xx-small\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: xx-small\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: medium\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: medium\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: medium\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: 2em\\">foo[bar\]baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: 2em\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: 2em\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["fontsize","4"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["fontsize","3"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["fontsize","3"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>b[a\]r</big>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>b[a\]r</big>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "foo<big>b[a\]r</big>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>b[a\]r</small>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>b[a\]r</small>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","3"\]\] "foo<small>b[a\]r</small>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>b\]ar</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>b\]ar</font>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "fo[o<font size=2>b\]ar</font>baz" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=2>ba[r</font>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>bar</font>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>bar</font>b\]az" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "fo[o<font size=2>bar</font>b\]az" queryCommandValue("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[<font size=2>b\]ar</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=2>ba[r</font>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo[<font size=2>bar</font>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=2>[bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "foo{<font size=2>bar</font>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=1>fo[o</font><span style=font-size:xx-small>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=2>fo[o</font><span style=font-size:small>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=2>fo[o</font><span style=font-size:small>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=2>fo[o</font><span style=font-size:small>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=3>fo[o</font><span style=font-size:medium>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=3>fo[o</font><span style=font-size:medium>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=3>fo[o</font><span style=font-size:medium>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["fontsize","4"\]\] "<font size=4>fo[o</font><span style=font-size:large>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["fontsize","4"\]\] "<font size=4>fo[o</font><span style=font-size:large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=5>fo[o</font><span style=font-size:x-large>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=5>fo[o</font><span style=font-size:x-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=5>fo[o</font><span style=font-size:x-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=6>fo[o</font><span style=font-size:xx-large>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=6>fo[o</font><span style=font-size:xx-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL
[[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=6>fo[o</font><span style=font-size:xx-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
expected: FAIL

View File

@ -0,0 +1,293 @@
[forecolor.html]
type: testharness
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<p>[foo</p> <p>bar\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","#0000FF"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","#0000FF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
expected: FAIL
[[["forecolor","#0000FF"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo[bar<b>baz\]qoz</b>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo[bar<i>baz\]qoz</i>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "{<p><p> <p>foo</p>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","blue"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","f"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","f"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["forecolor","#f"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","#f"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","00f"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","00f"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","00f"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","00f"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#00f"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","0000ff"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","0000ff"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","0000ff"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","000000fff"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","000000fff"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["forecolor","#000000fff"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","#000000fff"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb(0, 0, 255)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb(0, 0, 255)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb(0%, 0%, 100%)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb(0%, 0%, 100%)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb( 0 ,0 ,255)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb( 0 ,0 ,255)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","rgba(0, 0, 255, 0.0)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgba(0, 0, 255, 0.0)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgba(0, 0, 255, 0.0)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb(15, -10, 375)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgb(15, -10, 375)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["forecolor","rgba(0, 0, 0, 1)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","rgba(0, 0, 0, 1)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgba(255, 255, 255, 1)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgba(255, 255, 255, 1)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgba(0, 0, 255, 0.5)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","rgba(0, 0, 255, 0.5)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","hsl(240, 100%, 50%)"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","hsl(240, 100%, 50%)"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","cornsilk"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","potato quiche"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","potato quiche"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","transparent"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","currentColor"\]\] "foo[bar\]baz": execCommand("forecolor", false, "currentColor") return value]
expected: FAIL
[[["forecolor","currentColor"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["forecolor","currentColor"\]\] "foo[bar\]baz" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo<font color=blue>[bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo{<font color=blue>bar</font>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgb(0, 0, 255)\\">foo<span style=\\"color: brown\\">b[ar\]</span>baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgb(0, 0, 255)\\">foo<span style=\\"color: brown\\">b[ar\]</span>baz</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo<span id=purple>ba[r</span>ba\]z" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgb(0, 0, 255)\\">foo<span id=purple>b[a\]r</span>baz</span>" compare innerHTML]
expected: FAIL
[[["forecolor","rgb(0,0,255)"\]\] "<a href=http://www.google.com>foo[bar\]baz</a>" compare innerHTML]
expected: FAIL
[[["forecolor","rgb(0,0,255)"\]\] "<a href=http://www.google.com>foo[bar\]baz</a>" queryCommandValue("forecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<font color=\\"blue\\">[foo\]</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<font color=\\"0000ff\\">[foo\]</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<font color=\\"#0000ff\\">[foo\]</font>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: blue\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: #0000ff\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgb(0, 0, 255)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgb(0%, 0%, 100%)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgb( 0 ,0 ,255)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgba(0, 0, 255, 0.0)\\">[foo\]</span>" queryCommandValue("forecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgba(0, 0, 255, 0.0)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgba(0, 0, 255, 0.0)\\">[foo\]</span>" queryCommandValue("forecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgb(15, -10, 375)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgba(0, 0, 0, 1)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgba(255, 255, 255, 1)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: rgba(0, 0, 255, 0.5)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: hsl(240, 100%, 50%)\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: cornsilk\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: transparent\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=\\"color: currentColor\\">[foo\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "fo[o<font color=brown>b\]ar</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo<font color=brown>ba[r</font>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "fo[o<font color=brown>bar</font>b\]az" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo[<font color=brown>b\]ar</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo<font color=brown>ba[r</font>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo[<font color=brown>bar</font>\]baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo<font color=brown>[bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "foo{<font color=brown>bar</font>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<font color=brown>fo[o</font><span style=color:brown>b\]ar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["forecolor","#0000FF"\]\] "<span style=color:brown>fo[o</span><span style=color:#0000ff>b\]ar</span>" compare innerHTML]
expected: FAIL

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,335 @@
[hilitecolor.html]
type: testharness
[[["hilitecolor","#00FFFF"\]\] "foo[\]bar" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<p>[foo</p> <p>bar\]</p>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<p>[foo<p><br><p>bar\]" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<b>foo[\]bar</b>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<i>foo[\]bar</i>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<span>foo</span>{}<span>bar</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo[bar\]baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo[bar\]baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: rgb(0, 255, 255)\\">foo[bar\]baz</p>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: rgb(0, 255, 255)\\">foo[bar\]baz</p>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: #00ffff\\">foo[bar\]baz</p>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: #00ffff\\">foo[bar\]baz</p>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo[bar\]baz</p>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo[bar\]baz</p>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "{<p style=\\"background-color: aqua\\">foo</p><p>bar</p>}" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: #00ffff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: #00ffff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: #0ff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: #0ff\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: rgb(0, 255, 255)\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: rgb(0, 255, 255)\\">foo<span style=\\"background-color: tan\\">[bar\]</span>baz</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</span>" compare innerHTML]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<span style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</p>" compare innerHTML]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</p>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "<p style=\\"background-color: aqua\\">foo<span style=\\"background-color: tan\\">b[ar\]</span>baz</p>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<div style=\\"background-color: aqua\\"><p style=\\"background-color: tan\\">b[ar\]</p></div>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"display: block; background-color: aqua\\"><span style=\\"display: block; background-color: tan\\">b[ar\]</span></span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"display: block; background-color: aqua\\"><span style=\\"display: block; background-color: tan\\">b[ar\]</span></span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=\\"display: block; background-color: aqua\\"><span style=\\"display: block; background-color: tan\\">b[ar\]</span></span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>b\]az" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>bar</span>b\]az" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "fo[o<span style=background-color:tan>bar</span>b\]az" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo[<span style=background-color:tan>b\]ar</span>baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>\]baz" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>\]baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>ba[r</span>\]baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "foo[<span style=background-color:tan>bar</span>\]baz" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "foo[<span style=background-color:tan>bar</span>\]baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>[bar\]</span>baz" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "foo<span style=background-color:tan>[bar\]</span>baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "foo{<span style=background-color:tan>bar</span>}baz" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["hilitecolor","#00FFFF"\]\] "foo{<span style=background-color:tan>bar</span>}baz" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandIndeterm("hilitecolor") before]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b\]ar</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:tan>b\]ar</span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:tan>b\]ar</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o</span><span style=background-color:tan>b\]ar</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o<span style=background-color:transparent>b\]ar</span></span>" queryCommandValue("hilitecolor") before]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o<span style=background-color:transparent>b\]ar</span></span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=background-color:tan>fo[o<span style=background-color:transparent>b\]ar</span></span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<font size=6>[foo\]</font>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=font-size:xx-large>[foo\]</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<font size=6>foo[bar\]baz</font>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<font size=6>foo[bar\]baz</font>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","true"\],["hilitecolor","#00FFFF"\]\] "<span style=font-size:xx-large>foo[bar\]baz</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "<span style=font-size:xx-large>foo[bar\]baz</span>" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "[foo<font size=6>bar</font>baz\]" queryCommandValue("hilitecolor") after]
expected: FAIL
[[["stylewithcss","false"\],["hilitecolor","#00FFFF"\]\] "[foo<span style=font-size:xx-large>bar</span>baz\]" queryCommandValue("hilitecolor") after]
expected: FAIL

View File

@ -0,0 +1,158 @@
[indent.html]
type: testharness
[[["indent",""\]\] "{<p><p> <p>foo</p>}<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<p>foo<br>{}</p><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<span>foo<br>{}</span>bar<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<p>foo</p>{}<p>bar</p>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "foo[bar\]<br>baz<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "foo[bar\]<br><br><br><br>baz<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "foobar<br>[ba\]z<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<p>[foo\]<blockquote><p>bar</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<p>foo<blockquote><p>bar</blockquote><p>[baz\]<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<blockquote><p>foo</blockquote><p>[bar\]<blockquote><p>baz</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<blockquote>foo[bar\]<br>baz</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "[foo\]<blockquote>bar</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "foo<blockquote>bar</blockquote>[baz\]<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<blockquote>foo</blockquote>[bar\]<blockquote>baz</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<p>[foo\]<blockquote style=\\"margin-right: 0\\" dir=\\"ltr\\"><p>bar</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<p>foo<blockquote style=\\"margin-right: 0\\" dir=\\"ltr\\"><p>bar</blockquote><p>[baz\]<p>extra" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["indent",""\]\] "<blockquote style=\\"margin-right: 0\\" dir=\\"ltr\\"><p>foo</blockquote><p>[bar\]<blockquote style=\\"margin-right: 0\\" dir=\\"ltr\\"><p>baz</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["indent",""\]\] "<blockquote style=\\"margin-right: 0\\" dir=\\"ltr\\"><p>foo</blockquote><p>[bar\]<blockquote style=\\"margin-right: 0\\" dir=\\"ltr\\"><p>baz</blockquote><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>[bar\]<li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>bar<li>[baz\]</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>b[a\]r</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo{<ol><li>bar</ol>}<li>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>[foo\]<ol><li>bar</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<li>[bar\]<ol><li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz\]</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><ol id=u1><li id=i1>foo</ol><li id=i2>[bar\]</li><ol id=u3><li id=i3>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><ol><li id=i1>foo</ol><li id=i2>[bar\]</li><ol id=u3><li id=i3>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><ol id=u1><li id=i1>foo</ol><li id=i2>[bar\]</li><ol><li id=i3>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>[foo<ol><li>bar\]</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>[foo</li><ol><li>bar\]</ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>b[ar</ol><li>b\]az</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>[foo<ol><li>bar</ol><li>baz\]</ol><p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>[bar\]</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>bar</ol>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "foo<!--bar-->[baz\]<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "[foo\]<!--bar-->baz<p>extra" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<blockquote><p>foo</blockquote> <p>[bar\]" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<p>[foo\]</p> <blockquote><p>bar</blockquote>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<blockquote><p>foo</blockquote> <p>[bar\]</p> <blockquote><p>baz</blockquote>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo</li><ol><li>bar</li></ol> <li>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo</li><ol><li>bar</li> </ol> <li>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>bar</li> </ol></li><li>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>bar</li></ol></li> <li>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<ol><li>bar</li> </ol></li> <li>[baz\]</ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<li>[bar\]</li> <ol><li>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<li>[bar\]</li> <ol> <li>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<li>[bar\] <ol><li>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<li>[bar\]<ol> <li>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ol><li>foo<li>[bar\] <ol> <li>baz</ol></ol>" compare innerHTML]
expected: FAIL
[[["indent",""\]\] "<ul><li>a<br>{<br>}</li><li>b</li></ul>" compare innerHTML]
expected: FAIL

View File

@ -0,0 +1,164 @@
[inserthorizontalrule.html]
type: testharness
[[["inserthorizontalrule",""\]\] "<span>foo[</span><span>\]bar</span>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserthorizontalrule",""\]\] "<b id=abc>foo[\]bar</b>" compare innerHTML]
expected: FAIL
[[["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
[[["inserthorizontalrule",""\]\] "<bdi>foo[bar\]baz</bdi>" compare innerHTML]
expected: FAIL
[[["inserthorizontalrule",""\]\] "<table><caption>foo[bar\]baz</caption><tr><td>quz</table>": execCommand("inserthorizontalrule", false, "") return value]
expected: FAIL
[[["inserthorizontalrule",""\]\] "<table><caption>foo[bar\]baz</caption><tr><td>quz</table>" compare innerHTML]
expected: FAIL
[[["inserthorizontalrule",""\]\] "<dl><dt>foo[bar\]baz</dt></dl>" compare innerHTML]
expected: FAIL
[[["inserthorizontalrule",""\]\] "<blink>foo[bar\]baz</blink>" compare innerHTML]
expected: FAIL
[[["inserthorizontalrule",""\]\] "fo[o<span contenteditable=false>bar</span>b\]az" compare innerHTML]
expected: FAIL

View File

@ -0,0 +1,383 @@
[inserthtml.html]
type: testharness
[[["stylewithcss","true"\],["inserthtml","ab<b>c</b>d"\]\] "[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserthtml","ab<b>c</b>d"\]\] "[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserthtml","ab<b>c</b>d"\]\] "{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserthtml","ab<b>c</b>d"\]\] "{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserthtml","ab<b>c</b>d"\]\] "foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserthtml","ab<b>c</b>d"\]\] "foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserthtml","<b>"\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["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
[[["stylewithcss","true"\],["inserthtml","<b>abc</b>"\]\] "<xmp>f[o\]o</xmp>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserthtml","<b>abc</b>"\]\] "<xmp>f[o\]o</xmp>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserthtml","<b>abc</b>"\]\] "<script>f[o\]o</script>bar" compare innerHTML]
expected: FAIL
[[["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
[[["inserthtml","<dt>abc</dt>"\]\] "f[o\]o" compare innerHTML]
expected: FAIL
[[["inserthtml","<dt>abc</dt>"\]\] "<ol><li>f[o\]o</ol>" compare innerHTML]
expected: FAIL
[[["inserthtml","<dd>abc</dd>"\]\] "f[o\]o" compare innerHTML]
expected: FAIL
[[["inserthtml","<dd>abc</dd>"\]\] "<ol><li>f[o\]o</ol>" compare innerHTML]
expected: FAIL
[[["inserthtml","<ol><li>abc</ol>"\]\] "<dir><li>f[o\]o</dir>" compare innerHTML]
expected: FAIL
[[["inserthtml","<ol><li>abc</ol>"\]\] "<ol><li>f[o\]o</ol>" compare innerHTML]
expected: FAIL
[[["inserthtml","<ol><li>abc</ol>"\]\] "<ul><li>f[o\]o</ul>" compare innerHTML]
expected: FAIL
[[["inserthtml","<ul><li>abc</ul>"\]\] "<dir><li>f[o\]o</dir>" compare innerHTML]
expected: FAIL
[[["inserthtml","<ul><li>abc</ul>"\]\] "<ol><li>f[o\]o</ol>" compare innerHTML]
expected: FAIL
[[["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
[[["stylewithcss","true"\],["inserthtml","<span style=display:none></span>"\]\] "<p>[foo\]</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserthtml","<span style=display:none></span>"\]\] "<p>[foo\]</p>" compare innerHTML]
expected: FAIL
[[["inserthtml","<!--abc-->"\]\] "<p>[foo\]</p>" compare innerHTML]
expected: FAIL
[[["inserthtml","<!--abc-->"\]\] "<p>{}<br></p>" compare innerHTML]
expected: FAIL
[[["inserthtml","abc"\]\] "<p><!--foo-->{}<span><br></span><!--bar--></p>" compare innerHTML]
expected: FAIL
[[["inserthtml","<!--abc-->"\]\] "<p><!--foo-->{}<span><br></span><!--bar--></p>" compare innerHTML]
expected: FAIL
[[["inserthtml","abc"\]\] "<p>{}<span><!--foo--><br><!--bar--></span></p>" compare innerHTML]
expected: FAIL
[[["inserthtml","<!--abc-->"\]\] "<p>{}<span><!--foo--><br><!--bar--></span></p>" compare innerHTML]
expected: FAIL
[[["inserthtml","<!--abc-->"\]\] "<p><br>{}</p>" compare innerHTML]
expected: FAIL
[[["inserthtml","<!--abc-->"\]\] "<p><!--foo--><span><br></span>{}<!--bar--></p>" compare innerHTML]
expected: FAIL
[[["inserthtml","<!--abc-->"\]\] "<p><span><!--foo--><br><!--bar--></span>{}</p>" compare innerHTML]
expected: FAIL

View File

@ -0,0 +1,371 @@
[insertimage.html]
type: testharness
[[["insertimage","/img/lion.svg"\]\] "foo{<span style=color:#aBcDeF>bar</span>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["insertimage","/img/lion.svg"\]\] "[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["insertimage","/img/lion.svg"\]\] "[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["insertimage","/img/lion.svg"\]\] "{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["insertimage","/img/lion.svg"\]\] "{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["insertimage","/img/lion.svg"\]\] "foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["insertimage","/img/lion.svg"\]\] "foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
expected: FAIL
[[["insertimage","/img/lion.svg"\]\] "foo{<b>bar</b>}baz" compare innerHTML]
expected: FAIL
[[["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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,929 @@
[insertorderedlist.html]
type: testharness
[[["insertorderedlist",""\]\] "foo<br>[bar\]" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "[foo<ul><li>bar\]</ul>baz" queryCommandIndeterm("insertorderedlist") before]
expected: FAIL
[[["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
[[["insertorderedlist",""\]\] "[foo\]<ol><li>bar</ol>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo</ol>[bar\]<ol><li>baz</ol>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><ol><li>[foo\]</ol></ol>" compare innerHTML]
expected: FAIL
[[["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
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li><div>[foo\]</div>bar<li>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo<ol><li>[bar\]<li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo<ol><li>[bar\]<li>baz</ol><li>quz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>[baz\]</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo<ol><li>bar<li>[baz\]</ol><li>quz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>[bar\]<li>baz</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>[bar\]<li>baz</ol><li>quz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo</li><ol><li>bar<li>[baz\]</ol><li>quz</ol>" compare innerHTML]
expected: FAIL
[[["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
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo\]<ol><li>bar</ol>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo<ol><li>[bar\]</ol>baz</ol>" compare innerHTML]
expected: FAIL
[[["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
[[["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>" queryCommandIndeterm("insertorderedlist") after]
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>" queryCommandIndeterm("insertorderedlist") before]
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>" queryCommandIndeterm("insertorderedlist") after]
expected: FAIL
[[["defaultparagraphseparator","p"\],["insertorderedlist",""\]\] "<ol><li>[foo<ol><li>bar\]</ol>baz</ol>" queryCommandState("insertorderedlist") after]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><ul><li>[foo\]</ul></ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>[foo\]<br>bar<li>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>foo<br>[bar\]<li>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li><div>[foo\]</div>bar<li>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>foo<ul><li>[bar\]<li>baz</ul><li>quz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>foo<ul><li>bar<li>[baz\]</ul><li>quz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>[foo\]<ul><li>bar</ul><li>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>foo<li>[bar\]<ul><li>baz</ul><li>quz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>[foo<ul><li>bar\]</ul><li>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>foo<ul><li>b[ar</ul><li>b\]az</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>[foo<ul><li>bar</ul><li>baz\]</ul><p>extra" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>[foo\]<ul><li>bar</ul>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>foo<ul><li>[bar\]</ul>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>foo<ul><li>bar</ul>[baz\]</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>[foo<ul><li>bar\]</ul>baz</ul>" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ul><li>[foo<ul><li>bar\]</ul>baz</ul>" queryCommandIndeterm("insertorderedlist") before]
expected: FAIL
[[["insertorderedlist",""\]\] "foo<ol><li>bar</ol><ul><li>[baz\]</ul>quz" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "foo<ol><li>bar</ol><ul><li>[baz</ul>quz\]" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "foo<ol><li>bar</ol><ul><li>[baz</ul>quz\]" queryCommandIndeterm("insertorderedlist") before]
expected: FAIL
[[["insertorderedlist",""\]\] "foo<ul><li>[bar\]</ul><ol><li>baz</ol>quz" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "[foo<ul><li>bar\]</ul><ol><li>baz</ol>quz" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "[foo<ul><li>bar\]</ul><ol><li>baz</ol>quz" queryCommandIndeterm("insertorderedlist") before]
expected: FAIL
[[["insertorderedlist",""\]\] "[foo<blockquote>bar\]</blockquote>baz" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "<ol><li>foo</ol><blockquote>[bar\]</blockquote>baz" compare innerHTML]
expected: FAIL
[[["insertorderedlist",""\]\] "[foo<blockquote>bar\]<br>baz</blockquote>" compare innerHTML]
expected: FAIL
[[["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
[[["stylewithcss","true"\],["insertorderedlist",""\]\] "<ul style=color:blue><li>foo<li>[bar\]<li>baz</ul>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["insertorderedlist",""\]\] "<ul style=color:blue><li>foo<li>[bar\]<li>baz</ul>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["insertorderedlist",""\]\] "<ul style=color:blue><li>[foo\]<li>bar<li>baz</ul>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["insertorderedlist",""\]\] "<ul style=color:blue><li>[foo\]<li>bar<li>baz</ul>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["insertorderedlist",""\]\] "<ul style=color:blue><li>foo<li>bar<li>[baz\]</ul>" compare innerHTML]
expected: FAIL
[[["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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,416 @@
[inserttext.html]
type: testharness
[[["inserttext",""\]\] "foo[bar\]baz": execCommand("inserttext", false, "") return value]
expected: FAIL
[[["inserttext",""\]\] "foo[bar\]baz" compare innerHTML]
expected: FAIL
[[["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
[[["inserttext"," "\]\] "foo&nbsp; [\]bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo&nbsp;&nbsp;[\]bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo[\]&nbsp;&nbsp;bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo [\]&nbsp; bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo [\]bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo{}" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo&nbsp;[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo&nbsp;{}" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo&nbsp;&nbsp;[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo&nbsp;&nbsp;{}" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "foo[\] " compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] " foo [\] " compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] " [\]foo" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] " [\] foo " compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<span> </span>[\]foo" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] " <span> </span>[\]foo" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "{}<br>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<p>{}<br>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<p>foo[\]<p>bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<p>foo&nbsp;[\]<p>bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<p>foo[\]<p>&nbsp;bar" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<div style=white-space:pre-line>foo[\]</div>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<div style=white-space:pre-line>foo&nbsp;[\]</div>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<div style=white-space:pre-line> foo [\] </div>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<div style=white-space:nowrap>foo[\]</div>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<div style=white-space:nowrap>foo&nbsp;[\]</div>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<div style=white-space:nowrap> foo [\] </div>" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "http://a[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "ftp://a[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "quasit://a[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] ".x-++-.://a[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "(http://a)[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "&lt;http://a>[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "http://a![\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "!\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~http://a!\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "http://a!\\"'(),-.:;&lt;>`[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "http://a#$%&amp;*+/=?^_|~[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "mailto:a[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "a@b[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "a@[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "@b[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "#@x[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "a@.[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "!\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~a@b!\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<b>a@b</b>{}" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "<b>a</b><i>@</i><u>b</u>{}" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "a@b<b>[\]c</b>" compare innerHTML]
expected: FAIL
[[["inserttext","\\t"\]\] "http://a[\]" compare innerHTML]
expected: FAIL
[[["inserttext","\\f"\]\] "http://a[\]" compare innerHTML]
expected: FAIL
[[["inserttext"," "\]\] "http://a[\]" compare innerHTML]
expected: FAIL
[[["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
[[["inserttext","a"\]\] "<p>{}<br>" compare innerHTML]
expected: FAIL
[[["inserttext","a"\]\] "<p><span>{}<br></span>" compare innerHTML]
expected: FAIL
[[["inserttext","a"\]\] "<p>foo{<span style=color:#aBcDeF>bar</span>}baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "<p>[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "<p>[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "<p>{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "<p>{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
expected: FAIL
[[["inserttext","a"\]\] "foo<font color=brown><a href=http://www.google.com>[bar\]</a></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<b>bar\]</b>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<b>bar\]</b>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<i>bar\]</i>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<i>bar\]</i>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<s>bar\]</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<s>bar\]</s>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<sub>bar\]</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<sub>bar\]</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<sup>bar\]</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<sup>bar\]</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<u>bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<u>bar\]</u>baz" compare innerHTML]
expected: FAIL
[[["inserttext","a"\]\] "[foo<a href=http://www.google.com>bar\]</a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<font face=sans-serif>bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<font face=sans-serif>bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<font size=4>bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<font size=4>bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<font color=#0000FF>bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<font color=#0000FF>bar\]</font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<span style=background-color:#00FFFF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<span style=background-color:#00FFFF>bar\]</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><font color=blue>bar\]</font></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><font color=blue>bar\]</font></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<font color=blue><a href=http://www.google.com>bar\]</a></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<font color=blue><a href=http://www.google.com>bar\]</a></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><font color=brown>bar\]</font></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><font color=brown>bar\]</font></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<font color=brown><a href=http://www.google.com>bar\]</a></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<font color=brown><a href=http://www.google.com>bar\]</a></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><font color=black>bar\]</font></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><font color=black>bar\]</font></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><u>bar\]</u></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<a href=http://www.google.com><u>bar\]</u></a>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<u><a href=http://www.google.com>bar\]</a></u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<u><a href=http://www.google.com>bar\]</a></u>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<sub><font size=2>bar\]</font></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<sub><font size=2>bar\]</font></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<font size=2><sub>bar\]</sub></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<font size=2><sub>bar\]</sub></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<sub><font size=3>bar\]</font></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<sub><font size=3>bar\]</font></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["inserttext","a"\]\] "[foo<font size=3><sub>bar\]</sub></font>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["inserttext","a"\]\] "[foo<font size=3><sub>bar\]</sub></font>baz" compare innerHTML]
expected: FAIL

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,320 @@
[italic.html]
type: testharness
[[["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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,80 @@
[misc.html]
type: testharness
[[["defaultparagraphseparator",""\]\] "foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before]
expected: FAIL
[[["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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,50 @@
[removeformat.html]
type: testharness
[[["stylewithcss","true"\],["removeformat",""\]\] "foo<b id=foo>b[a\]r</b>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["removeformat",""\]\] "foo<b id=foo>b[a\]r</b>baz" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "[foo<del>bar</del>baz\]" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "foo<del>b[a\]r</del>baz" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "[foo<nobr>bar</nobr>baz\]" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "foo<nobr>b[a\]r</nobr>baz" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "[foo<svg><circle fill=blue r=20 cx=20 cy=20 /></svg>bar\]" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "[foo<nonexistentelement>bar</nonexistentelement>baz\]" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "foo<nonexistentelement>b[a\]r</nonexistentelement>baz" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "[foo<nonexistentelement style=\\"display: block\\">bar</nonexistentelement>baz\]" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "foo<nonexistentelement style=\\"display: block\\">b[a\]r</nonexistentelement>baz" compare innerHTML]
expected: FAIL
[[["removeformat",""\]\] "foo<span id=foo>b[a\]r</span>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["removeformat",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["removeformat",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["removeformat",""\]\] "<b><p style=\\"font-weight: bold\\">foo[bar\]baz</p></b>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["removeformat",""\]\] "<b><p style=\\"font-weight: bold\\">foo[bar\]baz</p></b>" compare innerHTML]
expected: FAIL

View File

@ -0,0 +1,263 @@
[strikethrough.html]
type: testharness
[[["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

View File

@ -0,0 +1,185 @@
[subscript.html]
type: testharness
[[["subscript",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup>[bar\]</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup>[bar\]</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup>b[a\]r</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup>b[a\]r</sup>baz" compare innerHTML]
expected: FAIL
[[["subscript",""\]\] "foo<sub><sub>b[a\]r</sub></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sup>[bar\]</sup></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sup>[bar\]</sup></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sup>b[a\]r</sup></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sup>b[a\]r</sup></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup>b<sup>[a\]</sup>r</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup>b<sup>[a\]</sup>r</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","true"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("subscript") after]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandIndeterm("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("subscript") before]
expected: FAIL
[[["stylewithcss","false"\],["subscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("subscript") after]
expected: FAIL
[[["subscript",""\]\] "<sub>fo[o</sub><sup>b\]ar</sup>" compare innerHTML]
expected: FAIL

View File

@ -0,0 +1,191 @@
[superscript.html]
type: testharness
[[["superscript",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>[bar\]</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>[bar\]</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b[a\]r</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b[a\]r</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sub>[bar\]</sub></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sub>[bar\]</sub></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sub>b[a\]r</sub></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sub>b[a\]r</sub></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b<sub>[a\]</sub>r</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b<sub>[a\]</sub>r</sub>baz" compare innerHTML]
expected: FAIL
[[["superscript",""\]\] "foo<sup><sup>b[a\]r</sup></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("superscript") after]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandIndeterm("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("superscript") before]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("superscript") after]
expected: FAIL
[[["superscript",""\]\] "<sup>fo[o</sup><sub>b\]ar</sub>" compare innerHTML]
expected: FAIL
[[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>[bar\]<br></sup>" compare innerHTML]
expected: FAIL
[[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>[bar\]<br></sup>" compare innerHTML]
expected: FAIL

View File

@ -0,0 +1,128 @@
[underline.html]
type: testharness
[[["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]
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
[[["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

View File

@ -0,0 +1,32 @@
[unlink.html]
type: testharness
[[["unlink",""\]\] "<a href=http://www.google.com/>foo[bar\]baz</a>" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "<a href=http://www.google.com/>foo[barbaz</a>}" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "{<a href=http://www.google.com/>foobar\]baz</a>" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "foo<a href=http://www.google.com/>b[\]ar</a>baz" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "<a id=foo href=http://www.google.com/>foobar[\]baz</a>" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "<a id=foo href=http://www.google.com/>foo[bar\]baz</a>" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "<a id=foo href=http://www.google.com/>[foobarbaz\]</a>" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "foo<a id=foo href=http://www.google.com/>[bar\]</a>baz" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "foo[<a id=foo href=http://www.google.com/>bar</a>\]baz" compare innerHTML]
expected: FAIL
[[["unlink",""\]\] "[foo<a id=foo href=http://www.google.com/>bar</a>baz\]" compare innerHTML]
expected: FAIL

View File

@ -0,0 +1,3 @@
[location_assign.html]
type: testharness
expected: TIMEOUT

View File

@ -0,0 +1,5 @@
[Document.currentScript.html]
type: testharness
[Script script-window-error]
expected: FAIL

View File

@ -3,3 +3,9 @@
[createCaption method creates a new caption and inserts it as the first node of the table element]
expected: FAIL
[createCaption method creates new caption if existing caption is not in html namespace]
expected: FAIL
[createCaption will not copy table's prefix]
expected: FAIL

View File

@ -3,41 +3,61 @@
prefs: [media.mediasource.enabled:true]
[AudioTrack interface: attribute kind]
expected: FAIL
[AudioTrack interface: attribute language]
expected: FAIL
[AudioTrack interface: attribute sourceBuffer]
expected: FAIL
[VideoTrack interface: attribute kind]
expected: FAIL
[VideoTrack interface: attribute language]
expected: FAIL
[VideoTrack interface: attribute sourceBuffer]
expected: FAIL
[TextTrack interface: attribute kind]
expected: FAIL
[TextTrack interface: attribute language]
expected: FAIL
[TextTrack interface: attribute sourceBuffer]
expected: FAIL
[SourceBuffer interface: attribute audioTracks]
expected: FAIL
[SourceBuffer interface: attribute videoTracks]
expected: FAIL
[SourceBuffer interface: attribute textTracks]
expected: FAIL
[SourceBuffer interface: operation appendStream(Stream,unsigned long long)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "audioTracks" with the proper type (4)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "videoTracks" with the proper type (5)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "textTracks" with the proper type (6)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "appendStream" with the proper type (11)]
expected: FAIL
[SourceBuffer interface: calling appendStream(Stream,unsigned long long) on sourceBuffer with too few arguments must throw TypeError]
expected: FAIL
[VideoPlaybackQuality interface: attribute totalFrameDelay]
expected: FAIL
[VideoPlaybackQuality interface: video.getVideoPlaybackQuality() must inherit property "totalFrameDelay" with the proper type (4)]
expected: FAIL

View File

@ -10,3 +10,4 @@
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -7,7 +7,7 @@
[Muxed content with different lengths]
expected: FAIL
[Demuxed content with an empty buffered range on one SourceBuffer] # Bug 1192164
[Demuxed content with an empty buffered range on one SourceBuffer]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,4 +1,3 @@
[mediasource-getvideoplaybackquality.html]
type: testharness
prefs: [media.mediasource.enabled:true]

View File

@ -1,28 +1,28 @@
[mediasource-is-type-supported.html]
type: testharness
prefs: [media.mediasource.enabled:true]
[Test invalid MIME format "video/webm"] # Bug 1191833
[Test invalid MIME format "video/webm"]
expected: FAIL
[Test invalid MIME format "video/webm;"] # Bug 1191833
[Test invalid MIME format "video/webm;"]
expected: FAIL
[Test invalid MIME format "video/webm;codecs"] # Bug 1191833
[Test invalid MIME format "video/webm;codecs"]
expected: FAIL
[Test invalid MIME format "video/webm;codecs="] # Bug 1191833
[Test invalid MIME format "video/webm;codecs="]
expected: FAIL
[Test invalid MIME format "video/webm;codecs=""] # Bug 1191833
[Test invalid MIME format "video/webm;codecs=""]
expected: FAIL
[Test invalid MIME format "video/webm;codecs="""] # Bug 1191833
[Test invalid MIME format "video/webm;codecs="""]
expected: FAIL
[Test valid WebM type "AUDIO/WEBM;CODECS="vorbis""] # Bug 1191833
[Test valid WebM type "AUDIO/WEBM;CODECS="vorbis""]
expected: FAIL
[Test invalid mismatch between major type and codec ID "audio/webm;codecs="vp8""] # Bug 1191833
[Test invalid mismatch between major type and codec ID "audio/webm;codecs="vp8""]
expected: FAIL
[Test valid MP4 type "audio/mp4;codecs="mp4a.67""]

View File

@ -3,15 +3,16 @@
prefs: [media.mediasource.enabled:true]
[Test removing all appended data.]
expected:
if not (os == "linux" or ((os == "win") and (version == "5.1.2600"))): FAIL
if not ((os == "linux") or ((os == "win") and (version == "5.1.2600"))): FAIL
[Test removing beginning of appended data.]
expected:
if not (os == "linux" or ((os == "win") and (version == "5.1.2600"))): FAIL
if not ((os == "linux") or ((os == "win") and (version == "5.1.2600"))): FAIL
[Test removing the middle of appended data.]
expected:
if not (os == "linux" or ((os == "win") and (version == "5.1.2600"))): FAIL
if not ((os == "linux") or ((os == "win") and (version == "5.1.2600"))): FAIL
[Test removing the end of appended data.]
expected: FAIL

View File

@ -1,7 +1,8 @@
[mediasource-sourcebuffer-mode.html]
type: testharness
prefs: [media.mediasource.enabled:true]
[Test setting SourceBuffer.mode triggers parent MediaSource 'ended' to 'open' transition.] # Bug 1192165
[Test setting SourceBuffer.mode triggers parent MediaSource 'ended' to 'open' transition.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -0,0 +1,6 @@
[lock-bad-argument.html]
type: testharness
expected: ERROR
[Test that screen.orientation.lock() throws when the input isn't valid.]
expected: NOTRUN

View File

@ -0,0 +1,8 @@
[lock-basic.html]
type: testharness
[Test that screen.orientation.unlock() doesn't throw when there is no lock]
expected: FAIL
[Test that screen.orientation.lock returns a pending promise.]
expected: FAIL

View File

@ -0,0 +1,9 @@
[lock-sandboxed-iframe.html]
type: testharness
expected: TIMEOUT
[Test without 'allow-orientation-lock' sandboxing directive]
expected: NOTRUN
[Test with 'allow-orientation-lock' sandboxing directive]
expected: NOTRUN

View File

@ -0,0 +1,6 @@
[onchange-event-subframe.html]
type: testharness
expected: ERROR
[Test subframes receive orientation change events]
expected: NOTRUN

View File

@ -0,0 +1,9 @@
[onchange-event.html]
type: testharness
expected: ERROR
[Test that orientationchange event is fired when the orientation changes.]
expected: NOTRUN
[Test that orientationchange event is not fired when the orientation does not change.]
expected: NOTRUN

View File

@ -0,0 +1,11 @@
[orientation-api.html]
type: testharness
[Test that the Screen Orientation API is present.]
expected: FAIL
[Test Screen Orientation API property types.]
expected: FAIL
[Test that screen.orientation is an EventTarget.]
expected: FAIL

View File

@ -0,0 +1,14 @@
[orientation-reading.html]
type: testharness
[Test screen.orientation properties]
expected: FAIL
[Test screen.orientation default values.]
expected: FAIL
[Test that screen.orientation properties are not writable]
expected: FAIL
[Test that screen.orientation values change if the orientation changes]
expected: FAIL

View File

@ -0,0 +1,5 @@
[Document-open.html]
type: testharness
[Selection must be replaced with a new object after document.open()]
expected: FAIL

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,128 @@
[collapseToStartEnd.html]
type: testharness
[Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\] collapseToStart()]
expected: FAIL
[Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\] collapseToEnd()]
expected: FAIL
[Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\] collapseToStart()]
expected: FAIL
[Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\] collapseToEnd()]
expected: FAIL
[Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\] collapseToStart()]
expected: FAIL
[Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\] collapseToEnd()]
expected: FAIL
[Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1\] collapseToStart()]
expected: FAIL
[Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1\] collapseToEnd()]
expected: FAIL
[Range 21 [foreignDoc.head, 1, foreignDoc.head, 1\] collapseToStart()]
expected: FAIL
[Range 21 [foreignDoc.head, 1, foreignDoc.head, 1\] collapseToEnd()]
expected: FAIL
[Range 22 [foreignDoc.body, 0, foreignDoc.body, 0\] collapseToStart()]
expected: FAIL
[Range 22 [foreignDoc.body, 0, foreignDoc.body, 0\] collapseToEnd()]
expected: FAIL
[Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\] collapseToStart()]
expected: FAIL
[Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\] collapseToEnd()]
expected: FAIL
[Range 41 [foreignDoc, 0, foreignDoc, 0\] collapseToStart()]
expected: FAIL
[Range 41 [foreignDoc, 0, foreignDoc, 0\] collapseToEnd()]
expected: FAIL
[Range 42 [foreignDoc, 1, foreignComment, 2\] collapseToStart()]
expected: FAIL
[Range 42 [foreignDoc, 1, foreignComment, 2\] collapseToEnd()]
expected: FAIL
[Range 43 [foreignDoc.body, 0, foreignTextNode, 36\] collapseToStart()]
expected: FAIL
[Range 43 [foreignDoc.body, 0, foreignTextNode, 36\] collapseToEnd()]
expected: FAIL
[Range 44 [xmlDoc, 0, xmlDoc, 0\] collapseToStart()]
expected: FAIL
[Range 44 [xmlDoc, 0, xmlDoc, 0\] collapseToEnd()]
expected: FAIL
[Range 45 [xmlDoc, 1, xmlComment, 0\] collapseToStart()]
expected: FAIL
[Range 45 [xmlDoc, 1, xmlComment, 0\] collapseToEnd()]
expected: FAIL
[Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] collapseToStart()]
expected: FAIL
[Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] collapseToEnd()]
expected: FAIL
[Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] collapseToStart()]
expected: FAIL
[Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] collapseToEnd()]
expected: FAIL
[Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] collapseToStart()]
expected: FAIL
[Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] collapseToEnd()]
expected: FAIL
[Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] collapseToStart()]
expected: FAIL
[Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] collapseToEnd()]
expected: FAIL
[Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\] collapseToStart()]
expected: FAIL
[Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\] collapseToEnd()]
expected: FAIL
[Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\] collapseToStart()]
expected: FAIL
[Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\] collapseToEnd()]
expected: FAIL
[Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\] collapseToStart()]
expected: FAIL
[Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\] collapseToEnd()]
expected: FAIL
[Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\] collapseToStart()]
expected: FAIL
[Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\] collapseToEnd()]
expected: FAIL
[Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\] collapseToStart()]
expected: FAIL
[Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\] collapseToEnd()]
expected: FAIL

View File

@ -0,0 +1,3 @@
[dir.manual.html]
type: testharness
expected: TIMEOUT

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,17 @@
[getSelection.html]
type: testharness
[getSelection() on HTML document with null defaultView must be null]
expected: FAIL
[getSelection() on XML document with null defaultView must be null]
expected: FAIL
[getSelection() on HTML document with null defaultView must be null inside an iframe onload]
expected: FAIL
[window.getSelection() instanceof Selection in an iframe immediately after appendChild]
expected: FAIL
[document.getSelection() instanceof Selection in an iframe immediately after appendChild]
expected: FAIL

View File

@ -0,0 +1,65 @@
[removeAllRanges.html]
type: testharness
[Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\] backwards]
expected: FAIL
[Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\] backwards]
expected: FAIL
[Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\] backwards]
expected: FAIL
[Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1\] backwards]
expected: FAIL
[Range 21 [foreignDoc.head, 1, foreignDoc.head, 1\] backwards]
expected: FAIL
[Range 22 [foreignDoc.body, 0, foreignDoc.body, 0\] backwards]
expected: FAIL
[Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\] backwards]
expected: FAIL
[Range 41 [foreignDoc, 0, foreignDoc, 0\] backwards]
expected: FAIL
[Range 42 [foreignDoc, 1, foreignComment, 2\] backwards]
expected: FAIL
[Range 43 [foreignDoc.body, 0, foreignTextNode, 36\] backwards]
expected: FAIL
[Range 44 [xmlDoc, 0, xmlDoc, 0\] backwards]
expected: FAIL
[Range 45 [xmlDoc, 1, xmlComment, 0\] backwards]
expected: FAIL
[Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] backwards]
expected: FAIL
[Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] backwards]
expected: FAIL
[Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] backwards]
expected: FAIL
[Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] backwards]
expected: FAIL
[Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\] backwards]
expected: FAIL
[Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\] backwards]
expected: FAIL
[Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\] backwards]
expected: FAIL
[Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\] backwards]
expected: FAIL
[Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\] backwards]
expected: FAIL

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,3 @@
[fetch-event-after-navigation-within-page.https.html]
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1179540
type: testharness

View File

@ -1,6 +1,5 @@
[fetch-frame-resource.https.html]
type: testharness
[CORS type response could be loaded in the iframe.]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1184967
expected: FAIL
@ -8,3 +7,4 @@
[CORS type response could be loaded in the new window.]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1184967
expected: FAIL