gecko-dev/testing/web-platform/tests/editing/data/superscript.js
James Graham b598a77d59 Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly
MozReview-Commit-ID: KjIquC2PKKI


--HG--
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.https.html
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.https.html
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_hkdf.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_hkdf.https.html
rename : testing/web-platform/tests/WebCryptoAPI/digest/test_digest.html => testing/web-platform/tests/WebCryptoAPI/digest/test_digest.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-cbc.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-cbc.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-ctr.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-ctr.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-KW.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-KW.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDH.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDH.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDSA.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_HMAC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_HMAC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-KW.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-KW.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDH.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDH.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDSA.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_HMAC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_HMAC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_ec_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_ec_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_rsa_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_rsa_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_symmetric_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_symmetric_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_ecdsa.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_ecdsa.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_hmac.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_hmac.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pss.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pss.https.html
rename : testing/web-platform/tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.html => testing/web-platform/tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.https.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/browsing-context-_blank.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/choose-_blank-001.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/parent-iframe-3.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/choose-_parent-003-iframe.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/parent-iframe-2.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/open-in-_parent.html
rename : testing/web-platform/tests/presentation-api/receiving-ua/support/idlharness_receiving-ua.https.html => testing/web-platform/tests/presentation-api/receiving-ua/support/idlharness_receiving-ua.html
rename : testing/web-platform/tests/tools/LICENSE => testing/web-platform/tests/tools/wptrunner/LICENSE
rename : testing/web-platform/tests/auxclick/auxclick_event-manual.html => testing/web-platform/tests/uievents/auxclick/auxclick_event-manual.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcconfiguration-icecandidatepoolsize.html => testing/web-platform/tests/webrtc/RTCConfiguration-iceCandidatePoolSize.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html => testing/web-platform/tests/webrtc/RTCPeerConnection-constructor.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/iceGatheringState.html => testing/web-platform/tests/webrtc/RTCPeerConnection-iceGatheringState.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcpeerconnection-idl.html => testing/web-platform/tests/webrtc/RTCPeerConnection-idl.html
2017-05-11 18:01:46 +01:00

428 lines
21 KiB
JavaScript

