diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 743b76965e32..3e618095b541 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -1045,6 +1045,10 @@ "path": "quirks-mode/active-and-hover-manual.html", "url": "/quirks-mode/active-and-hover-manual.html" }, + { + "path": "screen-orientation/page-visibility-manual.html", + "url": "/screen-orientation/page-visibility-manual.html" + }, { "path": "svg/import/animate-dom-01-f-manual.svg", "url": "/svg/import/animate-dom-01-f-manual.svg" @@ -8227,10 +8231,18 @@ "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html", "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html" }, + { + "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html", + "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html" + }, { "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html", "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html" }, + { + "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html", + "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html" + }, { "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html", "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html" @@ -12111,6 +12123,10 @@ "path": "XMLHttpRequest/setrequestheader-allow-empty-value.htm", "url": "/XMLHttpRequest/setrequestheader-allow-empty-value.htm" }, + { + "path": "XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm", + "url": "/XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm" + }, { "path": "XMLHttpRequest/setrequestheader-before-open.htm", "url": "/XMLHttpRequest/setrequestheader-before-open.htm" @@ -12127,6 +12143,10 @@ "path": "XMLHttpRequest/setrequestheader-case-insensitive.htm", "url": "/XMLHttpRequest/setrequestheader-case-insensitive.htm" }, + { + "path": "XMLHttpRequest/setrequestheader-content-type.htm", + "url": "/XMLHttpRequest/setrequestheader-content-type.htm" + }, { "path": "XMLHttpRequest/setrequestheader-header-allowed.htm", "url": "/XMLHttpRequest/setrequestheader-header-allowed.htm" @@ -12195,6 +12215,10 @@ "path": "animation-timing/idlharness.html", "url": "/animation-timing/idlharness.html" }, + { + "path": "animation-timing/same-dispatch-time.html", + "url": "/animation-timing/same-dispatch-time.html" + }, { "path": "battery-status/battery-interface-idlharness.html", "url": "/battery-status/battery-interface-idlharness.html" @@ -12539,22 +12563,6 @@ "path": "content-security-policy/blink-contrib/object-src-no-url-blocked.sub.html", "url": "/content-security-policy/blink-contrib/object-src-no-url-blocked.sub.html" }, - { - "path": "content-security-policy/blink-contrib/object-src-param-code-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-code-blocked.sub.html" - }, - { - "path": "content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html" - }, - { - "path": "content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html" - }, - { - "path": "content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html" - }, { "path": "content-security-policy/blink-contrib/object-src-url-allowed.sub.html", "url": "/content-security-policy/blink-contrib/object-src-url-allowed.sub.html" @@ -13899,6 +13907,142 @@ "path": "domxpath/evaluator-constructor.html", "url": "/domxpath/evaluator-constructor.html" }, + { + "path": "editing/event.html", + "url": "/editing/event.html" + }, + { + "path": "editing/run/backcolor.html", + "url": "/editing/run/backcolor.html" + }, + { + "path": "editing/run/bold.html", + "url": "/editing/run/bold.html" + }, + { + "path": "editing/run/createlink.html", + "url": "/editing/run/createlink.html" + }, + { + "path": "editing/run/delete.html", + "url": "/editing/run/delete.html" + }, + { + "path": "editing/run/fontname.html", + "url": "/editing/run/fontname.html" + }, + { + "path": "editing/run/fontsize.html", + "url": "/editing/run/fontsize.html" + }, + { + "path": "editing/run/forecolor.html", + "url": "/editing/run/forecolor.html" + }, + { + "path": "editing/run/formatblock.html", + "url": "/editing/run/formatblock.html" + }, + { + "path": "editing/run/forwarddelete.html", + "url": "/editing/run/forwarddelete.html" + }, + { + "path": "editing/run/hilitecolor.html", + "url": "/editing/run/hilitecolor.html" + }, + { + "path": "editing/run/indent.html", + "url": "/editing/run/indent.html" + }, + { + "path": "editing/run/inserthorizontalrule.html", + "url": "/editing/run/inserthorizontalrule.html" + }, + { + "path": "editing/run/inserthtml.html", + "url": "/editing/run/inserthtml.html" + }, + { + "path": "editing/run/insertimage.html", + "url": "/editing/run/insertimage.html" + }, + { + "path": "editing/run/insertlinebreak.html", + "url": "/editing/run/insertlinebreak.html" + }, + { + "path": "editing/run/insertorderedlist.html", + "url": "/editing/run/insertorderedlist.html" + }, + { + "path": "editing/run/insertparagraph.html", + "url": "/editing/run/insertparagraph.html" + }, + { + "path": "editing/run/inserttext.html", + "url": "/editing/run/inserttext.html" + }, + { + "path": "editing/run/insertunorderedlist.html", + "url": "/editing/run/insertunorderedlist.html" + }, + { + "path": "editing/run/italic.html", + "url": "/editing/run/italic.html" + }, + { + "path": "editing/run/justifycenter.html", + "url": "/editing/run/justifycenter.html" + }, + { + "path": "editing/run/justifyfull.html", + "url": "/editing/run/justifyfull.html" + }, + { + "path": "editing/run/justifyleft.html", + "url": "/editing/run/justifyleft.html" + }, + { + "path": "editing/run/justifyright.html", + "url": "/editing/run/justifyright.html" + }, + { + "path": "editing/run/misc.html", + "url": "/editing/run/misc.html" + }, + { + "path": "editing/run/multitest.html", + "url": "/editing/run/multitest.html" + }, + { + "path": "editing/run/outdent.html", + "url": "/editing/run/outdent.html" + }, + { + "path": "editing/run/removeformat.html", + "url": "/editing/run/removeformat.html" + }, + { + "path": "editing/run/strikethrough.html", + "url": "/editing/run/strikethrough.html" + }, + { + "path": "editing/run/subscript.html", + "url": "/editing/run/subscript.html" + }, + { + "path": "editing/run/superscript.html", + "url": "/editing/run/superscript.html" + }, + { + "path": "editing/run/underline.html", + "url": "/editing/run/underline.html" + }, + { + "path": "editing/run/unlink.html", + "url": "/editing/run/unlink.html" + }, { "path": "encoding/api-basics.html", "url": "/encoding/api-basics.html" @@ -16651,6 +16795,10 @@ "path": "html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.outsiderange.html", "url": "/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.outsiderange.html" }, + { + "path": "html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html", + "url": "/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html" + }, { "path": "html/semantics/embedded-content/the-canvas-element/toDataURL.lowercase.ascii.html", "url": "/html/semantics/embedded-content/the-canvas-element/toDataURL.lowercase.ascii.html" @@ -24783,6 +24931,86 @@ "path": "resource-timing/test_resource_timing.html", "url": "/resource-timing/test_resource_timing.html" }, + { + "path": "screen-orientation/lock-bad-argument.html", + "url": "/screen-orientation/lock-bad-argument.html" + }, + { + "path": "screen-orientation/lock-basic.html", + "url": "/screen-orientation/lock-basic.html" + }, + { + "path": "screen-orientation/lock-sandboxed-iframe.html", + "url": "/screen-orientation/lock-sandboxed-iframe.html" + }, + { + "path": "screen-orientation/onchange-event-subframe.html", + "url": "/screen-orientation/onchange-event-subframe.html" + }, + { + "path": "screen-orientation/onchange-event.html", + "url": "/screen-orientation/onchange-event.html" + }, + { + "path": "screen-orientation/orientation-api.html", + "url": "/screen-orientation/orientation-api.html" + }, + { + "path": "screen-orientation/orientation-reading.html", + "url": "/screen-orientation/orientation-reading.html" + }, + { + "path": "selection/Document-open.html", + "url": "/selection/Document-open.html" + }, + { + "path": "selection/addRange.html", + "url": "/selection/addRange.html" + }, + { + "path": "selection/collapse.html", + "url": "/selection/collapse.html" + }, + { + "path": "selection/collapseToStartEnd.html", + "url": "/selection/collapseToStartEnd.html" + }, + { + "path": "selection/deleteFromDocument.html", + "url": "/selection/deleteFromDocument.html" + }, + { + "path": "selection/dir.manual.html", + "url": "/selection/dir.manual.html" + }, + { + "path": "selection/extend.html", + "url": "/selection/extend.html" + }, + { + "path": "selection/getRangeAt.html", + "url": "/selection/getRangeAt.html" + }, + { + "path": "selection/getSelection.html", + "url": "/selection/getSelection.html" + }, + { + "path": "selection/interfaces.html", + "url": "/selection/interfaces.html" + }, + { + "path": "selection/isCollapsed.html", + "url": "/selection/isCollapsed.html" + }, + { + "path": "selection/removeAllRanges.html", + "url": "/selection/removeAllRanges.html" + }, + { + "path": "selection/selectAllChildren.html", + "url": "/selection/selectAllChildren.html" + }, { "path": "selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.html", "url": "/selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.html" @@ -27685,6 +27913,11 @@ "timeout": "long", "url": "/dom/traversal/NodeIterator.html" }, + { + "path": "dom/traversal/TreeWalker.html", + "timeout": "long", + "url": "/dom/traversal/TreeWalker.html" + }, { "path": "encoding/api-invalid-label.html", "timeout": "long", @@ -28856,36 +29089,8 @@ ] }, "local_changes": { - "deleted": [ - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-002.html", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-006.html", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-004.html", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-003.html", - "2dcontext/transformations/canvas_transformations_reset_001.htm", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-005.html" - ], - "items": { - "testharness": { - "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html": [ - { - "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html", - "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html" - } - ], - "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html": [ - { - "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html", - "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html" - } - ], - "animation-timing/same-dispatch-time.html": [ - { - "path": "animation-timing/same-dispatch-time.html", - "url": "/animation-timing/same-dispatch-time.html" - } - ] - } - }, + "deleted": [], + "items": {}, "reftest_nodes": {} }, "reftest_nodes": { @@ -34362,7 +34567,7 @@ } ] }, - "rev": "12d3e15e5ecae695e1216c358d613705fbff6b68", + "rev": "58133dd71b16037669a0aa011b2afd448b52d434", "url_base": "/", "version": 2 } \ No newline at end of file diff --git a/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.html.ini b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.html.ini new file mode 100644 index 000000000000..08e9917281ca --- /dev/null +++ b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.html.ini @@ -0,0 +1,5 @@ +[XMLHttpRequest-withCredentials.html] + type: testharness + [setting withCredentials when in DONE state (synchronous)] + expected: FAIL + diff --git a/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js.ini b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js.ini new file mode 100644 index 000000000000..95d0a5d1129e --- /dev/null +++ b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js.ini @@ -0,0 +1,5 @@ +[XMLHttpRequest-withCredentials.worker] + type: testharness + [setting withCredentials when in DONE state (synchronous)] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini b/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini index 5728046b57ad..13ac404dcf05 100644 --- a/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini +++ b/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini @@ -225,135 +225,141 @@ [Resulting cursor position for range 36 [docfrag, 0, docfrag, 0\]] expected: FAIL - [Resulting DOM for range 37 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] + [Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 37 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] + [Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting DOM for range 38 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] + [Resulting DOM for range 38 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 38 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] + [Resulting cursor position for range 38 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] expected: FAIL - [Resulting DOM for range 39 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + [Resulting DOM for range 39 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] expected: FAIL - [Resulting cursor position for range 39 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + [Resulting cursor position for range 39 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] expected: FAIL - [Resulting DOM for range 40 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + [Resulting DOM for range 40 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 40 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + [Resulting cursor position for range 40 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] expected: FAIL - [Resulting DOM for range 41 [foreignDoc.head, 1, foreignDoc.head, 1\]] + [Resulting DOM for range 41 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 41 [foreignDoc.head, 1, foreignDoc.head, 1\]] + [Resulting cursor position for range 41 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] expected: FAIL - [Resulting DOM for range 42 [foreignDoc.body, 0, foreignDoc.body, 0\]] + [Resulting DOM for range 42 [foreignDoc.head, 1, foreignDoc.head, 1\]] expected: FAIL - [Resulting cursor position for range 42 [foreignDoc.body, 0, foreignDoc.body, 0\]] + [Resulting cursor position for range 42 [foreignDoc.head, 1, foreignDoc.head, 1\]] expected: FAIL - [Resulting DOM for range 43 [paras[0\], 0, paras[0\], 0\]] + [Resulting DOM for range 43 [foreignDoc.body, 0, foreignDoc.body, 0\]] expected: FAIL - [Resulting cursor position for range 43 [paras[0\], 0, paras[0\], 0\]] + [Resulting cursor position for range 43 [foreignDoc.body, 0, foreignDoc.body, 0\]] expected: FAIL - [Resulting DOM for range 44 [detachedPara1, 0, detachedPara1, 0\]] + [Resulting DOM for range 44 [paras[0\], 0, paras[0\], 0\]] expected: FAIL - [Resulting cursor position for range 44 [detachedPara1, 0, detachedPara1, 0\]] + [Resulting cursor position for range 44 [paras[0\], 0, paras[0\], 0\]] expected: FAIL - [Resulting DOM for range 45 [testDiv, 1, paras[2\].firstChild, 5\]] + [Resulting DOM for range 45 [detachedPara1, 0, detachedPara1, 0\]] expected: FAIL - [Resulting cursor position for range 45 [testDiv, 1, paras[2\].firstChild, 5\]] + [Resulting cursor position for range 45 [detachedPara1, 0, detachedPara1, 0\]] expected: FAIL - [Resulting DOM for range 46 [document.documentElement, 1, document.body, 0\]] + [Resulting DOM for range 46 [testDiv, 1, paras[2\].firstChild, 5\]] expected: FAIL - [Resulting cursor position for range 46 [document.documentElement, 1, document.body, 0\]] + [Resulting cursor position for range 46 [testDiv, 1, paras[2\].firstChild, 5\]] expected: FAIL - [Resulting DOM for range 47 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] + [Resulting DOM for range 47 [document.documentElement, 1, document.body, 0\]] expected: FAIL - [Resulting cursor position for range 47 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] + [Resulting cursor position for range 47 [document.documentElement, 1, document.body, 0\]] expected: FAIL - [Resulting DOM for range 48 [document, 1, document, 2\]] + [Resulting DOM for range 48 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] expected: FAIL - [Resulting cursor position for range 48 [document, 1, document, 2\]] + [Resulting cursor position for range 48 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] expected: FAIL - [Resulting DOM for range 49 [paras[2\].firstChild, 4, comment, 2\]] + [Resulting DOM for range 49 [document, 1, document, 2\]] expected: FAIL - [Resulting cursor position for range 49 [paras[2\].firstChild, 4, comment, 2\]] + [Resulting cursor position for range 49 [document, 1, document, 2\]] expected: FAIL - [Resulting DOM for range 50 [paras[3\], 1, comment, 8\]] + [Resulting DOM for range 50 [paras[2\].firstChild, 4, comment, 2\]] expected: FAIL - [Resulting cursor position for range 50 [paras[3\], 1, comment, 8\]] + [Resulting cursor position for range 50 [paras[2\].firstChild, 4, comment, 2\]] expected: FAIL - [Resulting DOM for range 51 [foreignDoc, 0, foreignDoc, 0\]] + [Resulting DOM for range 51 [paras[3\], 1, comment, 8\]] expected: FAIL - [Resulting cursor position for range 51 [foreignDoc, 0, foreignDoc, 0\]] + [Resulting cursor position for range 51 [paras[3\], 1, comment, 8\]] expected: FAIL - [Resulting DOM for range 52 [xmlDoc, 0, xmlDoc, 0\]] + [Resulting DOM for range 52 [foreignDoc, 0, foreignDoc, 0\]] expected: FAIL - [Resulting cursor position for range 52 [xmlDoc, 0, xmlDoc, 0\]] + [Resulting cursor position for range 52 [foreignDoc, 0, foreignDoc, 0\]] expected: FAIL - [Resulting DOM for range 53 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] + [Resulting DOM for range 53 [xmlDoc, 0, xmlDoc, 0\]] expected: FAIL - [Resulting cursor position for range 53 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] + [Resulting cursor position for range 53 [xmlDoc, 0, xmlDoc, 0\]] expected: FAIL - [Resulting DOM for range 54 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] + [Resulting DOM for range 54 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] expected: FAIL - [Resulting cursor position for range 54 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] + [Resulting cursor position for range 54 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] expected: FAIL - [Resulting DOM for range 55 [detachedComment, 5, detachedComment, 5\]] + [Resulting DOM for range 55 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] expected: FAIL - [Resulting cursor position for range 55 [detachedComment, 5, detachedComment, 5\]] + [Resulting cursor position for range 55 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] expected: FAIL - [Resulting DOM for range 56 [detachedForeignComment, 4, detachedForeignComment, 4\]] + [Resulting DOM for range 56 [detachedComment, 5, detachedComment, 5\]] expected: FAIL - [Resulting cursor position for range 56 [detachedForeignComment, 4, detachedForeignComment, 4\]] + [Resulting cursor position for range 56 [detachedComment, 5, detachedComment, 5\]] expected: FAIL - [Resulting DOM for range 57 [foreignDocfrag, 0, foreignDocfrag, 0\]] + [Resulting DOM for range 57 [detachedForeignComment, 4, detachedForeignComment, 4\]] expected: FAIL - [Resulting cursor position for range 57 [foreignDocfrag, 0, foreignDocfrag, 0\]] + [Resulting cursor position for range 57 [detachedForeignComment, 4, detachedForeignComment, 4\]] expected: FAIL - [Resulting DOM for range 58 [xmlDocfrag, 0, xmlDocfrag, 0\]] + [Resulting DOM for range 58 [foreignDocfrag, 0, foreignDocfrag, 0\]] expected: FAIL - [Resulting cursor position for range 58 [xmlDocfrag, 0, xmlDocfrag, 0\]] + [Resulting cursor position for range 58 [foreignDocfrag, 0, foreignDocfrag, 0\]] + expected: FAIL + + [Resulting DOM for range 59 [xmlDocfrag, 0, xmlDocfrag, 0\]] + expected: FAIL + + [Resulting cursor position for range 59 [xmlDocfrag, 0, xmlDocfrag, 0\]] expected: FAIL diff --git a/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini b/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini index 08ddc9201963..0474c44eeec5 100644 --- a/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini +++ b/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini @@ -48,21 +48,30 @@ [Resulting cursor position for range 35 [detachedXmlComment, 2, detachedXmlComment, 6\]] expected: FAIL - [Resulting cursor position for range 37 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] + [Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 38 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] + [Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 39 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + [Returned fragment for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 40 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + [Resulting cursor position for range 38 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 49 [paras[2\].firstChild, 4, comment, 2\]] + [Resulting cursor position for range 39 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] expected: FAIL - [Resulting cursor position for range 50 [paras[3\], 1, comment, 8\]] + [Resulting cursor position for range 40 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + expected: FAIL + + [Resulting cursor position for range 41 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + expected: FAIL + + [Resulting cursor position for range 50 [paras[2\].firstChild, 4, comment, 2\]] + expected: FAIL + + [Resulting cursor position for range 51 [paras[3\], 1, comment, 8\]] expected: FAIL diff --git a/tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini b/tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini deleted file mode 100644 index 2fd2ba2dcc61..000000000000 --- a/tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini +++ /dev/null @@ -1,722 +0,0 @@ -[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,1: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[0\].firstChild] - expected: FAIL - - [2,2: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[1\].firstChild] - expected: FAIL - - [2,3: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignPara1] - expected: FAIL - - [2,4: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignPara1.firstChild] - expected: FAIL - - [2,5: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedPara1] - expected: FAIL - - [2,6: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedPara1.firstChild] - 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,8: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedDiv] - 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,10: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignPara2] - 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,12: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node xmlElement] - expected: FAIL - - [2,13: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedTextNode] - expected: FAIL - - [2,14: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignTextNode] - expected: FAIL - - [2,15: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node processingInstruction] - expected: FAIL - - [2,16: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedProcessingInstruction] - expected: FAIL - - [2,17: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node comment] - expected: FAIL - - [2,18: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedComment] - expected: FAIL - - [2,19: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node docfrag] - 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,1: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[0\].firstChild] - expected: FAIL - - [3,2: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[1\].firstChild] - expected: FAIL - - [3,3: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignPara1] - expected: FAIL - - [3,4: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignPara1.firstChild] - expected: FAIL - - [3,5: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedPara1] - expected: FAIL - - [3,6: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedPara1.firstChild] - 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,8: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedDiv] - 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,10: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignPara2] - 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,12: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node xmlElement] - expected: FAIL - - [3,13: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedTextNode] - expected: FAIL - - [3,14: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignTextNode] - expected: FAIL - - [3,15: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node processingInstruction] - expected: FAIL - - [3,16: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedProcessingInstruction] - expected: FAIL - - [3,17: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node comment] - expected: FAIL - - [3,18: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedComment] - expected: FAIL - - [3,19: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node docfrag] - 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,0: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node paras[0\]] - expected: FAIL - - [5,1: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node paras[0\].firstChild] - expected: FAIL - - [5,2: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node paras[1\].firstChild] - expected: FAIL - - [5,3: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignPara1] - expected: FAIL - - [5,4: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignPara1.firstChild] - expected: FAIL - - [5,5: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedPara1] - expected: FAIL - - [5,6: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedPara1.firstChild] - 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,8: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedDiv] - 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,10: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignPara2] - 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,12: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node xmlElement] - expected: FAIL - - [5,13: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedTextNode] - expected: FAIL - - [5,14: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignTextNode] - expected: FAIL - - [5,15: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node processingInstruction] - expected: FAIL - - [5,16: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedProcessingInstruction] - expected: FAIL - - [5,17: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node comment] - expected: FAIL - - [5,18: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedComment] - expected: FAIL - - [5,19: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node docfrag] - 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,0: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node paras[0\]] - expected: FAIL - - [7,1: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node paras[0\].firstChild] - expected: FAIL - - [7,2: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node paras[1\].firstChild] - expected: FAIL - - [7,3: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignPara1] - expected: FAIL - - [7,4: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignPara1.firstChild] - 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,6: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedPara1.firstChild] - 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,10: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignPara2] - 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,12: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node xmlElement] - expected: FAIL - - [7,13: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedTextNode] - expected: FAIL - - [7,14: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignTextNode] - expected: FAIL - - [7,15: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node processingInstruction] - expected: FAIL - - [7,16: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedProcessingInstruction] - expected: FAIL - - [7,17: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node comment] - expected: FAIL - - [7,18: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedComment] - expected: FAIL - - [7,19: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node docfrag] - 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,0: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node paras[0\]] - expected: FAIL - - [9,1: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node paras[0\].firstChild] - expected: FAIL - - [9,2: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node paras[1\].firstChild] - 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,4: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara1.firstChild] - expected: FAIL - - [9,5: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedPara1] - expected: FAIL - - [9,6: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedPara1.firstChild] - 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,8: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedDiv] - 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,10: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara2] - 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,12: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node xmlElement] - expected: FAIL - - [9,13: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedTextNode] - expected: FAIL - - [9,14: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignTextNode] - expected: FAIL - - [9,15: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node processingInstruction] - expected: FAIL - - [9,16: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedProcessingInstruction] - expected: FAIL - - [9,17: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node comment] - expected: FAIL - - [9,18: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedComment] - expected: FAIL - - [9,19: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node docfrag] - 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 - diff --git a/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini b/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini index 4340dd1c35c7..790d9642e595 100644 --- a/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini +++ b/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini @@ -3780,3 +3780,117 @@ [36,21: resulting DOM for range [docfrag, 0, docfrag, 0\], node foreignDoctype] 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,7: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node document] + 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,9: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignDoc] + 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,11: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node xmlDoc] + 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 + + [37,19: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node docfrag] + expected: FAIL + + [37,20: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node doctype] + expected: FAIL + + [37,21: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignDoctype] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini b/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini new file mode 100644 index 000000000000..fe1566b0f5fc --- /dev/null +++ b/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini @@ -0,0 +1,5 @@ +[NodeIterator.html] + type: testharness + [createNodeIterator() with undefined as arguments] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html.ini new file mode 100644 index 000000000000..511427f54a78 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html.ini @@ -0,0 +1,5 @@ +[toDataURL.jpg.html] + type: testharness + [toDataURL with image/jpg is invalid type hence returns a PNG] + expected: FAIL + diff --git a/tests/wpt/metadata/mozilla-sync b/tests/wpt/metadata/mozilla-sync index f14d12873643..eace16f63f3c 100644 --- a/tests/wpt/metadata/mozilla-sync +++ b/tests/wpt/metadata/mozilla-sync @@ -1 +1 @@ -78455ec033c6116732a8f43b909093b7d7732779 \ No newline at end of file +84c4a26e4d05015da4cbbf1f120b317a23bec0b4 diff --git a/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml b/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml index 00a9fbb2291b..67eef796a744 100644 --- a/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml +++ b/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml @@ -483,6 +483,16 @@ var data = canvas.toDataURL('image/png'); @assert data =~ /^data:image\/png[;,]/; +- name: toDataURL.jpg + desc: toDataURL with image/jpg is invalid type hence returns a PNG + testing: + - toDataURL.jpg + - toDataURL.witharguments + code: | + var data = canvas.toDataURL('image/jpg'); + @assert data =~ /^data:image\/png[;,]/; + + - name: toDataURL.bogustype desc: toDataURL with a syntactically invalid type returns a PNG testing: diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm index 7b10b99e225c..8014c4221eb5 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm @@ -29,18 +29,18 @@ var cursor = e.target.result; assert_equals(cursor.value, "data", "prequisite cursor.value"); - assert_object_equals(cursor.key, key, 'key'); + assert_key_equals(cursor.key, key, 'key'); assert_readonly(cursor, 'key'); if (key instanceof Array) { cursor.key.push("new"); key.push("new"); - assert_object_equals(cursor.key, key, 'key after array push'); + assert_key_equals(cursor.key, key, 'key after array push'); // But we can not change key (like readonly, just a bit different) cursor.key = 10; - assert_object_equals(cursor.key, key, 'key after assignment'); + assert_key_equals(cursor.key, key, 'key after assignment'); } t.done(); diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm index 04b4a14a07ba..2fe24ece8b8e 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm @@ -33,18 +33,18 @@ assert_equals(cursor.value, "data", "prequisite cursor.value"); assert_equals(cursor.key, "data", "prequisite cursor.key"); - assert_object_equals(cursor.primaryKey, key, 'primaryKey'); + assert_key_equals(cursor.primaryKey, key, 'primaryKey'); assert_readonly(cursor, 'primaryKey'); if (key instanceof Array) { cursor.primaryKey.push("new"); key.push("new"); - assert_object_equals(cursor.primaryKey, key, 'primaryKey after array push'); + assert_key_equals(cursor.primaryKey, key, 'primaryKey after array push'); // But we can not change key (like readonly, just a bit different) cursor.key = 10; - assert_object_equals(cursor.primaryKey, key, 'key after assignment'); + assert_key_equals(cursor.primaryKey, key, 'key after assignment'); } t.done(); diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm b/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm index f724d092ba21..1cb6ff1ace47 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm @@ -33,7 +33,7 @@ } open_rq.onsuccess = function(e) { - assert_object_equals(keys, [5, 6, 1], "keys"); + assert_array_equals(keys, [5, 6, 1], "keys"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm b/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm index 4f44453e0a5f..5077f48469bc 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm @@ -44,7 +44,7 @@ idx.getKey('Bobby').onsuccess = this.step_func(function(e) { gotten_keys.push(e.target.result) - assert_object_equals(gotten_keys, expected_keys); + assert_array_equals(gotten_keys, expected_keys); this.done(); }); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm index 2dccc865e726..228dfc457c2f 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm @@ -42,13 +42,13 @@ open_rq.onsuccess = function(e) { log("open_rq.success")(e); - assert_object_equals(events, [ "rq_add1.success", - "rq_add2.error: ConstraintError", - "rq_add3.success", + assert_array_equals(events, [ "rq_add1.success", + "rq_add2.error: ConstraintError", + "rq_add3.success", - "transaction.complete", + "transaction.complete", - "open_rq.success" ], + "open_rq.success" ], "events"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm index 10c04b6a8a73..3dcb7330a8a2 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm @@ -47,17 +47,17 @@ open_rq.onerror = function(e) { log("open_rq.error")(e); - assert_object_equals(events, [ "rq_add1.success", - "rq_add2.success", + assert_array_equals(events, [ "rq_add1.success", + "rq_add2.success", - "rq_add3.error: AbortError", - "transaction.error: AbortError", - "db.error: AbortError", + "rq_add3.error: AbortError", + "transaction.error: AbortError", + "db.error: AbortError", - "transaction.abort: ConstraintError", - "db.abort: ConstraintError", + "transaction.abort: ConstraintError", + "db.abort: ConstraintError", - "open_rq.error: AbortError" ], + "open_rq.error: AbortError" ], "events"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm index 89e8cb36ce64..f564f6611d6b 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm @@ -49,20 +49,20 @@ open_rq.onerror = function(e) { log("open_rq.error")(e); - assert_object_equals(events, [ "rq_add1.success", + assert_array_equals(events, [ "rq_add1.success", - "rq_add2.error: ConstraintError", - "transaction.error: ConstraintError", - "db.error: ConstraintError", + "rq_add2.error: ConstraintError", + "transaction.error: ConstraintError", + "db.error: ConstraintError", - "rq_add3.error: AbortError", - "transaction.error: AbortError", - "db.error: AbortError", + "rq_add3.error: AbortError", + "transaction.error: AbortError", + "db.error: AbortError", - "transaction.abort: ConstraintError", - "db.abort: ConstraintError", + "transaction.abort: ConstraintError", + "db.abort: ConstraintError", - "open_rq.error: AbortError" ], + "open_rq.error: AbortError" ], "events"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm index 8dbe03f59efc..6174523e4786 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm @@ -38,7 +38,7 @@ }); idx.get(ar).onsuccess = t.step_func(function(e) { assert_equals(e.target.result.key, 'array', 'key'); - assert_object_equals(e.target.result.i, ar, 'array is the same'); + assert_array_equals(e.target.result.i, ar, 'array is the same'); }); idx.get(num).onsuccess = t.step_func(function(e) { assert_equals(e.target.result.key, 'number', 'key'); diff --git a/tests/wpt/web-platform-tests/IndexedDB/key_valid.html b/tests/wpt/web-platform-tests/IndexedDB/key_valid.html index f45d4a903e30..3bac0732cd4c 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/key_valid.html +++ b/tests/wpt/web-platform-tests/IndexedDB/key_valid.html @@ -35,7 +35,8 @@ .objectStore("store2") .get(['v', key]) rq.onsuccess = t.step_func(function(e) { - assert_object_equals(e.target.result, { x: 'v', keypath: key }) + assert_equals(e.target.result.x, 'v'); + assert_key_equals(e.target.result.keypath, key); t.done() }) }) diff --git a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm index 794b271ba397..ee2e24799e3f 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm @@ -62,10 +62,7 @@ } else { assert_equals(errors, 2, "expected ConstraintError's"); - - assert_equals(actual_keys.length, expected.length, "array length"); - assert_object_equals(actual_keys, expected, "keygenerator array"); - + assert_array_equals(actual_keys, expected, "keygenerator array"); t.done(); } }); diff --git a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm index 797a184be63c..d069f0a2b5fb 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm @@ -58,7 +58,7 @@ } else { assert_true(overflow_error_fired, "error fired on 'current number' overflow"); - assert_object_equals(actual_keys, expected_keys, "keygenerator array"); + assert_array_equals(actual_keys, expected_keys, "keygenerator array"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm b/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm index 8430364fc9dc..7e5961382c51 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm @@ -43,9 +43,7 @@ cursor.continue(); } else { - assert_equals(actual_keys.length, expected_keys.length, "array length"); - assert_object_equals(actual_keys, expected_keys, "keygenerator array"); - + assert_key_equals(actual_keys, expected_keys, "keygenerator array"); t.done(); } }); diff --git a/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm b/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm index f65a4de4f0d6..1896333f9364 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm @@ -45,11 +45,11 @@ var cursor = e.target.result; if (cursor) { - actual_keys.push(cursor.key.valueOf()); + actual_keys.push(cursor.key); cursor.continue(); } else { - assert_object_equals(actual_keys, expected, "keyorder array"); + assert_key_equals(actual_keys, expected, "keyorder array"); assert_equals(actual_keys.length, expected.length, "array length"); t.done(); @@ -60,12 +60,7 @@ // The IDBKey.cmp test test(function () { var sorted = unsorted.slice(0).sort(function(a, b) { return indexedDB.cmp(a, b)}); - - for (var i in sorted) - if (typeof sorted[i] === "object" && 'valueOf' in sorted[i]) - sorted[i] = sorted[i].valueOf(); - - assert_object_equals(sorted, expected, "sorted array"); + assert_key_equals(sorted, expected, "sorted array"); }, "IDBKey.cmp sorted - " + desc); } @@ -84,16 +79,16 @@ keysort('float < Date', [ now, 0, 9999999999999, -0.22 ], - [ -0.22, 0, 9999999999999, now.valueOf() ]); + [ -0.22, 0, 9999999999999, now ]); keysort('float < Date < String < Array', [ [], "", now, [0], "-1", 0, 9999999999999, ], - [ 0, 9999999999999, now.valueOf(), "", "-1", [], [0] ]); + [ 0, 9999999999999, now, "", "-1", [], [0] ]); keysort('Date(1 sec ago) < Date(now) < Date(1 minute in future)', [ now, one_sec_ago, one_min_future ], - [ one_sec_ago.valueOf(), now.valueOf(), one_min_future.valueOf() ]); + [ one_sec_ago, now, one_min_future ]); keysort('-1.1 < 1 < 1.01337 < 1.013373 < 2', [ 1.013373, 2, 1.01337, -1.1, 1 ], @@ -157,12 +152,12 @@ 1, 2.55, Infinity, - one_sec_ago.valueOf(), - now.valueOf(), + one_sec_ago, + now, "test", [], [0 ,2, "c"], - [0, now.valueOf()], + [0, now], [0, "b", "c"], [0, []], [0, [], 3], diff --git a/tests/wpt/web-platform-tests/IndexedDB/keypath.htm b/tests/wpt/web-platform-tests/IndexedDB/keypath.htm index 539af8e500bc..b59d614e8a9b 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keypath.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keypath.htm @@ -41,9 +41,7 @@ cursor.continue(); } else { - assert_equals(actual_keys.length, expected_keys.length, "array length"); - assert_object_equals(actual_keys, expected_keys, "keyorder array"); - + assert_key_equals(actual_keys, expected_keys, "keyorder array"); t.done(); } }); diff --git a/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm b/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm index 5e0415dbc1d6..835b7a33b44e 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm @@ -39,9 +39,7 @@ actual_keys.push(cursor.key.valueOf()); cursor.continue(); } else { - assert_equals(actual_keys.length, expected_keys.length, "array length"); - assert_object_equals(actual_keys, expected_keys, "keyorder array"); - + assert_array_equals(actual_keys, expected_keys, "keyorder array"); t.done(); } }); @@ -63,4 +61,3 @@
- diff --git a/tests/wpt/web-platform-tests/IndexedDB/request_bubble-and-capture.htm b/tests/wpt/web-platform-tests/IndexedDB/request_bubble-and-capture.htm index 930e20ee0db4..319f228c8351 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/request_bubble-and-capture.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/request_bubble-and-capture.htm @@ -29,20 +29,20 @@ open_rq.onsuccess = function(e) { log("open_rq.success")(e); - assert_object_equals(events, [ - "capture db.success", - "capture txn.success", - "capture rq1.success", - "bubble rq1.success", + assert_array_equals(events, [ + "capture db.success", + "capture txn.success", + "capture rq1.success", + "bubble rq1.success", - "capture db.error: ConstraintError", - "capture txn.error: ConstraintError", - "capture rq2.error: ConstraintError", - "bubble rq2.error: ConstraintError", - "bubble txn.error: ConstraintError", - "bubble db.error: ConstraintError", + "capture db.error: ConstraintError", + "capture txn.error: ConstraintError", + "capture rq2.error: ConstraintError", + "bubble rq2.error: ConstraintError", + "bubble txn.error: ConstraintError", + "bubble db.error: ConstraintError", - "open_rq.success" + "open_rq.success" ], "events"); this.done(); diff --git a/tests/wpt/web-platform-tests/IndexedDB/support.js b/tests/wpt/web-platform-tests/IndexedDB/support.js index 858fe5d77011..2eeca4f1f538 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/support.js +++ b/tests/wpt/web-platform-tests/IndexedDB/support.js @@ -120,3 +120,7 @@ function createdb_for_multiple_tests(dbname, version) { return rq_open; } + +function assert_key_equals(actual, expected, description) { + assert_equals(indexedDB.cmp(actual, expected), 0, description); +} diff --git a/tests/wpt/web-platform-tests/IndexedDB/transaction-create_in_versionchange.htm b/tests/wpt/web-platform-tests/IndexedDB/transaction-create_in_versionchange.htm index be2cd224500e..4d98c000408c 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/transaction-create_in_versionchange.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/transaction-create_in_versionchange.htm @@ -50,18 +50,18 @@ .addEventListener("success", log("complete2_get.success")) txn.oncomplete = this.step_func(function(e) { - assert_object_equals(events, [ - "versionchange_add.success: 1", - "versionchange_count.success: 0", - "versionchange_add2.success: 2", - "versionchange_txn.complete", - - "open_rq.success: [object IDBDatabase]", - - "complete_count.success: 2", - "complete2_get.success: 1", - ], - "events") + assert_array_equals(events, [ + "versionchange_add.success: 1", + "versionchange_count.success: 0", + "versionchange_add2.success: 2", + "versionchange_txn.complete", + + "open_rq.success: [object IDBDatabase]", + + "complete_count.success: 2", + "complete2_get.success: 1", + ], + "events") this.done() }) } diff --git a/tests/wpt/web-platform-tests/IndexedDB/transaction-requestqueue.htm b/tests/wpt/web-platform-tests/IndexedDB/transaction-requestqueue.htm index b34c37e98c20..b5706fe81d7c 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/transaction-requestqueue.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/transaction-requestqueue.htm @@ -23,8 +23,6 @@ os.put({ os: "os" + i, k: i}); os.add({ os: "os" + i }); } - -// assert_object_equals(db.objectStoreNames, ["os1", "os2", "os3", "os4", "os5" ], "objectStores"); } open_rq.onsuccess = function(e) { @@ -67,22 +65,22 @@ if (--finish_to_go) return; - assert_object_equals(keys['txn'], [ - "os1: 1", - "os3: 1", - "os1: 2", - "os2: 3", - "os2: 1", "os2: 1", "os2: 1", - "os1: 2", - ], 'transaction keys'); - - assert_object_equals(keys['txn2'], [ - "os4: 1", "os4: 5", "os4: 4", "os3: 1", - "os4: 1", "os4: 5", "os4: 4", "os3: 1", - "os4: 1", "os4: 5", "os4: 4", "os3: 1", - "os1: 2", - "os4: 5", - ], 'transaction 2 keys'); + assert_array_equals(keys['txn'], [ + "os1: 1", + "os3: 1", + "os1: 2", + "os2: 3", + "os2: 1", "os2: 1", "os2: 1", + "os1: 2", + ], 'transaction keys'); + + assert_array_equals(keys['txn2'], [ + "os4: 1", "os4: 5", "os4: 4", "os3: 1", + "os4: 1", "os4: 5", "os4: 4", "os3: 1", + "os4: 1", "os4: 5", "os4: 4", "os3: 1", + "os1: 2", + "os4: 5", + ], 'transaction 2 keys'); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/transaction_bubble-and-capture.htm b/tests/wpt/web-platform-tests/IndexedDB/transaction_bubble-and-capture.htm index 9da61f4fcde1..f4b5ec0ae584 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/transaction_bubble-and-capture.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/transaction_bubble-and-capture.htm @@ -37,20 +37,20 @@ open_rq.onsuccess = function(e) { log("open_rq.success")(e); - assert_object_equals(events, [ - "capture db.success", - "capture txn.success", - "capture rq1.success", - "bubble rq1.success", + assert_array_equals(events, [ + "capture db.success", + "capture txn.success", + "capture rq1.success", + "bubble rq1.success", - "capture db.error: ConstraintError", - "capture txn.error: ConstraintError", - "capture rq2.error: ConstraintError", - "bubble rq2.error: ConstraintError", - "bubble txn.error: ConstraintError", - "bubble db.error: ConstraintError", + "capture db.error: ConstraintError", + "capture txn.error: ConstraintError", + "capture rq2.error: ConstraintError", + "bubble rq2.error: ConstraintError", + "bubble txn.error: ConstraintError", + "bubble db.error: ConstraintError", - "open_rq.success", + "open_rq.success", ], "events"); this.done(); diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html index c6b937bfce68..cafbbb61a0be 100644 --- a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html +++ b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html @@ -9,6 +9,5 @@ following::ol/li[3] following::ol/li[4]">
diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js index a2834ccce250..5120d45c22ef 100644 --- a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js +++ b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js @@ -27,8 +27,7 @@ function test_withCredentials(worker) { } }, "setting on synchronous XHR") - async_test("setting withCredentials when not in UNSENT, OPENED state").step(function() { - this.add_cleanup(done) + async_test(function() { var client = new XMLHttpRequest() client.open("GET", "resources/delay.py?ms=1000") client.send() @@ -39,5 +38,11 @@ function test_withCredentials(worker) { this.done() } }) - }) + }, "setting withCredentials when not in UNSENT, OPENED state (asynchronous)") + + test(function() { + var client = new XMLHttpRequest() + client.open("GET", "resources/delay.py?ms=1000", false) + assert_throws("InvalidStateError", function() { client.withCredentials = true }) + }, "setting withCredentials when in DONE state (synchronous)") } diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js index dea0da24021f..6e89fec5a015 100644 --- a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js +++ b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js @@ -1,3 +1,4 @@ importScripts("/resources/testharness.js") importScripts("XMLHttpRequest-withCredentials.js") test_withCredentials(true); +done() diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm b/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm new file mode 100644 index 000000000000..ac54dbddb11e --- /dev/null +++ b/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm @@ -0,0 +1,27 @@ + + + + XMLHttpRequest: setRequestHeader() - header value with whitespace + + + + + +
+ + + diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm b/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm index 6ae03d649891..3d23e164bc03 100644 --- a/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm +++ b/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm @@ -19,6 +19,8 @@ } try_value("t\rt") try_value("t\nt") + try_value("t\bt"); + try_value("\x7f"); try_value("テスト") test(function() { diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm b/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm new file mode 100644 index 000000000000..a648efa64ca6 --- /dev/null +++ b/tests/wpt/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm @@ -0,0 +1,27 @@ + + + + XMLHttpRequest: setRequestHeader() - Content-Type header + + + + + +
+ + + diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-allow.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-allow.sub.html index 1baa22a8291a..113d157366d1 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-allow.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-allow.sub.html @@ -13,7 +13,6 @@ --> diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-deny.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-deny.sub.html index 451bfda90c57..f2b7c591e95f 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-deny.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/base-uri-deny.sub.html @@ -13,7 +13,6 @@ base-uri 'self'; script-src 'self' 'unsafe-inline'; connect-src 'self'; --> diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-cross-origin-image.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-cross-origin-image.sub.html index c805cc57b7f8..9b7dc32e1bd2 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-cross-origin-image.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-cross-origin-image.sub.html @@ -15,13 +15,13 @@ +

Check that a SecurityPolicyViolationEvent strips detail from cross-origin blocked URLs.

diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image-from-script.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image-from-script.sub.html index 8c00fdb36d88..33facfbc3a8f 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image-from-script.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image-from-script.sub.html @@ -15,13 +15,13 @@ +

Check that a SecurityPolicyViolationEvent is fired upon blocking an image injected via script.

diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image.sub.html index 31b4492002b6..3e62e2d359f5 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/securitypolicyviolation-block-image.sub.html @@ -15,7 +15,6 @@ +

Check that a SecurityPolicyViolationEvent is fired upon blocking an image.

diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-allowed.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-allowed.sub.html index 3588a631bb92..c8622ba2450a 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-allowed.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-allowed.sub.html @@ -36,7 +36,6 @@

This text should be green.

This text should also be green.

+

Style correctly whitelisted via a 'nonce-*' expression in 'style-src' should be applied to the page.

diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-blocked.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-blocked.sub.html index 8bf450d74e9e..43204f64d3d3 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-blocked.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib-2/stylenonce-blocked.sub.html @@ -24,13 +24,13 @@

This text should be green.

+

Style that does not match a 'nonce-*' expression in 'style-src' should not be applied to the page.

diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/combine-multiple-policies.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/combine-multiple-policies.sub.html index be778e44df0b..9d7852101192 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/combine-multiple-policies.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/combine-multiple-policies.sub.html @@ -17,8 +17,8 @@ This test checks that we enforce all the supplied policies. This test passe if it doesn't alert fail and if the style doesn't apply. + Check that a SecurityPolicyViolationEvent is fired upon blocking an image. +

+ IFrames blocked by CSP should generate a 'load' event, regardless of blocked state. This means they appear to be normal cross-origin loads, thereby not leaking URL information directly to JS. +

- - - - - - - - - This test passes if there is a CSP violation saying the plugin was blocked. - -
- - - - diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-code-blocked.sub.html.sub.headers b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-code-blocked.sub.html.sub.headers deleted file mode 100644 index f7535ffbe93e..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-code-blocked.sub.html.sub.headers +++ /dev/null @@ -1,6 +0,0 @@ -Expires: Mon, 26 Jul 1997 05:00:00 GMT -Cache-Control: no-store, no-cache, must-revalidate -Cache-Control: post-check=0, pre-check=0, false -Pragma: no-cache -Set-Cookie: object-src-param-code-blocked={{$id:uuid()}}; Path=/content-security-policy/blink-contrib -Content-Security-Policy: object-src http://localhost:8080; script-src 'self' 'unsafe-inline'; connect-src 'self'; report-uri /content-security-policy/support/report.py?op=put&reportID={{$id}} diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html deleted file mode 100644 index 289c2c8edd30..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - object-src-param-movie-blocked - - - - - - - - - - This test passes if there is a CSP violation saying the plugin was blocked. - -
- - - - diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html.sub.headers b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html.sub.headers deleted file mode 100644 index 3f357a63f4b5..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html.sub.headers +++ /dev/null @@ -1,6 +0,0 @@ -Expires: Mon, 26 Jul 1997 05:00:00 GMT -Cache-Control: no-store, no-cache, must-revalidate -Cache-Control: post-check=0, pre-check=0, false -Pragma: no-cache -Set-Cookie: object-src-param-movie-blocked={{$id:uuid()}}; Path=/content-security-policy/blink-contrib -Content-Security-Policy: object-src http://localhost:8080; script-src 'self' 'unsafe-inline'; connect-src 'self'; report-uri /content-security-policy/support/report.py?op=put&reportID={{$id}} diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html deleted file mode 100644 index 9a0d9e0bee4c..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - object-src-param-src-blocked - - - - - - - - - - This test passes if there is a CSP violation saying the plugin was blocked. - -
- - - - diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html.sub.headers b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html.sub.headers deleted file mode 100644 index c5a76850345a..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html.sub.headers +++ /dev/null @@ -1,6 +0,0 @@ -Expires: Mon, 26 Jul 1997 05:00:00 GMT -Cache-Control: no-store, no-cache, must-revalidate -Cache-Control: post-check=0, pre-check=0, false -Pragma: no-cache -Set-Cookie: object-src-param-src-blocked={{$id:uuid()}}; Path=/content-security-policy/blink-contrib -Content-Security-Policy: object-src http://localhost:8080; script-src 'self' 'unsafe-inline'; connect-src 'self'; report-uri /content-security-policy/support/report.py?op=put&reportID={{$id}} diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html deleted file mode 100644 index f30550416f83..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - object-src-param-url-blocked - - - - - - - - - - This test passes if there is a CSP violation saying the plugin was blocked. - -
- - - - diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html.sub.headers b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html.sub.headers deleted file mode 100644 index baf227d985a1..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html.sub.headers +++ /dev/null @@ -1,6 +0,0 @@ -Expires: Mon, 26 Jul 1997 05:00:00 GMT -Cache-Control: no-store, no-cache, must-revalidate -Cache-Control: post-check=0, pre-check=0, false -Pragma: no-cache -Set-Cookie: object-src-param-url-blocked={{$id:uuid()}}; Path=/content-security-policy/blink-contrib -Content-Security-Policy: object-src http://localhost:8080; script-src 'self' 'unsafe-inline'; connect-src 'self'; report-uri /content-security-policy/support/report.py?op=put&reportID={{$id}} diff --git a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/resources/object-src-param.js b/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/resources/object-src-param.js deleted file mode 100644 index ab449327dc9a..000000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/resources/object-src-param.js +++ /dev/null @@ -1,29 +0,0 @@ -if (window.testRunner) { - testRunner.dumpAsText(); - testRunner.waitUntilDone(); -} - -function appendObjectElement(type) { - window.onload = function() { - var o = document.createElement('object'); - o.setAttribute('type', 'application/x-webkit-test-netscape'); - o.addEventListener('load', function() { - console.log('FAIL: The object should have been blocked.'); - if (window.testRunner) - testRunner.notifyDone(); - }); - o.addEventListener('error', function() { - console.log('PASS: Error occurred, so load was correctly blocked.'); - if (window.testRunner) - testRunner.notifyDone(); - }); - - var p = document.createElement('param'); - p.setAttribute('value', 'http://127.0.0.1:8080/plugins/resources/mock-plugin.pl?' + type); - p.setAttribute('name', type); - - o.appendChild(p); - - document.body.appendChild(o); - }; -} diff --git a/tests/wpt/web-platform-tests/dom/common.js b/tests/wpt/web-platform-tests/dom/common.js index 8f982eb6cece..1f0bc70d2dfe 100644 --- a/tests/wpt/web-platform-tests/dom/common.js +++ b/tests/wpt/web-platform-tests/dom/common.js @@ -163,6 +163,7 @@ function setupRangeTests() { "[detachedForeignComment, 0, detachedForeignComment, 1]", "[detachedXmlComment, 2, detachedXmlComment, 6]", "[docfrag, 0, docfrag, 0]", + "[processingInstruction, 0, processingInstruction, 4]", ]; testRanges = testRangesShort.concat([ @@ -825,96 +826,213 @@ function myExtractContents(range) { } /** - * insertNode() implementation, following the spec. If an exception is - * supposed to be thrown, will return a string with the name (e.g., - * "HIERARCHY_REQUEST_ERR") instead of a document fragment. It might also - * return an arbitrary human-readable string if a condition is hit that implies - * a spec bug. + * insertNode() implementation, following the spec. If an exception is meant + * to be thrown, will return a string with the expected exception name, for + * instance "HIERARCHY_REQUEST_ERR". */ function myInsertNode(range, node) { - // "If the detached flag is set, throw an "InvalidStateError" exception and - // terminate these steps." - // - // Assume that if accessing collapsed throws, it's detached. - try { - range.collapsed; - } catch (e) { - return "INVALID_STATE_ERR"; + // "If range's start node is either a ProcessingInstruction or Comment + // node, or a Text node whose parent is null, throw an + // "HierarchyRequestError" exception and terminate these steps." + if (range.startContainer.nodeType == Node.PROCESSING_INSTRUCTION_NODE + || range.startContainer.nodeType == Node.COMMENT_NODE + || (range.startContainer.nodeType == Node.TEXT_NODE + && !range.startContainer.parentNode)) { + return "HIERARCHY_REQUEST_ERR"; } - // "If start node is a Comment node, or a Text node whose parent is null, - // throw an "HierarchyRequestError" exception and terminate these steps." - if (range.startContainer.nodeType == Node.COMMENT_NODE - || (range.startContainer.nodeType == Node.TEXT_NODE - && !range.startContainer.parentNode)) { - return "HIERARCHY_REQUEST_ERR"; - } + // "Let referenceNode be null." + var referenceNode = null; - // "If start node is a Text node, split it with offset context object's - // start offset, and let reference node be the result." - var referenceNode; + // "If range's start node is a Text node, set referenceNode to that Text node." if (range.startContainer.nodeType == Node.TEXT_NODE) { - // We aren't testing how ranges vary under mutations, and browsers vary - // in how they mutate for splitText, so let's just force the correct - // way. - var start = [range.startContainer, range.startOffset]; - var end = [range.endContainer, range.endOffset]; - - referenceNode = range.startContainer.splitText(range.startOffset); - - if (start[0] == end[0] - && end[1] > start[1]) { - end[0] = referenceNode; - end[1] -= start[1]; - } else if (end[0] == start[0].parentNode - && end[1] > indexOf(referenceNode)) { - end[1]++; - } - range.setStart(start[0], start[1]); - range.setEnd(end[0], end[1]); + referenceNode = range.startContainer; - // "Otherwise, let reference node be the child of start node whose index is - // start offset, or null if there is no such child." + // "Otherwise, set referenceNode to the child of start node whose index is + // start offset, and null if there is no such child." } else { - referenceNode = range.startContainer.childNodes[range.startOffset]; - if (typeof referenceNode == "undefined") { + if (range.startOffset < range.startContainer.childNodes.length) { + referenceNode = range.startContainer.childNodes[range.startOffset]; + } else { referenceNode = null; } } - // "If reference node is null, let parent be start node." - var parent_; - if (!referenceNode) { - parent_ = range.startContainer; + // "Let parent be range's start node if referenceNode is null, and + // referenceNode's parent otherwise." + var parent_ = referenceNode === null ? range.startContainer : + referenceNode.parentNode; - // "Otherwise, let parent be the parent of reference node." - } else { - parent_ = referenceNode.parentNode; + // "Ensure pre-insertion validity of node into parent before + // referenceNode." + var error = ensurePreInsertionValidity(node, parent_, referenceNode); + if (error) { + return error; } - // "Let new offset be the index of reference node, or parent's length if - // reference node is null." - var newOffset = referenceNode ? indexOf(referenceNode) : nodeLength(parent_); + // "If range's start node is a Text node, set referenceNode to the result + // of splitting it with offset range's start offset." + if (range.startContainer.nodeType == Node.TEXT_NODE) { + referenceNode = range.startContainer.splitText(range.startOffset); + } - // "Add node's length to new offset, if node is a DocumentFragment. - // Otherwise add one to new offset." - newOffset += node.nodeType == Node.DOCUMENT_FRAGMENT_NODE - ? nodeLength(node) - : 1; + // "If node is referenceNode, set referenceNode to its next sibling." + if (node == referenceNode) { + referenceNode = referenceNode.nextSibling; + } - // "Pre-insert node into parent before reference node." - try { - parent_.insertBefore(node, referenceNode); - } catch (e) { - return getDomExceptionName(e); + // "If node's parent is not null, remove node from its parent." + if (node.parentNode) { + node.parentNode.removeChild(node); } - // "If start and end are the same, set end to (parent, new offset)." - if (range.collapsed) { + // "Let newOffset be parent's length if referenceNode is null, and + // referenceNode's index otherwise." + var newOffset = referenceNode === null ? nodeLength(parent_) : + indexOf(referenceNode); + + // "Increase newOffset by node's length if node is a DocumentFragment node, + // and one otherwise." + newOffset += node.nodeType == Node.DOCUMENT_FRAGMENT_NODE ? + nodeLength(node) : 1; + + // "Pre-insert node into parent before referenceNode." + parent_.insertBefore(node, referenceNode); + + // "If range's start and end are the same, set range's end to (parent, + // newOffset)." + if (range.startContainer == range.endContainer + && range.startOffset == range.endOffset) { range.setEnd(parent_, newOffset); } } +// To make filter() calls more readable +function isElement(node) { + return node.nodeType == Node.ELEMENT_NODE; +} + +function isText(node) { + return node.nodeType == Node.TEXT_NODE; +} + +function isDoctype(node) { + return node.nodeType == Node.DOCUMENT_TYPE_NODE; +} + +function ensurePreInsertionValidity(node, parent_, child) { + // "If parent is not a Document, DocumentFragment, or Element node, throw a + // HierarchyRequestError." + if (parent_.nodeType != Node.DOCUMENT_NODE + && parent_.nodeType != Node.DOCUMENT_FRAGMENT_NODE + && parent_.nodeType != Node.ELEMENT_NODE) { + return "HIERARCHY_REQUEST_ERR"; + } + + // "If node is a host-including inclusive ancestor of parent, throw a + // HierarchyRequestError." + // + // XXX Does not account for host + if (isInclusiveAncestor(node, parent_)) { + return "HIERARCHY_REQUEST_ERR"; + } + + // "If child is not null and its parent is not parent, throw a NotFoundError + // exception." + if (child && child.parentNode != parent_) { + return "NOT_FOUND_ERR"; + } + + // "If node is not a DocumentFragment, DocumentType, Element, Text, + // ProcessingInstruction, or Comment node, throw a HierarchyRequestError." + if (node.nodeType != Node.DOCUMENT_FRAGMENT_NODE + && node.nodeType != Node.DOCUMENT_TYPE_NODE + && node.nodeType != Node.ELEMENT_NODE + && node.nodeType != Node.TEXT_NODE + && node.nodeType != Node.PROCESSING_INSTRUCTION_NODE + && node.nodeType != Node.COMMENT_NODE) { + return "HIERARCHY_REQUEST_ERR"; + } + + // "If either node is a Text node and parent is a document, or node is a + // doctype and parent is not a document, throw a HierarchyRequestError." + if ((node.nodeType == Node.TEXT_NODE + && parent_.nodeType == Node.DOCUMENT_NODE) + || (node.nodeType == Node.DOCUMENT_TYPE_NODE + && parent_.nodeType != Node.DOCUMENT_NODE)) { + return "HIERARCHY_REQUEST_ERR"; + } + + // "If parent is a document, and any of the statements below, switched on + // node, are true, throw a HierarchyRequestError." + if (parent_.nodeType == Node.DOCUMENT_NODE) { + switch (node.nodeType) { + case Node.DOCUMENT_FRAGMENT_NODE: + // "If node has more than one element child or has a Text node + // child. Otherwise, if node has one element child and either + // parent has an element child, child is a doctype, or child is not + // null and a doctype is following child." + if ([].filter.call(node.childNodes, isElement).length > 1) { + return "HIERARCHY_REQUEST_ERR"; + } + + if ([].some.call(node.childNodes, isText)) { + return "HIERARCHY_REQUEST_ERR"; + } + + if ([].filter.call(node.childNodes, isElement).length == 1) { + if ([].some.call(parent_.childNodes, isElement)) { + return "HIERARCHY_REQUEST_ERR"; + } + + if (child && child.nodeType == Node.DOCUMENT_TYPE_NODE) { + return "HIERARCHY_REQUEST_ERR"; + } + + if (child && [].slice.call(parent_.childNodes, indexOf(child) + 1) + .filter(isDoctype)) { + return "HIERARCHY_REQUEST_ERR"; + } + } + break; + + case Node.ELEMENT_NODE: + // "parent has an element child, child is a doctype, or child is + // not null and a doctype is following child." + if ([].some.call(parent_.childNodes, isElement)) { + return "HIERARCHY_REQUEST_ERR"; + } + + if (child.nodeType == Node.DOCUMENT_TYPE_NODE) { + return "HIERARCHY_REQUEST_ERR"; + } + + if (child && [].slice.call(parent_.childNodes, indexOf(child) + 1) + .filter(isDoctype)) { + return "HIERARCHY_REQUEST_ERR"; + } + break; + + case Node.DOCUMENT_TYPE_NODE: + // "parent has a doctype child, an element is preceding child, or + // child is null and parent has an element child." + if ([].some.call(parent_.childNodes, isDoctype)) { + return "HIERARCHY_REQUEST_ERR"; + } + + if (child && [].slice.call(parent_.childNodes, 0, indexOf(child)) + .some(isElement)) { + return "HIERARCHY_REQUEST_ERR"; + } + + if (!child && [].some.call(parent_.childNodes, isElement)) { + return "HIERARCHY_REQUEST_ERR"; + } + break; + } + } +} + /** * Asserts that two nodes are equal, in the sense of isEqualNode(). If they * aren't, tries to print a relatively informative reason why not. TODO: Move @@ -927,8 +1045,7 @@ function assertNodesEqual(actual, expected, msg) { while (actual && expected) { assert_true(actual.nodeType === expected.nodeType && actual.nodeName === expected.nodeName - && actual.nodeValue === expected.nodeValue - && actual.childNodes.length === expected.childNodes.length, + && actual.nodeValue === expected.nodeValue, "First differing node: expected " + format_value(expected) + ", got " + format_value(actual) + " [" + msg + "]"); actual = nextNode(actual); diff --git a/tests/wpt/web-platform-tests/dom/nodes/CharacterData-substringData.html b/tests/wpt/web-platform-tests/dom/nodes/CharacterData-substringData.html index adcce7270227..84795d0e0439 100644 --- a/tests/wpt/web-platform-tests/dom/nodes/CharacterData-substringData.html +++ b/tests/wpt/web-platform-tests/dom/nodes/CharacterData-substringData.html @@ -43,6 +43,17 @@ assert_equals(node.substringData(4, 1), "") }, type + ".substringData() with in-bounds offset") + test(function() { + var node = create() + assert_equals(node.data, "test") + + assert_equals(node.substringData(0, 0), "") + assert_equals(node.substringData(1, 0), "") + assert_equals(node.substringData(2, 0), "") + assert_equals(node.substringData(3, 0), "") + assert_equals(node.substringData(4, 0), "") + }, type + ".substringData() with zero count") + test(function() { var node = create() assert_equals(node.data, "test") diff --git a/tests/wpt/web-platform-tests/dom/traversal/NodeIterator.html b/tests/wpt/web-platform-tests/dom/traversal/NodeIterator.html index edcbf2c4e4b8..0f618efb4d7a 100644 --- a/tests/wpt/web-platform-tests/dom/traversal/NodeIterator.html +++ b/tests/wpt/web-platform-tests/dom/traversal/NodeIterator.html @@ -9,6 +9,22 @@ + + + diff --git a/tests/wpt/web-platform-tests/dom/traversal/traversal-support.js b/tests/wpt/web-platform-tests/dom/traversal/traversal-support.js index b21428d54193..0d5d8ad74fce 100644 --- a/tests/wpt/web-platform-tests/dom/traversal/traversal-support.js +++ b/tests/wpt/web-platform-tests/dom/traversal/traversal-support.js @@ -8,21 +8,3 @@ function assert_node(actual, expected) if (typeof(expected.nodeValue) !== 'undefined') assert_equals(actual.nodeValue, expected.nodeValue); } - -// XXX Servo doesn't have these constants in NodeFilter yet -var FILTER_ACCEPT = 1; -var FILTER_REJECT = 2; -var FILTER_SKIP = 3; -var SHOW_ALL = 0xFFFFFFFF; -var SHOW_ELEMENT = 0x1; -var SHOW_ATTRIBUTE = 0x2; -var SHOW_TEXT = 0x4; -var SHOW_CDATA_SECTION = 0x8; -var SHOW_ENTITY_REFERENCE = 0x10; -var SHOW_ENTITY = 0x20; -var SHOW_PROCESSING_INSTRUCTION = 0x40; -var SHOW_COMMENT = 0x80; -var SHOW_DOCUMENT = 0x100; -var SHOW_DOCUMENT_TYPE = 0x200; -var SHOW_DOCUMENT_FRAGMENT = 0x400; -var SHOW_NOTATION = 0x800; diff --git a/tests/wpt/web-platform-tests/editing/README b/tests/wpt/web-platform-tests/editing/README new file mode 100644 index 000000000000..3d95bec14855 --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/README @@ -0,0 +1,9 @@ +This suite tests conformance to the editing spec written long ago by Aryeh +Gregor. Nobody actually implements the spec, but the tests are still useful +for regression testing. The files in data/ were generated from a JavaScript +implementation of the specification using a complex procedure that can't +actually be replicated right now as-is. Editing them manually is possible, but +they're not really meant to be human-readable. If anyone is interested, it +would be possible for Aryeh to get the test generation procedure working again. +Or you could look into the repository history and figure out how to do it +yourself, if you're brave. diff --git a/tests/wpt/web-platform-tests/editing/data/backcolor.js b/tests/wpt/web-platform-tests/editing/data/backcolor.js new file mode 100644 index 000000000000..be8bda01af29 --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/backcolor.js @@ -0,0 +1,352 @@ +var browserTests = [ +["foo[]bar", + [["backcolor","#00FFFF"]], + "foo[]bar", + [true], + {"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["

[foo

bar]

", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["

[foo

bar]

", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["[foo bar]", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["[foo bar]", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["

[foo

bar

baz]

", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["

[foo

bar

baz]

", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["

[foo


bar]", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["

[foo


bar]", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[]bar", + [["backcolor","#00FFFF"]], + "foo[]bar", + [true], + {"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[]bar", + [["backcolor","#00FFFF"]], + "foo[]bar", + [true], + {"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo{}bar", + [["backcolor","#00FFFF"]], + "foo{}bar", + [true], + {"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[]bar", + [["backcolor","#00FFFF"]], + "foo[]bar", + [true], + {"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["{

foo

}", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["{

foo

}", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foob[a]rbaz
", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foob[a]rbaz
", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["{
foobarbaz
}", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["{
foobarbaz
}", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["

foo[bar]baz

", + [["backcolor","#00FFFF"]], + "

foo[bar]baz

", + [true], + {"backcolor":[false,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}], +["

foo[bar]baz

", + [["backcolor","#00FFFF"]], + "

foo[bar]baz

", + [true], + {"backcolor":[false,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}], +["

foo[bar]baz

", + [["backcolor","#00FFFF"]], + "

foo[bar]baz

", + [true], + {"backcolor":[false,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}], +["{

foo

bar

}", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "{

foo

bar

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}], +["{

foo

bar

}", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "{

foo

bar

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foob[ar]baz", + [["backcolor","#00FFFF"]], + "foob[ar]baz", + [true], + {"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["

foob[ar]baz

", + [["backcolor","#00FFFF"]], + "

foob[ar]baz

", + [true], + {"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["

b[ar]

", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "

b[ar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["

b[ar]

", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "

b[ar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["b[ar]", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "b[ar]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["b[ar]", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "b[ar]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]arbaz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]arbaz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["fooba[rb]az", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fooba[rb]az", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[obarb]az", + [["backcolor","#00FFFF"]], + "fo[obarb]az", + [true], + {"backcolor":[true,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}], +["foo[b]arbaz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[b]arbaz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fooba[r]baz", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fooba[r]baz", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["backcolor","#00FFFF"]], + "foo[bar]baz", + [true], + {"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo[bar]baz", + [["backcolor","#00FFFF"]], + "foo[bar]baz", + [true], + {"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["foo{bar}baz", + [["backcolor","#00FFFF"]], + "foo{bar}baz", + [true], + {"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]ar", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]ar", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]ar", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]ar", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]ar", + [["stylewithcss","true"],["backcolor","#00FFFF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}], +["fo[ob]ar", + [["stylewithcss","false"],["backcolor","#00FFFF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}] +] diff --git a/tests/wpt/web-platform-tests/editing/data/bold.js b/tests/wpt/web-platform-tests/editing/data/bold.js new file mode 100644 index 000000000000..e9f04726be54 --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/bold.js @@ -0,0 +1,1022 @@ +var browserTests = [ +["foo[]bar", + [["bold",""]], + "foo[]bar", + [true], + {"bold":[false,false,"",false,true,""]}], +["

[foo

bar]

", + [["stylewithcss","true"],["bold",""]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["

[foo

bar]

", + [["stylewithcss","false"],["bold",""]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["[foo bar]", + [["stylewithcss","true"],["bold",""]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["[foo bar]", + [["stylewithcss","false"],["bold",""]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["

[foo

bar

baz]

", + [["stylewithcss","true"],["bold",""]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["

[foo

bar

baz]

", + [["stylewithcss","false"],["bold",""]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["

[foo


bar]", + [["stylewithcss","true"],["bold",""]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["

[foo


bar]", + [["stylewithcss","false"],["bold",""]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[]bar", + [["bold",""]], + "foo[]bar", + [true], + {"bold":[false,true,"",false,false,""]}], +["foo[]bar", + [["bold",""]], + "foo[]bar", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo{}bar", + [["bold",""]], + "foo{}bar", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo[]bar", + [["bold",""]], + "foo[]bar", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[barbaz]qozquz", + [["bold",""]], + "foo[barbaz]qozquz", + [true], + {"bold":[true,false,"",false,true,""]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["bold",""]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["bold",""]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["{

foo

}", + [["stylewithcss","true"],["bold",""]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["{

foo

}", + [["stylewithcss","false"],["bold",""]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["bold",""]], + "foo[bar]baz", + [false], + {"bold":[false,false,"",false,false,""]}], +["fo[obarb]az", + [["stylewithcss","true"],["bold",""]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["fo[obarb]az", + [["stylewithcss","false"],["bold",""]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["fooba[rb]az", + [["bold",""]], + "fooba[rb]az", + [false], + {"bold":[false,false,"",false,false,""]}], +["fo[ob]arbaz", + [["bold",""]], + "fo[ob]arbaz", + [false], + {"bold":[false,false,"",false,false,""]}], +["fo[obarb]az", + [["stylewithcss","true"],["bold",""]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["fo[obarb]az", + [["stylewithcss","false"],["bold",""]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["fo[obarb]az", + [["bold",""]], + "fo[obarb]az", + [false], + {"bold":[false,false,"",false,false,""]}], +["fooba[rb]az", + [["bold",""]], + "fooba[rb]az", + [false], + {"bold":[false,false,"",false,false,""]}], +["fo[ob]arbaz", + [["bold",""]], + "fo[ob]arbaz", + [false], + {"bold":[false,false,"",false,false,""]}], +["fo[obarb]az", + [["bold",""]], + "fo[obarb]az", + [false], + {"bold":[false,true,"",false,true,""]}], +["
foob[a]rbaz
", + [["stylewithcss","true"],["bold",""]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["
foob[a]rbaz
", + [["stylewithcss","false"],["bold",""]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","true"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","false"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","true"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","false"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","true"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","false"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","true"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["
foobarbaz
", + [["stylewithcss","false"],["bold",""]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["{
foobarbaz
}", + [["stylewithcss","true"],["bold",""]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["{
foobarbaz
}", + [["stylewithcss","false"],["bold",""]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foobar[baz]", + [["bold",""]], + "foobar[baz]", + [true], + {"bold":[false,false,"",false,true,""]}], +["[foo]barbaz", + [["bold",""]], + "[foo]barbaz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foobar[baz]", + [["bold",""]], + "foobar[baz]", + [true], + {"bold":[false,false,"",false,true,""]}], +["[foo]barbaz", + [["bold",""]], + "[foo]barbaz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["bold",""]], + "foo[bar]baz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["bold",""]], + "foo[bar]baz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo{}baz", + [["bold",""]], + "foo{}baz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo{}baz", + [["bold",""]], + "foo{}baz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo{}baz", + [["bold",""]], + "foo{}baz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo{}baz", + [["bold",""]], + "foo{}baz", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["bold",""]], + "foo[bar]baz", + [true], + {"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["bold",""]], + "foo[bar]baz", + [true], + {"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["bold",""]], + "foo[bar]baz", + [true], + {"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["bold",""]], + "foo[bar]baz", + [true], + {"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["{

foo

bar

}

baz

", + [["stylewithcss","true"],["bold",""]], + "{

foo

bar

}

baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["{

foo

bar

}

baz

", + [["stylewithcss","false"],["bold",""]], + "{

foo

bar

}

baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["

foo[bar}

baz

", + [["stylewithcss","true"],["bold",""]], + "

foo[bar}

baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["

foo[bar}

baz

", + [["stylewithcss","false"],["bold",""]], + "

foo[bar}

baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo [bar baz] qoz quz sic", + [["bold",""]], + "foo [bar baz] qoz quz sic", + [true], + {"bold":[true,false,"",false,true,""]}], +["foo bar baz [qoz quz] sic", + [["bold",""]], + "foo bar baz [qoz quz] sic", + [true], + {"bold":[true,false,"",false,true,""]}], +["bar [baz] qoz", + [["stylewithcss","true"],["bold",""]], + "bar [baz] qoz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["bar [baz] qoz", + [["stylewithcss","false"],["bold",""]], + "bar [baz] qoz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["{foobar]baz", + [["stylewithcss","true"],["bold",""]], + "{foobar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["{foobar]baz", + [["stylewithcss","false"],["bold",""]], + "{foobar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["{foobar]baz", + [["stylewithcss","true"],["bold",""]], + "{foobar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["{foobar]baz", + [["stylewithcss","false"],["bold",""]], + "{foobar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["{foobar]baz", + [["stylewithcss","true"],["bold",""]], + "{foobar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["{foobar]baz", + [["stylewithcss","false"],["bold",""]], + "{foobar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["{foobar]baz", + [["bold",""]], + "{foobar]baz", + [true], + {"bold":[false,true,"",false,false,""]}], +["foo[barbaz}", + [["stylewithcss","true"],["bold",""]], + "foo[barbaz}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[barbaz}", + [["stylewithcss","false"],["bold",""]], + "foo[barbaz}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[barbaz}", + [["stylewithcss","true"],["bold",""]], + "foo[barbaz}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[barbaz}", + [["stylewithcss","false"],["bold",""]], + "foo[barbaz}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[barbaz}", + [["stylewithcss","true"],["bold",""]], + "foo[barbaz}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[barbaz}", + [["stylewithcss","false"],["bold",""]], + "foo[barbaz}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[barbaz}", + [["bold",""]], + "foo[barbaz}", + [true], + {"bold":[false,true,"",false,false,""]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["bold",""]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["bold",""]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["{

foobar]baz

", + [["stylewithcss","true"],["bold",""]], + "{

foobar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["{

foobar]baz

", + [["stylewithcss","false"],["bold",""]], + "{

foobar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["

foo[barbaz

}", + [["stylewithcss","true"],["bold",""]], + "

foo[barbaz

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["

foo[barbaz

}", + [["stylewithcss","false"],["bold",""]], + "

foo[barbaz

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["

[foobarbaz]

", + [["stylewithcss","true"],["bold",""]], + "

[foobarbaz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["

[foobarbaz]

", + [["stylewithcss","false"],["bold",""]], + "

[foobarbaz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["{

foobarbaz]

", + [["stylewithcss","true"],["bold",""]], + "{

foobarbaz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["{

foobarbaz]

", + [["stylewithcss","false"],["bold",""]], + "{

foobarbaz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["

[foobarbaz

}", + [["stylewithcss","true"],["bold",""]], + "

[foobarbaz

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["

[foobarbaz

}", + [["stylewithcss","false"],["bold",""]], + "

[foobarbaz

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["{

foobarbaz

}", + [["stylewithcss","true"],["bold",""]], + "{

foobarbaz

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["{

foobarbaz

}", + [["stylewithcss","false"],["bold",""]], + "{

foobarbaz

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foobar[baz]quzqoz", + [["stylewithcss","true"],["bold",""]], + "foobar[baz]quzqoz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foobar[baz]quzqoz", + [["stylewithcss","false"],["bold",""]], + "foobar[baz]quzqoz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["{foo bar}", + [["stylewithcss","true"],["bold",""]], + "{foo bar}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[true,false,"",false,true,""]}], +["{foo bar}", + [["stylewithcss","false"],["bold",""]], + "{foo bar}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[true,false,"",false,true,""]}], +["{

foo

bar}", + [["stylewithcss","true"],["bold",""]], + "{

foo

bar}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["{

foo

bar}", + [["stylewithcss","false"],["bold",""]], + "{

foo

bar}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]", + [["bold",""]], + "foo[bar]", + [true], + {"bold":[false,false,"",false,true,""]}], +["foo{bar}baz", + [["stylewithcss","true"],["bold",""]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo{bar}baz", + [["stylewithcss","false"],["bold",""]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["[foobarbaz]", + [["stylewithcss","true"],["bold",""]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["[foobarbaz]", + [["stylewithcss","false"],["bold",""]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["[foo]", + [["stylewithcss","true"],["bold",""]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["[foo]", + [["stylewithcss","false"],["bold",""]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["bold",""]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["bold",""]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["bold",""]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["fo[ob]arbaz", + [["bold",""]], + "fo[ob]arbaz", + [true], + {"bold":[true,false,"",false,true,""]}], +["fooba[rb]az", + [["bold",""]], + "fooba[rb]az", + [true], + {"bold":[true,false,"",false,true,""]}], +["fo[obarb]az", + [["stylewithcss","true"],["bold",""]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[true,false,"",false,true,""]}], +["fo[obarb]az", + [["stylewithcss","false"],["bold",""]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[true,false,"",false,true,""]}], +["foo[b]arbaz", + [["stylewithcss","true"],["bold",""]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo[b]arbaz", + [["stylewithcss","false"],["bold",""]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["fooba[r]baz", + [["stylewithcss","true"],["bold",""]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["fooba[r]baz", + [["stylewithcss","false"],["bold",""]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["foo{bar}baz", + [["stylewithcss","true"],["bold",""]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["foo{bar}baz", + [["stylewithcss","false"],["bold",""]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["fo[ob]arbaz", + [["bold",""]], + "fo[ob]arbaz", + [true], + {"bold":[true,false,"",false,true,""]}], +["fo[ob]ar", + [["bold",""]], + "fo[ob]ar", + [true], + {"bold":[false,true,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[true,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[true,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["bold",""]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}] +] diff --git a/tests/wpt/web-platform-tests/editing/data/createlink.js b/tests/wpt/web-platform-tests/editing/data/createlink.js new file mode 100644 index 000000000000..275fcbd59959 --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/createlink.js @@ -0,0 +1,242 @@ +var browserTests = [ +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["

[foo

bar]

", + [["createlink","http://www.google.com/"]], + "

[foo

bar]

", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foo bar]", + [["createlink","http://www.google.com/"]], + "[foo bar]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["

[foo

bar

baz]

", + [["createlink","http://www.google.com/"]], + "

[foo

bar

baz]

", + [true], + {"createlink":[false,false,"",false,false,""]}], +["

[foo


bar]", + [["createlink","http://www.google.com/"]], + "

[foo


bar]

", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo{}bar", + [["createlink","http://www.google.com/"]], + "foo{}bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]qozquz", + [["createlink","http://www.google.com/"]], + "foo[barbaz]qozquz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]qozquz", + [["createlink","http://www.google.com/"]], + "foo[barbaz]qozquz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{

foo

}", + [["createlink","http://www.google.com/"]], + "{

foo

}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foob[a]rbaz
", + [["createlink","http://www.google.com/"]], + "
foob[a]rbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{
foobarbaz
}", + [["createlink","http://www.google.com/"]], + "{
foobarbaz
}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz}", + [["createlink","http://www.google.com/"]], + "foo[barbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobar]baz", + [["createlink","http://www.google.com/"]], + "{foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobarbaz}", + [["createlink","http://www.google.com/"]], + "{foobarbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foo]barbaz", + [["createlink","http://www.google.com/"]], + "[foo]barbaz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foobar[baz]", + [["createlink","http://www.google.com/"]], + "foobar[baz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]", + [["createlink","http://www.google.com/"]], + "foo[barbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobar]baz", + [["createlink","http://www.google.com/"]], + "[foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz}", + [["createlink","http://www.google.com/"]], + "foo[barbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobar]baz", + [["createlink","http://www.google.com/"]], + "{foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobarbaz}", + [["createlink","http://www.google.com/"]], + "{foobarbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]", + [["createlink","http://www.google.com/"]], + "foo[barbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobar]baz", + [["createlink","http://www.google.com/"]], + "[foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz}", + [["createlink","http://www.google.com/"]], + "foo[barbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobar]baz", + [["createlink","http://www.google.com/"]], + "{foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink",""]], + "foo[bar]baz", + [false], + {"createlink":[false,false,"",false,false,""]}] +] diff --git a/tests/wpt/web-platform-tests/editing/data/delete.js b/tests/wpt/web-platform-tests/editing/data/delete.js new file mode 100644 index 000000000000..0ee5805d49f5 --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/delete.js @@ -0,0 +1,2472 @@ +var browserTests = [ +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo{}bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foobar[]baz", + [["stylewithcss","true"],["delete",""]], + "fo[]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["foobar[]baz", + [["stylewithcss","false"],["delete",""]], + "fo[]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["foo[]baz", + [["delete",""]], + "fo[]baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foö[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foö[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foö̧[]bar", + [["delete",""]], + "foö[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["ö[]bar", + [["delete",""]], + "{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["ö[]bar", + [["delete",""]], + "o[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["ö̧[]bar", + [["delete",""]], + "ö[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["שָׁ[]לוֹם", + [["delete",""]], + "שׁ[]לוֹם", + [true], + {"delete":[false,false,"",false,false,""]}], +["שָׁלוֹ[]ם", + [["delete",""]], + "שָׁלו[]ם", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo
{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo
{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo
{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["delete",""]], + "foo

{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "
foo{}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "
foo{}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
foo
[]bar", + [["delete",""]], + "
foo{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo


[]bar", + [["delete",""]], + "

foo

{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo


[]bar

", + [["delete",""]], + "

foo

{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo



[]bar

", + [["delete",""]], + "

foo


{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo

{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo

{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  []", + [["delete",""]], + "foo []", + [true], + {"delete":[false,false,"",false,false,""]}], +[" [] foo", + [["delete",""]], + "{} foo", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  []bar", + [["delete",""]], + "foo []bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  []bar", + [["delete",""]], + "foo []bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  []bar", + [["delete",""]], + "foo []bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo []bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo []  bar", + [["delete",""]], + "foo[]  bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  [] bar", + [["delete",""]], + "foo [] bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo   []bar", + [["delete",""]], + "foo  []bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo []  bar", + [["delete",""]], + "foo[]  bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  [] bar", + [["delete",""]], + "foo {} bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo   []bar", + [["delete",""]], + "foo  {}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  []bar", + [["delete",""]], + "foo {}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  []bar", + [["delete",""]], + "foo {}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo  []bar", + [["delete",""]], + "foo {}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo []bar", + [["delete",""]], + "foo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[] bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[] bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
foo  []
", + [["delete",""]], + "
foo []
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
 [] foo
", + [["delete",""]], + "
{} foo
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []
", + [["delete",""]], + "
foo []
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
 [] foo
", + [["delete",""]], + "
{} foo
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []
", + [["delete",""]], + "
foo []
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
 [] foo
", + [["delete",""]], + "
{} foo
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []
", + [["delete",""]], + "
foo []
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
 [] foo
", + [["delete",""]], + "
{} foo
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo []bar
", + [["delete",""]], + "
foo[]bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []
", + [["delete",""]], + "
foo []
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
 [] foo
", + [["delete",""]], + "
{} foo
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo  []bar
", + [["delete",""]], + "
foo []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo []bar
", + [["delete",""]], + "
foo[]bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar
baz", + [["delete",""]], + "foo
[]bar
baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
bar
[]baz", + [["delete",""]], + "foo{
bar
}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo
[]bar

baz", + [["delete",""]], + "

foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo
bar

[]baz", + [["delete",""]], + "

foo

{
bar
}

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo[]bar
", + [["delete",""]], + "
foo{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["delete",""]], + "
foo
{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar
baz", + [["delete",""]], + "foo
[]bar
baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
bar
[]baz", + [["delete",""]], + "foo{
bar
}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo
[]bar

baz", + [["delete",""]], + "

foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo
bar

[]baz", + [["delete",""]], + "

foo

{
bar
}

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["delete",""]], + "
foo{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["delete",""]], + "
foo
{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar
baz", + [["delete",""]], + "foo

[]bar
baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
bar

[]baz", + [["delete",""]], + "foo{
bar

}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar

baz", + [["delete",""]], + "

foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo
bar

[]baz", + [["delete",""]], + "

foo

{
bar

}

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo

[]bar
", + [["delete",""]], + "
foo

{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo

[]bar
", + [["delete",""]], + "
foo

{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar
baz", + [["delete",""]], + "foo
[]bar
baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
bar
[]baz", + [["delete",""]], + "foo{
bar
}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["delete",""]], + "
foo
{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["delete",""]], + "
foo
{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar
  2. baz
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo
[]bar
  1. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar
  2. baz
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

  1. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar
  2. baz
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo
[]bar
  1. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar
  2. baz
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

  1. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

  1. []bar
  2. baz
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo

[]bar
  1. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

  1. []bar
  2. baz
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

  1. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo
  2. []bar
", + [["delete",""]], + "
  1. foo
    []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
  2. []bar
", + [["delete",""]], + "
  1. foo
    []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

  2. []bar
", + [["delete",""]], + "
  1. foo

    []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
  2. []bar
    baz
", + [["delete",""]], + "
  1. foo
    []bar
    baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
    bar
  2. []baz
", + [["delete",""]], + "
  1. foo
    bar
    []baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

    {}bar
", + [["delete",""]], + "
  1. foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

  2. []bar
", + [["delete",""]], + "
  1. foo

    []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
  2. []bar

", + [["delete",""]], + "
  1. foo

    []bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

  2. []bar

", + [["delete",""]], + "
  1. foo

    []bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
    • []bar
", + [["delete",""]], + "
  1. foo
  2. []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
    1. []bar
", + [["delete",""]], + "foo
  1. []bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo
[]bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo
[]bar
baz
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo
[]bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
[]bar
baz
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo
[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo
[]bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
", + [["delete",""]], + "
foo
[]bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
[]bar
baz
", + [["delete",""]], + "
foo
[]bar
baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
bar
[]baz
", + [["delete",""]], + "
foo
bar
[]baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
[]bar", + [["delete",""]], + "
  1. foo{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
[]bar", + [["delete",""]], + "
  1. foo{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["delete",""]], + "
  1. foo
    {}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["

[]bar", + [["delete",""]], + "
  1. {}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["delete",""]], + "
  1. foo
  2. {}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo{}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo{}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo{}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo{}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo
    {}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo
    {}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. {}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. {}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo
  2. {}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo
  2. {}bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
", + [["delete",""]], + "
  1. foo{}
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
", + [["delete",""]], + "
  1. foo{}
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["delete",""]], + "
  1. foo
    {}
", + [true], + {"delete":[false,false,"",false,false,""]}], +["

{}
", + [["delete",""]], + "
  1. {}
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["delete",""]], + "
  1. foo
  2. {}
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo{}
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo{}
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo{}
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo{}
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo
    {}
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo
    {}
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

{}
", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. {}
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

{}
", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. {}
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","div"],["delete",""]], + "

  1. foo
  2. {}
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}
", + [["defaultparagraphseparator","p"],["delete",""]], + "

  1. foo
  2. {}
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo
[]bar
", + [["delete",""]], + "foo
[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar
", + [["delete",""]], + "foo
[]bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar
", + [["delete",""]], + "foo
[]bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo
[]bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo
[]bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

baz

", + [["delete",""]], + "foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

baz

", + [["delete",""]], + "foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

baz

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo

[]bar

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

baz

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

baz

", + [["delete",""]], + "foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

baz

", + [["delete",""]], + "foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

baz

", + [["delete",""]], + "foo

[]bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar

extra", + [["defaultparagraphseparator","div"],["delete",""]], + "foo

[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
  1. []bar

extra", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo
bar
  1. []baz
quz

extra", + [["defaultparagraphseparator","div"],["delete",""]], + "foo

bar
[]baz
quz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
bar
  1. []baz
quz

extra", + [["defaultparagraphseparator","p"],["delete",""]], + "foo

bar

[]baz

quz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo
  1. bar
    1. []baz
  2. quz

extra", + [["delete",""]], + "foo

  1. bar
  2. []baz
  3. quz

extra

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
[]bar", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[]bar", + [["delete",""]], + "fo[]bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["delete",""]], + "

foo{}bar

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["delete",""]], + "

foo{}bar

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["delete",""]], + "

foo{}bar

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["delete",""]], + "

foo{}bar

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[]bar", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["delete",""]], + "foo[]baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo[bar]baz", + [["stylewithcss","true"],["delete",""]], + "

foo{}baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo[bar]baz", + [["stylewithcss","false"],["delete",""]], + "

foo{}baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

foo{bar}baz", + [["stylewithcss","true"],["delete",""]], + "

foo{}baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo{bar}baz", + [["stylewithcss","false"],["delete",""]], + "

foo{}baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

foo{bar}baz", + [["stylewithcss","true"],["delete",""]], + "

foo{}baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo{bar}baz", + [["stylewithcss","false"],["delete",""]], + "

foo{}baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

[foobar]baz", + [["stylewithcss","true"],["delete",""]], + "

{}baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

[foobar]baz", + [["stylewithcss","false"],["delete",""]], + "

{}baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

{foobar}baz", + [["stylewithcss","true"],["delete",""]], + "

{}baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

{foobar}baz", + [["stylewithcss","false"],["delete",""]], + "

{}baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

foo[barbaz]", + [["stylewithcss","true"],["delete",""]], + "

foo{}

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo[barbaz]", + [["stylewithcss","false"],["delete",""]], + "

foo{}

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

foo{barbaz}", + [["stylewithcss","true"],["delete",""]], + "

foo{}

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo{barbaz}", + [["stylewithcss","false"],["delete",""]], + "

foo{}

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["

foo[barbaz]quz", + [["stylewithcss","true"],["delete",""]], + "

foo{}quz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["

foo[barbaz]quz", + [["stylewithcss","false"],["delete",""]], + "

foo{}quz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","true"],["delete",""]], + "foo{}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["stylewithcss","false"],["delete",""]], + "foo{}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["foo{bar}baz", + [["stylewithcss","true"],["delete",""]], + "foo{}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["foo{bar}baz", + [["stylewithcss","false"],["delete",""]], + "foo{}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["foo{bar}baz", + [["stylewithcss","true"],["delete",""]], + "foo{}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["foo{bar}baz", + [["stylewithcss","false"],["delete",""]], + "foo{}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["delete",""]], + "foo{}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo{bar}baz", + [["delete",""]], + "foo{}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo{bar}baz", + [["delete",""]], + "foo{}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[barbaz]quz", + [["delete",""]], + "foo[]quz", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

[bar]

baz

", + [["delete",""]], + "

foo

{}

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

{bar}

baz

", + [["delete",""]], + "

foo

{}

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

{bar

}

baz

", + [["delete",""]], + "

foo

{}

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

{

bar}

baz

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo

{}

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

{

bar}

baz

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo

{}

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

{

bar

}

baz

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo

{}

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

{

bar

}

baz

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo

{}

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz
", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz
", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz

", + [["delete",""]], + "

foo{}quz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo[bar

baz]quz", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
foo[bar

baz]quz", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
foo[bar
baz]quz
", + [["delete",""]], + "
foo{}quz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz

qozfoo{}quz

qoz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz

qozfoo{}quz

qoz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz

", + [true,true,true], + {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz

", + [true,true,true], + {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[bar

baz]quz", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}quz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

[bar

baz]

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo

{}

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

[bar

baz]

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo

{}

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo[
]bar", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo[

]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[

]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[

]bar
baz

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar
baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo[

]bar
baz

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar
baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo[

]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo[

]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo{

}bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo{

}bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo[

]bar
baz

", + [["delete",""]], + "foo{}bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[

]bar

baz", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar
baz", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo[

]bar

baz", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar
baz", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo{

bar

}baz", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}baz", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo{

bar

}baz", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}baz", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

{bar

}baz", + [["delete",""]], + "foo

{}baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo{

bar}

baz", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}
baz", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo{

bar}

baz", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}
baz", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[

]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo{

}bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo[

]bar
baz", + [["delete",""]], + "

foo{}bar

baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo[

]bar

baz

", + [["delete",""]], + "

foo{}bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[

]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo[

]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo[

]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[

]bar

baz
", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo[

]bar

baz
", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo[
]bar

baz

", + [["delete",""]], + "foo{}bar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

bar[
]baz", + [["delete",""]], + "

foo

bar{}baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo

bar[

]baz", + [["delete",""]], + "
foo

bar{}baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo
{

]bar", + [["delete",""]], + "

foo{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

{

]bar", + [["delete",""]], + "

foo
{}bar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo
{

]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo
{

]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["foo

{

]bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "foo
{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["foo

{

]bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "foo
{}bar", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo
{

}bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo
{

}bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

{

}bar

", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo
{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

{

}bar

", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo
{}bar

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
foo[bar]baz
quzqozqiz
", + [["delete",""]], + "
foo{}
baz
quzqozqiz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
fooba[rb]az
quzqozqiz
", + [["delete",""]], + "
fooba[]az
quzqozqiz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
fo[obarb]az
quzqozqiz
", + [["delete",""]], + "
fo[]
az
quzqozqiz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foobarba[z
q]uzqozqiz
", + [["delete",""]], + "
foobarba[]
uzqozqiz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
[foobarbaz]
quzqozqiz
", + [["delete",""]], + "
{}


quzqozqiz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
[foobarbaz
quzqozqiz]
", + [["delete",""]], + "
{}





", + [true], + {"delete":[false,false,"",false,false,""]}], +["{
foobarbaz
quzqozqiz
}", + [["delete",""]], + "{}
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
fooba[r
bazquz
q]ozqiz
", + [["delete",""]], + "
fooba[]


ozqiz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["

fo[o
b]ar

baz", + [["delete",""]], + "

fo[]

ar

baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo
ba[r

b]az", + [["delete",""]], + "

foo

ba[]

az

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

fo[o
bar

b]az", + [["defaultparagraphseparator","div"],["delete",""]], + "

fo{}az

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

fo[o
bar

b]az", + [["defaultparagraphseparator","p"],["delete",""]], + "

fo{}az

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

foo

  1. ba[r
  2. b]az

quz", + [["delete",""]], + "

foo

  1. ba{}az

quz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

  1. bar
  2. [baz]

quz", + [["delete",""]], + "

foo

  1. bar
  2. {}

quz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

fo[o

  1. b]ar
  2. baz

quz", + [["delete",""]], + "

fo{}ar

  1. baz

quz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

foo

  1. bar
  2. ba[z

q]uz", + [["defaultparagraphseparator","div"],["delete",""]], + "

foo

  1. bar
  2. ba{}uz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

foo

  1. bar
  2. ba[z

q]uz", + [["defaultparagraphseparator","p"],["delete",""]], + "

foo

  1. bar
  2. ba{}uz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

fo[o

  1. bar
  2. b]az

quz", + [["delete",""]], + "

fo{}az

quz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

fo[o

  1. bar
  2. baz

q]uz", + [["defaultparagraphseparator","div"],["delete",""]], + "

fo{}uz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["

fo[o

  1. bar
  2. baz

q]uz", + [["defaultparagraphseparator","p"],["delete",""]], + "

fo{}uz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. fo[o
  1. b]ar
", + [["delete",""]], + "
  1. fo{}ar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. fo[o
  • b]ar
", + [["delete",""]], + "
  1. fo{}ar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[
  1. ]bar
", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo[
  2. ]bar
", + [["delete",""]], + "
  1. foo{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[
]bar
baz
", + [["delete",""]], + "foo{}bar
baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo[
]bar
", + [["delete",""]], + "foo{}bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo[
]bar
", + [["delete",""]], + "
foo{}bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo[
]bar
baz
", + [["delete",""]], + "
foo{}bar
baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
foo
bar[
]baz
", + [["delete",""]], + "
foo
bar{}baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo [ bar]", + [["delete",""]], + "foo []", + [true], + {"delete":[false,false,"",false,false,""]}], +["foo [ bar]", + [["delete",""]], + "foo []", + [true], + {"delete":[false,false,"",false,false,""]}], +["[foo ] bar", + [["delete",""]], + "{} bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["[foo ] bar", + [["delete",""]], + "{} bar", + [true], + {"delete":[false,false,"",false,false,""]}], +["

fo[o

b]ar", + [["delete",""]], + "

fo[]

ar

", + [true], + {"delete":[false,false,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["delete",""]], + "fo{}ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["delete",""]], + "fo{}ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["fo[ob]ar", + [["delete",""]], + "fo[]ar", + [true], + {"delete":[false,false,"",false,false,""]}], +["fo[ob]ar", + [["delete",""]], + "fo[]ar", + [true], + {"delete":[false,false,"",false,false,""]}], +["fo[ob]ar", + [["delete",""]], + "fo[]ar", + [true], + {"delete":[false,false,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","true"],["delete",""]], + "fo{}ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}], +["fo[ob]ar", + [["stylewithcss","false"],["delete",""]], + "fo{}ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
  1. bar
", + [["delete",""]], + "
  1. foo{}
  2. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}

  1. bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "
  1. foo{}
  2. bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}

  1. bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "
  1. foo{}
  2. bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}

  1. bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "
  1. foo{}

  2. bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}

  1. bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "
  1. foo{}

  2. bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
  1. bar
", + [["delete",""]], + "
  1. foo{}
  2. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
  1. bar
", + [["delete",""]], + "
  1. foo{}
  2. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
  1. bar
", + [["delete",""]], + "
  1. foo{}
  2. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
  1. bar
", + [["delete",""]], + "
  1. foo{}
  2. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
    1. foo
  1. {}
    1. bar
", + [["delete",""]], + "
    1. foo{}
    2. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo[
bar]
  1. baz
", + [["delete",""]], + "
  1. foo{}
  2. baz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo[

bar]

  1. baz
", + [["defaultparagraphseparator","div"],["delete",""]], + "
  1. foo{}
  2. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo[

bar]

  1. baz
", + [["defaultparagraphseparator","p"],["delete",""]], + "
  1. foo{}
  2. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo[

bar]

  1. baz
", + [["defaultparagraphseparator","div"],["delete",""]], + "
  1. foo{}

  2. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo[

bar]

  1. baz
", + [["defaultparagraphseparator","p"],["delete",""]], + "
  1. foo{}

  2. baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo[]
  1. bar
", + [["delete",""]], + "
  1. fo[]
  1. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
[bar
  1. ]baz
", + [["delete",""]], + "
  1. foo
{}baz", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

[bar

  1. ]baz
", + [["delete",""]], + "
  1. foo

{}baz

", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

[bar

  1. ]baz

", + [["defaultparagraphseparator","div"],["delete",""]], + "
  1. foo

{}baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

[bar

  1. ]baz

", + [["defaultparagraphseparator","p"],["delete",""]], + "
  1. foo

{}baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo
  1. b[]ar
", + [["delete",""]], + "
  1. foo
  1. {}ar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
    1. foo[
  1. bar
baz]
  1. quz
", + [["delete",""]], + "
    1. foo{}
  1. quz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  • foo
{}
  • bar
", + [["delete",""]], + "
  • foo{}
  • bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  • foo

{}

  • bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "
  • foo{}
  • bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  • foo

{}

  • bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "
  • foo{}
  • bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  1. foo[
  2. bar]
  1. baz
  1. quz
", + [["delete",""]], + "
  1. foo{}
  2. baz
  3. quz
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo
{}
  • bar
", + [["delete",""]], + "
  1. foo{}
  • bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}

  • bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "
  1. foo{}
  • bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  1. foo

{}

  • bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "
  1. foo{}
  • bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["
  • foo
{}
  1. bar
", + [["delete",""]], + "
  • foo{}
  1. bar
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
  • foo

{}

  1. bar
", + [["defaultparagraphseparator","div"],["delete",""]], + "
  • foo{}
  1. bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}], +["
  • foo

{}

  1. bar
", + [["defaultparagraphseparator","p"],["delete",""]], + "
  • foo{}
  1. bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}], +["

[foo]", + [["delete",""]], + "

{}

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

[foo]", + [["delete",""]], + "

{}

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

[foo]", + [["delete",""]], + "

{}

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

{foo}", + [["delete",""]], + "

{}

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

{foo}", + [["delete",""]], + "

{}

", + [true], + {"delete":[false,false,"",false,false,""]}], +["

f[]", + [["delete",""]], + "

{}

", + [true], + {"delete":[false,false,"",false,false,""]}], +["[foo]", + [["delete",""]], + "{}
", + [true], + {"delete":[false,false,"",false,false,""]}], +["
[foo]
", + [["delete",""]], + "
{}
", + [true], + {"delete":[false,false,"",false,false,""]}] +] diff --git a/tests/wpt/web-platform-tests/editing/data/fontname.js b/tests/wpt/web-platform-tests/editing/data/fontname.js new file mode 100644 index 000000000000..9f0cebd3e683 --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/fontname.js @@ -0,0 +1,707 @@ +var browserTests = [ +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar]

", + [["stylewithcss","true"],["fontname","sans-serif"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar]

", + [["stylewithcss","false"],["fontname","sans-serif"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["[foo bar]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["[foo bar]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar

baz]

", + [["stylewithcss","true"],["fontname","sans-serif"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar

baz]

", + [["stylewithcss","false"],["fontname","sans-serif"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo


bar]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo


bar]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo{}bar", + [["fontname","sans-serif"]], + "foo{}bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{

foo

}", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{

foo

}", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foob[a]rbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foob[a]rbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{
foobarbaz
}", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{
foobarbaz
}", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
[bar]
baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo
[bar]
baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
[bar]
baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo
[bar]
baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
b[a]r
baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo
b[a]r
baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
b[a]r
baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo
b[a]r
baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
bar
baz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foo
bar
baz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
bar
baz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foo
bar
baz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
ba]r
baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foo
ba]r
baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
ba]r
baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foo
ba]r
baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo
b[ar
baz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo
b[ar
baz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo
b[ar
baz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo
b[ar
baz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["fontname","sans-serif"]], + "foob[a]rbaz", + [true], + {"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fooba[rb]az", + [["fontname","sans-serif"]], + "fooba[rb]az", + [false], + {"fontname":[false,false,"serif",false,false,"serif"]}], +["fo[ob]arbaz", + [["fontname","sans-serif"]], + "fo[ob]arbaz", + [false], + {"fontname":[false,false,"serif",false,false,"serif"]}], +["foo{}
bar", + [["fontname","sans-serif"]], + "foo{}
bar", + [true], + {"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{
}bar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo{
}bar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{
}bar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo{
}bar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{
b]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo{
b]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo{
b]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo{
b]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]arbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]arbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fooba[rb]az", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["fooba[rb]az", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["fo[obarb]az", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[obarb]az", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["foo[b]arbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[b]arbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fooba[r]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fooba[r]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{bar}baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{bar}baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[o
b]ar
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[o
b]ar
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[o
b]ar
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[o
b]ar
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["
fo[o
b]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "
fo[o
b]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["
fo[o
b]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "
fo[o
b]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}] +] diff --git a/tests/wpt/web-platform-tests/editing/data/fontsize.js b/tests/wpt/web-platform-tests/editing/data/fontsize.js new file mode 100644 index 000000000000..8ab0f24c278f --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/fontsize.js @@ -0,0 +1,782 @@ +var browserTests = [ +["foo[]bar", + [["fontsize","4"]], + "foo[]bar", + [true], + {"fontsize":[false,false,"3",false,false,"4"]}], +["

[foo

bar]

", + [["stylewithcss","true"],["fontsize","4"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["

[foo

bar]

", + [["stylewithcss","false"],["fontsize","4"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["[foo bar]", + [["stylewithcss","true"],["fontsize","4"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["[foo bar]", + [["stylewithcss","false"],["fontsize","4"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["

[foo

bar

baz]

", + [["stylewithcss","true"],["fontsize","4"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["

[foo

bar

baz]

", + [["stylewithcss","false"],["fontsize","4"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["

[foo


bar]", + [["stylewithcss","true"],["fontsize","4"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",true,false,"4"]}], +["

[foo


bar]", + [["stylewithcss","false"],["fontsize","4"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",true,false,"4"]}], +["foo[]bar", + [["fontsize","4"]], + "foo[]bar", + [true], + {"fontsize":[false,false,"3",false,false,"4"]}], +["foo[]bar", + [["fontsize","4"]], + "foo[]bar", + [true], + {"fontsize":[false,false,"3",false,false,"4"]}], +["foo{}bar", + [["fontsize","4"]], + "foo{}bar", + [true], + {"fontsize":[false,false,"3",false,false,"4"]}], +["foo[]bar", + [["fontsize","4"]], + "foo[]bar", + [true], + {"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["{

foo

}", + [["stylewithcss","true"],["fontsize","4"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["{

foo

}", + [["stylewithcss","false"],["fontsize","4"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","0"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","0"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","-5"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","-5"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","6"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"6"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","6"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"6"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","7"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","7"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","8"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","8"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","100"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","100"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["fontsize","2em"]], + "foo[bar]baz", + [false], + {"fontsize":[false,false,"3",false,false,"3"]}], +["foo[bar]baz", + [["fontsize","20pt"]], + "foo[bar]baz", + [false], + {"fontsize":[false,false,"3",false,false,"3"]}], +["foo[bar]baz", + [["fontsize","xx-large"]], + "foo[bar]baz", + [false], + {"fontsize":[false,false,"3",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize"," 1 "]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize"," 1 "]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["fontsize","1."]], + "foo[bar]baz", + [false], + {"fontsize":[false,false,"3",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","1.0"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","1.0"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","1.0e2"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","1.0e2"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","1.1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","1.1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","1.9"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","1.9"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["fontsize","+0"]], + "foo[bar]baz", + [true], + {"fontsize":[false,false,"3",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","+1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","+1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","+9"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","+9"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], +["foo[bar]baz", + [["fontsize","-0"]], + "foo[bar]baz", + [true], + {"fontsize":[false,false,"3",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","-1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"2"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","-1"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"2"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","-9"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","-9"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], +["foo[bar]baz", + [["fontsize",""]], + "foo[bar]baz", + [false], + {"fontsize":[false,false,"3",false,false,"3"]}], +["
foob[a]rbaz
", + [["stylewithcss","true"],["fontsize","4"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foob[a]rbaz
", + [["stylewithcss","false"],["fontsize","4"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontsize","4"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["{
foobarbaz
}", + [["stylewithcss","true"],["fontsize","4"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["{
foobarbaz
}", + [["stylewithcss","false"],["fontsize","4"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}], +["foo[bar]baz", + [["fontsize","4"]], + "foo[bar]baz", + [true], + {"fontsize":[false,false,"4",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}], +["foo[bar]baz", + [["fontsize","4"]], + "foo[bar]baz", + [true], + {"fontsize":[false,false,"4",false,false,"4"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontsize","4"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontsize","4"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}], +["foo[bar]baz", + [["fontsize","4"]], + "foo[bar]baz", + [true], + {"fontsize":[false,false,"4",false,false,"4"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontsize","4"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontsize","4"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["fontsize","4"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["fontsize","4"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["fontsize","4"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["fontsize","4"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["

foo[bar]baz

", + [["fontsize","4"]], + "

foo[bar]baz

", + [true], + {"fontsize":[false,false,"4",false,false,"4"]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["fontsize","4"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["fontsize","4"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["fontsize","3"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"3"]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["fontsize","3"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"3"]}], +["

foo[bar]baz

", + [["fontsize","3"]], + "

foo[bar]baz

", + [true], + {"fontsize":[false,false,"3",false,false,"3"]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["fontsize","3"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["fontsize","3"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], +["

foo[bar]baz

", + [["stylewithcss","true"],["fontsize","3"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"3"]}], +["

foo[bar]baz

", + [["stylewithcss","false"],["fontsize","3"]], + "

foo[bar]baz

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"3"]}], +["foo b[a]r baz", + [["stylewithcss","true"],["fontsize","3"]], + "foo b[a]r baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"7",false,false,"3"]}], +["foo b[a]r baz", + [["stylewithcss","false"],["fontsize","3"]], + "foo b[a]r baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"7",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","3"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","3"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontsize","3"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontsize","3"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","3"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","3"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontsize","3"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontsize","3"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}], +["fo[ob]arbaz", + [["stylewithcss","true"],["fontsize","4"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}], +["fo[ob]arbaz", + [["stylewithcss","false"],["fontsize","4"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}], +["fooba[rb]az", + [["stylewithcss","true"],["fontsize","4"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"2",false,false,"4"]}], +["fooba[rb]az", + [["stylewithcss","false"],["fontsize","4"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"2",false,false,"4"]}], +["fo[obarb]az", + [["stylewithcss","true"],["fontsize","4"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}], +["fo[obarb]az", + [["stylewithcss","false"],["fontsize","4"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}], +["foo[b]arbaz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], +["foo[b]arbaz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], +["fooba[r]baz", + [["stylewithcss","true"],["fontsize","4"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], +["fooba[r]baz", + [["stylewithcss","false"],["fontsize","4"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], +["foo{bar}baz", + [["stylewithcss","true"],["fontsize","4"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], +["foo{bar}baz", + [["stylewithcss","false"],["fontsize","4"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"1",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"1",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], +["fo[ob]ar", + [["fontsize","4"]], + "fo[ob]ar", + [true], + {"fontsize":[false,false,"4",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"5",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"5",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontsize","4"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}] +] diff --git a/tests/wpt/web-platform-tests/editing/data/forecolor.js b/tests/wpt/web-platform-tests/editing/data/forecolor.js new file mode 100644 index 000000000000..5278f0953baf --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/forecolor.js @@ -0,0 +1,737 @@ +var browserTests = [ +["foo[]bar", + [["forecolor","#0000FF"]], + "foo[]bar", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["

[foo

bar]

", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["

[foo

bar]

", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo bar]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo bar]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["

[foo

bar

baz]

", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["

[foo

bar

baz]

", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["

[foo


bar]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["

[foo


bar]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[]bar", + [["forecolor","#0000FF"]], + "foo[]bar", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[]bar", + [["forecolor","#0000FF"]], + "foo[]bar", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo{}bar", + [["forecolor","#0000FF"]], + "foo{}bar", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[]bar", + [["forecolor","#0000FF"]], + "foo[]bar", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["{

foo

}", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["{

foo

}", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","blue"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","blue"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["forecolor","f"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}], +["foo[bar]baz", + [["forecolor","#f"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","00f"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","00f"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#00f"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#00f"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","0000ff"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","0000ff"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000ff"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000ff"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["forecolor","000000fff"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}], +["foo[bar]baz", + [["forecolor","#000000fff"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","rgb(0, 0, 255)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","rgb(0, 0, 255)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","rgb(0%, 0%, 100%)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","rgb(0%, 0%, 100%)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","rgb( 0 ,0 ,255)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","rgb( 0 ,0 ,255)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","rgba(0, 0, 255, 0.0)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","rgba(0, 0, 255, 0.0)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","rgb(15, -10, 375)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(15, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","rgb(15, -10, 375)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(15, 0, 255)"]}], +["foo[bar]baz", + [["forecolor","rgba(0, 0, 0, 1)"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","rgba(255, 255, 255, 1)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","rgba(255, 255, 255, 1)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 255, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","rgba(0, 0, 255, 0.5)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0.5)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","rgba(0, 0, 255, 0.5)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0.5)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","hsl(240, 100%, 50%)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","hsl(240, 100%, 50%)"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","cornsilk"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 248, 220)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","cornsilk"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 248, 220)"]}], +["foo[bar]baz", + [["forecolor","potato quiche"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","transparent"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","transparent"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}], +["foo[bar]baz", + [["forecolor","currentColor"]], + "foo[bar]baz", + [false], + {"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}], +["
foob[a]rbaz
", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foob[a]rbaz
", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["
foobarbaz
", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["{
foobarbaz
}", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["{
foobarbaz
}", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["foo{bar}baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["foo{bar}baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foob[ar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foob[ar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foob[ar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foob[ar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fooba[rba]z", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "fooba[rba]z", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[true,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}], +["fooba[rba]z", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "fooba[rba]z", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[true,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["forecolor","blue"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["forecolor","#0000ff"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["forecolor","rgb(0,0,255)"]], + "foo[bar]baz", + [true], + {"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgba(0, 0, 255, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgba(0, 0, 255, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(15, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(15, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(255, 255, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(255, 255, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgba(0, 0, 255, 0.5)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgba(0, 0, 255, 0.5)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(255, 248, 220)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(255, 248, 220)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["[foo]", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "[foo]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["fo[ob]arbaz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[true,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["fo[ob]arbaz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[true,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["fooba[rb]az", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[true,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fooba[rb]az", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[true,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fo[obarb]az", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[true,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["fo[obarb]az", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[true,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}], +["foo[b]arbaz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[b]arbaz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fooba[r]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fooba[r]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo[bar]baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo{bar}baz", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["foo{bar}baz", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fo[ob]ar", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fo[ob]ar", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fo[ob]ar", + [["stylewithcss","true"],["forecolor","#0000FF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"forecolor":[true,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}], +["fo[ob]ar", + [["stylewithcss","false"],["forecolor","#0000FF"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"forecolor":[true,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}] +] diff --git a/tests/wpt/web-platform-tests/editing/data/formatblock.js b/tests/wpt/web-platform-tests/editing/data/formatblock.js new file mode 100644 index 000000000000..c478dba243b8 --- /dev/null +++ b/tests/wpt/web-platform-tests/editing/data/formatblock.js @@ -0,0 +1,1782 @@ +var browserTests = [ +["foo[]bar

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "
foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["foo[]bar

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "
foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["foo{}bar

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "
foo{}bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["foo{}bar

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "
foo{}bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["foo[]bar

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "
foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["foo[]bar

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "
foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["foo[bar]baz

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "
foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["foo[bar]baz

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "
foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["foo]bar[baz

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "
foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["foo]bar[baz

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "
foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["{

foo

}", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
{ foo}
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"p",false,false,"div"]}], +["{

foo

}", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
{ foo}
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"p",false,false,"div"]}], +["foo[barbaz]qozquz

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "
foo[barbaz]qozquz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["foo[barbaz]qozquz

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "
foo[barbaz]qozquz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
foob[a]rbaz
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
foo
b[a]r
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
foob[a]rbaz
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
foo
b[a]r
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "{}
foo
bar
baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["{
foobarbaz
}", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "{
foo
bar
baz
}", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["{
foobarbaz
}", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "{
foo
bar
baz
}", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
[foobar]
", + [["formatblock","
"]], + "
[foobar]
", + [true], + {"formatblock":[false,false,"div",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"p",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"p",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h1",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h1",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h2",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h2",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h3",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h3",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h4",false,false,"div"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h4",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h5",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h5",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h6",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h6",false,false,"div"]}], +["
[foo]
bar
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foo]
bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"dt",false,false,"div"]}], +["
[foo]
bar
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foo]
bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"dt",false,false,"div"]}], +["
foo
[bar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
foo
[bar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"dd",false,false,"div"]}], +["
foo
[bar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
foo
[bar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"dd",false,false,"div"]}], +["
[foo
bar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foo
bar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[true,false,"dt",false,false,"div"]}], +["
[foo
bar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foo
bar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[true,false,"dt",false,false,"div"]}], +["
  1. [foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
  1. [foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
  1. [foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
  1. [foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
  • [foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
  • [foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
  • [foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
  • [foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"address",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"address",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"pre",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"pre",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"div"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"div"]}], +["foo[]bar

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["foo[]bar

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["foo{}bar

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

foo{}bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["foo{}bar

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

foo{}bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["foo[]bar

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["foo[]bar

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

foo[]bar

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["foo[bar]baz

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["foo[bar]baz

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["foo]bar[baz

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["foo]bar[baz

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

foo[bar]baz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["{

foo

}", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

{ foo}

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"p",false,false,"p"]}], +["{

foo

}", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

{ foo}

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"p",false,false,"p"]}], +["foo[barbaz]qozquz

extra", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

foo[barbaz]qozquz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["foo[barbaz]qozquz

extra", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

foo[barbaz]qozquz

extra

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
foob[a]rbaz
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "
foo

b[a]r

baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
foob[a]rbaz
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "
foo

b[a]r

baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "{}
foo

bar

baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "{}
foo

bar

baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "{}

foo

bar

baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "{}

foo

bar

baz
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "{}

foo

bar

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "{}

foo

bar

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "{}

foo

bar

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
foobarbaz
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "{}

foo

bar

baz

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["{
foobarbaz
}", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "{

foo

bar

baz

}", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["{
foobarbaz
}", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "{

foo

bar

baz

}", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["

[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"p"]}], +["

[foobar]

", + [["formatblock","

"]], + "

[foobar]

", + [true], + {"formatblock":[false,false,"p",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h1",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h1",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h2",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h2",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h3",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h3",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h4",false,false,"p"]}], +["

[foobar]

", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h4",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h5",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h5",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"h6",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"h6",false,false,"p"]}], +["
[foo]
bar
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foo]

bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"dt",false,false,"p"]}], +["
[foo]
bar
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foo]

bar
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"dt",false,false,"p"]}], +["
foo
[bar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

foo

[bar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"dd",false,false,"p"]}], +["
foo
[bar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

foo

[bar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"dd",false,false,"p"]}], +["
[foo
bar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foo

bar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[true,false,"dt",false,false,"p"]}], +["
[foo
bar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foo

bar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[true,false,"dt",false,false,"p"]}], +["
  1. [foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

  1. [foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
  1. [foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

  1. [foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
  • [foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

  • [foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
  • [foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

  • [foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"address",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"address",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"pre",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"pre",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"",false,false,"p"]}], +["[foobar]", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"",false,false,"p"]}], +["
[foo]

extra", + [["formatblock","

"]], + "
[foo]

extra

", + [false], + {"formatblock":[false,false,"",false,false,""]}], +["

[foo]

bar

extra", + [["formatblock","

"]], + "

[foo]

bar

extra

", + [false], + {"formatblock":[false,false,"p",false,false,"p"]}], +["[foo]
bar

extra", + [["formatblock","

"]], + "[foo]
bar

extra

", + [false], + {"formatblock":[false,false,"",false,false,""]}], +["

[foo

bar]

baz", + [["formatblock","

"]], + "

[foo

bar]

baz

", + [false], + {"formatblock":[false,false,"p",false,false,"p"]}], +["
[foo]
", + [["formatblock","
"]], + "
[foo]
", + [false], + {"formatblock":[false,false,"",false,false,""]}], +["

[foo]

", + [["formatblock","
"]], + "

[foo]

", + [false], + {"formatblock":[false,false,"p",false,false,"p"]}], +["

[foo]

bar

baz

", + [["formatblock","
"]], + "

[foo]

bar

baz

", + [false], + {"formatblock":[false,false,"h1",false,false,"h1"]}], +["
[foo]
", + [["formatblock","
"]], + "
[foo]
", + [false], + {"formatblock":[false,false,"",false,false,""]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"address"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"address"]}], +["
[foobar]
", + [["formatblock","
"]], + "
[foobar]
", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
[foobar]
", + [["formatblock","
"]], + "
[foobar]
", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"dd"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"dd"]}], +["
[foobar]
", + [["formatblock",""]], + "
[foobar]
", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
[foobar]
", + [["formatblock","
"]], + "
[foobar]
", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"dt"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"dt"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"h1"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"h1"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"h2"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"h2"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"h3"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"h3"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"h4"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","

"]], + "

[foobar]

", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"h4"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"h5"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"h5"]}], +["
[foobar]
", + [["defaultparagraphseparator","div"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"h6"]}], +["
[foobar]
", + [["defaultparagraphseparator","p"],["formatblock","
"]], + "
[foobar]
", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"h6"]}], +["
[foobar]
", + [["formatblock",""]], + "
[foobar]
", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
[foobar]
", + [["formatblock","
  • "]], + "
    [foobar]
    ", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
    [foobar]
    ", + [["formatblock","
      "]], + "
      [foobar]
      ", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
      [foobar]
      ", + [["defaultparagraphseparator","p"],["formatblock","
      "]],
      +    "
      [foobar]
      ", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"pre"]}], +["
      [foobar]
      ", + [["formatblock","
        "]], + "
        [foobar]
        ", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["
        [foobar]
        ", + [["formatblock",""]], + "
        [foobar]
        ", + [false], + {"formatblock":[false,false,"div",false,false,"div"]}], +["

        [foobar]

        ", + [["defaultparagraphseparator","div"],["formatblock","
        "]], + "
        [foobar]
        ", + [true,true], + {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"p",false,false,"address"]}], +["

        [foobar]

        ", + [["defaultparagraphseparator","p"],["formatblock","
        "]], + "
        [foobar]
        ", + [true,true], + {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"p",false,false,"address"]}], +["

        [foobar]

        ", + [["formatblock","
        "]], + "

        [foobar]

        ", + [false], + {"formatblock":[false,false,"p",false,false,"p"]}], +["

        [foobar]

        ", + [["formatblock","