// For documentation of the format, see README in this directory.
var browserTests = [
["foo[]bar",
[["superscript",""]],
"foo[]bar",
[true],
{"superscript":[false,false,"",false,true,""]}],
["<p>[foo</p> <p>bar]</p>",
[["stylewithcss","true"],["superscript",""]],
"<p><sup>[foo</sup></p> <p><sup>bar]</sup></p>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo</p> <p>bar]</p>",
[["stylewithcss","false"],["superscript",""]],
"<p><sup>[foo</sup></p> <p><sup>bar]</sup></p>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<span>[foo</span> <span>bar]</span>",
[["stylewithcss","true"],["superscript",""]],
"<sup><span>[foo</span> <span>bar]</span></sup>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<span>[foo</span> <span>bar]</span>",
[["stylewithcss","false"],["superscript",""]],
"<sup><span>[foo</span> <span>bar]</span></sup>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["superscript",""]],
"<p><sup>[foo</sup></p><p> <sup><span>bar</span></sup> </p><p><sup>baz]</sup></p>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["superscript",""]],
"<p><sup>[foo</sup></p><p> <sup><span>bar</span></sup> </p><p><sup>baz]</sup></p>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo<p><br><p>bar]",
[["stylewithcss","true"],["superscript",""]],
"<p><sup>[foo</sup></p><p><sup><br></sup></p><p><sup>bar]</sup></p>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo<p><br><p>bar]",
[["stylewithcss","false"],["superscript",""]],
"<p><sup>[foo</sup></p><p><sup><br></sup></p><p><sup>bar]</sup></p>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["superscript",""]],
"<b>foo[]bar</b>",
[true],
{"superscript":[false,false,"",false,true,""]}],
["<i>foo[]bar</i>",
[["superscript",""]],
"<i>foo[]bar</i>",
[true],
{"superscript":[false,false,"",false,true,""]}],
["<span>foo</span>{}<span>bar</span>",
[["superscript",""]],
"<span>foo</span>{}<span>bar</span>",
[true],
{"superscript":[false,false,"",false,true,""]}],
["<span>foo[</span><span>]bar</span>",
[["superscript",""]],
"<span>foo[</span><span>]bar</span>",
[true],
{"superscript":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo[bar<b>baz]qoz</b>quz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar</sup><b><sup>baz]</sup>qoz</b>quz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo[bar<b>baz]qoz</b>quz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>[bar</sup><b><sup>baz]</sup>qoz</b>quz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar</sup><i><sup>baz]</sup>qoz</i>quz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>[bar</sup><i><sup>baz]</sup>qoz</i>quz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["{<p><p> <p>foo</p>}",
[["stylewithcss","true"],["superscript",""]],
"{<p></p><p> </p><p><sup>foo</sup></p>}",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["{<p><p> <p>foo</p>}",
[["stylewithcss","false"],["superscript",""]],
"{<p></p><p> </p><p><sup>foo</sup></p>}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","true"],["superscript",""]],
"<table><tbody><tr><td>foo</td><td>b<sup>[a]</sup>r</td><td>baz</td></tr></tbody></table>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["superscript",""]],
"<table><tbody><tr><td>foo</td><td>b<sup>[a]</sup>r</td><td>baz</td></tr></tbody></table>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
[["stylewithcss","true"],["superscript",""]],
"<table><tbody><tr><td>foo</td>{<td><sup>bar</sup></td>}<td>baz</td></tr></tbody></table>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
[["stylewithcss","false"],["superscript",""]],
"<table><tbody><tr><td>foo</td>{<td><sup>bar</sup></td>}<td>baz</td></tr></tbody></table>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
[["stylewithcss","true"],["superscript",""]],
"<table><tbody><tr>{<td><sup>foo</sup></td><td><sup>bar</sup></td>}<td>baz</td></tr></tbody></table>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
[["stylewithcss","false"],["superscript",""]],
"<table><tbody><tr>{<td><sup>foo</sup></td><td><sup>bar</sup></td>}<td>baz</td></tr></tbody></table>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
[["stylewithcss","true"],["superscript",""]],
"<table><tbody>{<tr><td><sup>foo</sup></td><td><sup>bar</sup></td><td><sup>baz</sup></td></tr>}</tbody></table>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
[["stylewithcss","false"],["superscript",""]],
"<table><tbody>{<tr><td><sup>foo</sup></td><td><sup>bar</sup></td><td><sup>baz</sup></td></tr>}</tbody></table>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
[["stylewithcss","true"],["superscript",""]],
"<table>{<tbody><tr><td><sup>foo</sup></td><td><sup>bar</sup></td><td><sup>baz</sup></td></tr></tbody>}</table>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
[["stylewithcss","false"],["superscript",""]],
"<table>{<tbody><tr><td><sup>foo</sup></td><td><sup>bar</sup></td><td><sup>baz</sup></td></tr></tbody>}</table>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}",
[["stylewithcss","true"],["superscript",""]],
"{<table><tbody><tr><td><sup>foo</sup></td><td><sup>bar</sup></td><td><sup>baz</sup></td></tr></tbody></table>}",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}",
[["stylewithcss","false"],["superscript",""]],
"{<table><tbody><tr><td><sup>foo</sup></td><td><sup>bar</sup></td><td><sup>baz</sup></td></tr></tbody></table>}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub>[bar]</sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub>[bar]</sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub>b[a]r</sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub>b[a]r</sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<sup>b[a]r</sup>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>b</sup>[a]<sup>r</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,true,"",false,false,""]}],
["foo<sup>b[a]r</sup>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>b</sup>[a]<sup>r</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,true,"",false,false,""]}],
["foo<span style=vertical-align:sub>[bar]</span>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup><span style=\"vertical-align:sub\">[bar]</span></sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<span style=vertical-align:sub>[bar]</span>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup><span style=\"vertical-align:sub\">[bar]</span></sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<span style=vertical-align:super>[bar]</span>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup><span style=\"vertical-align:super\">[bar]</span></sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<span style=vertical-align:super>[bar]</span>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup><span style=\"vertical-align:super\">[bar]</span></sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub><sub>[bar]</sub></sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub><sub>[bar]</sub></sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub><sub>b[a]r</sub></sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub><sub>b[a]r</sub></sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub>b<sub>[a]</sub>r</sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<sub>b<sub>[a]</sub>r</sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["foo<sup><sup>[bar]</sup></sup>baz",
[["stylewithcss","true"],["superscript",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,true,"",false,false,""]}],
["foo<sup><sup>[bar]</sup></sup>baz",
[["stylewithcss","false"],["superscript",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,true,"",false,false,""]}],
["foo<sup><sup>b[a]r</sup></sup>baz",
[["superscript",""]],
"foo<sup>b</sup>[a]<sup>r</sup>baz",
[true],
{"superscript":[false,true,"",false,false,""]}],
["foo<sup>b<sup>[a]</sup>r</sup>baz",
[["superscript",""]],
"foo<sup>b</sup>[a]<sup>r</sup>baz",
[true],
{"superscript":[false,true,"",false,false,""]}],
["foo<sub><sup>[bar]</sup></sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["foo<sub><sup>[bar]</sup></sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["foo<sub><sup>b[a]r</sup></sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>b[a]r</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["foo<sub><sup>b[a]r</sup></sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>b[a]r</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["foo<sub>b<sup>[a]</sup>r</sub>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["foo<sub>b<sup>[a]</sup>r</sub>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup><sub>[bar]</sub></sup>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup><sub>[bar]</sub></sup>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>[bar]</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup><sub>b[a]r</sub></sup>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup><sub>b[a]r</sub></sup>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sub>b</sub><sup>[a]</sup><sub>r</sub>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup>b<sub>[a]</sub>r</sup>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup>b[a]r</sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup>b<sub>[a]</sub>r</sup>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup>b[a]r</sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["fo[o<sup>b]ar</sup>baz",
[["superscript",""]],
"fo<sup>[ob]ar</sup>baz",
[true],
{"superscript":[true,false,"",false,true,""]}],
["foo<sup>ba[r</sup>b]az",
[["superscript",""]],
"foo<sup>ba[rb]</sup>az",
[true],
{"superscript":[true,false,"",false,true,""]}],
["fo[o<sup>bar</sup>b]az",
[["superscript",""]],
"fo<sup>[obarb]</sup>az",
[true],
{"superscript":[true,false,"",false,true,""]}],
["foo[<sup>b]ar</sup>baz",
[["superscript",""]],
"foo[b]<sup>ar</sup>baz",
[true],
{"superscript":[false,true,"",false,false,""]}],
["foo<sup>ba[r</sup>]baz",
[["superscript",""]],
"foo<sup>ba</sup>[r]baz",
[true],
{"superscript":[false,true,"",false,false,""]}],
["foo[<sup>bar</sup>]baz",
[["stylewithcss","true"],["superscript",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,true,"",false,false,""]}],
["foo[<sup>bar</sup>]baz",
[["stylewithcss","false"],["superscript",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,true,"",false,false,""]}],
["foo<sup>[bar]</sup>baz",
[["stylewithcss","true"],["superscript",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,true,"",false,false,""]}],
["foo<sup>[bar]</sup>baz",
[["stylewithcss","false"],["superscript",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,true,"",false,false,""]}],
["foo{<sup>bar</sup>}baz",
[["stylewithcss","true"],["superscript",""]],
"foo{bar}baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,true,"",false,false,""]}],
["foo{<sup>bar</sup>}baz",
[["stylewithcss","false"],["superscript",""]],
"foo{bar}baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,true,"",false,false,""]}],
["<sup>fo[o</sup><sub>b]ar</sub>",
[["superscript",""]],
"<sup>fo[ob]</sup><sub>ar</sub>",
[true],
{"superscript":[true,false,"",false,true,""]}],
["<sup>fo[o</sup><span style=vertical-align:super>b]ar</span>",
[["stylewithcss","true"],["superscript",""]],
"<sup>fo[o</sup><span style=\"vertical-align:super\"><sup>b]</sup>ar</span>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["<sup>fo[o</sup><span style=vertical-align:super>b]ar</span>",
[["stylewithcss","false"],["superscript",""]],
"<sup>fo[o</sup><span style=\"vertical-align:super\"><sup>b]</sup>ar</span>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["foo<span style=vertical-align:bottom>[bar]</span>baz",
[["stylewithcss","true"],["superscript",""]],
"foo<sup><span style=\"vertical-align:bottom\">[bar]</span></sup>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["foo<span style=vertical-align:bottom>[bar]</span>baz",
[["stylewithcss","false"],["superscript",""]],
"foo<sup><span style=\"vertical-align:bottom\">[bar]</span></sup>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<sup>fo[o</sup><span style=vertical-align:bottom>b]ar</span>",
[["stylewithcss","true"],["superscript",""]],
"<sup>fo[o</sup><span style=\"vertical-align:bottom\"><sup>b]</sup>ar</span>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["<sup>fo[o</sup><span style=vertical-align:bottom>b]ar</span>",
[["stylewithcss","false"],["superscript",""]],
"<sup>fo[o</sup><span style=\"vertical-align:bottom\"><sup>b]</sup>ar</span>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup>[bar]<br></sup>",
[["stylewithcss","true"],["superscript",""]],
"foo[bar]<br>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,true,"",false,false,""]}],
["foo<sup>[bar]<br></sup>",
[["stylewithcss","false"],["superscript",""]],
"foo[bar]<br>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,true,"",false,false,""]}]
]