tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

dynamic-childlist-001.html (24600B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Dynamic childlist of MathML elements</title>
      6 <script src="/mathml/support/mathml-fragments.js"></script>
      7 <link rel="help" href="https://w3c.github.io/mathml-core/#adjust-space-around-content-mpadded">
      8 <link rel="help" href="https://w3c.github.io/mathml-core/#dom-and-javascript">
      9 <link rel="help" href="https://w3c.github.io/mathml-core/#fractions-mfrac">
     10 <link rel="help" href="https://w3c.github.io/mathml-core/#prescripts-and-tensor-indices-mmultiscripts">
     11 <link rel="help" href="https://w3c.github.io/mathml-core/#radicals-msqrt-mroot">
     12 <link rel="help" href="https://w3c.github.io/mathml-core/#space-mspace">
     13 <link rel="help" href="https://w3c.github.io/mathml-core/#subscripts-and-superscripts-msub-msup-msubsup">
     14 <link rel="help" href="https://w3c.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
     15 <meta name="assert" content="Dynamically modify DOM tree of some MathML elements by adding or removing children.">
     16 <script src="/resources/testharness.js"></script>
     17 <script src="/resources/testharnessreport.js"></script>
     18 <script src="/mathml/support/feature-detection.js"></script>
     19 <script src="/mathml/support/layout-comparison.js"></script>
     20 <script>
     21  function forceNumberOfChildren(element, count) {
     22      while (element.children.length > count)
     23          element.removeChild(element.lastElementChild);
     24      for (let i = element.children.length; i < count; i++) {
     25          if (element.tagName === "mmultiscripts" && i === 5) {
     26              element.appendChild(FragmentHelper.createElement("mprescripts"));
     27          } else {
     28              let mspace = FragmentHelper.createElement("mspace");
     29              mspace.setAttribute("width", `10px`);
     30              mspace.setAttribute("height", `${10*(i+1)}px`);
     31              mspace.setAttribute("style", `background: black;`);
     32              element.appendChild(mspace);
     33          }
     34      }
     35  }
     36 
     37  setup({ explicit_done: true });
     38  window.addEventListener("load", function() {
     39      // force initial layout so we're sure what we're testing against
     40      document.documentElement.getBoundingClientRect();
     41 
     42      let reference = document.getElementById("reference");
     43 
     44      Array.from(document.querySelectorAll("[data-title]")).forEach(element => {
     45          test(function() {
     46              assert_true(MathMLFeatureDetection.has_mspace());
     47              let reference = document.getElementById(`${element.getAttribute("data-reference")}`);
     48              forceNumberOfChildren(element, reference.children.length);
     49              const epsilon = 1;
     50              if (element.tagName == "mspace") {
     51                  compareSize(element, reference, epsilon);
     52                  childrenHaveEmptyBoundingClientRects(element);
     53                  childrenHaveEmptyBoundingClientRects(reference);
     54              } else {
     55                  compareLayout(element, reference, epsilon);
     56              }
     57          }, `${element.getAttribute("data-title")}`);
     58      });
     59      done();
     60  });
     61 </script>
     62 </head>
     63 <body>
     64  <div id="log"></div>
     65  <p>
     66    <math>
     67      <mfrac id="mfrac-reference-1">
     68        <mspace width="10px" height="10px" style="background: black;"/>
     69      </mfrac>
     70      <mfrac id="mfrac-reference-2">
     71        <mspace width="10px" height="10px" style="background: black;"/>
     72        <mspace width="10px" height="20px" style="background: black;"/>
     73      </mfrac>
     74      <mfrac id="mfrac-reference-3">
     75        <mspace width="10px" height="10px" style="background: black;"/>
     76        <mspace width="10px" height="20px" style="background: black;"/>
     77        <mspace width="10px" height="30px" style="background: black;"/>
     78      </mfrac>
     79    </math>
     80  </p>
     81  <p>
     82    <math>
     83      <mfrac data-reference="mfrac-reference-2" data-title="Adding missing children to mfrac">
     84      </mfrac>
     85    </math>
     86  </p>
     87  <p>
     88    <math>
     89      <mfrac data-reference="mfrac-reference-1" data-title="Removing child from valid mfrac">
     90        <mspace width="10px" height="10px" style="background: black;"/>
     91        <mspace width="10px" height="20px" style="background: black;"/>
     92      </mfrac>
     93    </math>
     94  </p>
     95  <p>
     96    <math>
     97      <mfrac data-reference="mfrac-reference-3" data-title="Adding child to valid mfrac">
     98        <mspace width="10px" height="10px" style="background: black;"/>
     99        <mspace width="10px" height="20px" style="background: black;"/>
    100      </mfrac>
    101    </math>
    102  </p>
    103  <p>
    104    <math>
    105      <mfrac data-reference="mfrac-reference-2" data-title="Removing extra child from mfrac">
    106        <mspace width="10px" height="10px" style="background: black;"/>
    107        <mspace width="10px" height="20px" style="background: black;"/>
    108        <mspace width="10px" height="30px" style="background: black;"/>
    109      </mfrac>
    110    </math>
    111  </p>
    112  <hr/>
    113  <p>
    114    <math>
    115      <munder id="munder-reference-1">
    116        <mspace width="10px" height="10px" style="background: black;"/>
    117      </munder>
    118      <munder id="munder-reference-2">
    119        <mspace width="10px" height="10px" style="background: black;"/>
    120        <mspace width="10px" height="20px" style="background: black;"/>
    121      </munder>
    122      <munder id="munder-reference-3">
    123        <mspace width="10px" height="10px" style="background: black;"/>
    124        <mspace width="10px" height="20px" style="background: black;"/>
    125        <mspace width="10px" height="30px" style="background: black;"/>
    126      </munder>
    127    </math>
    128  </p>
    129  <p>
    130    <math>
    131      <munder data-reference="munder-reference-2" data-title="Adding missing children to munder">
    132      </munder>
    133    </math>
    134  </p>
    135  <p>
    136    <math>
    137      <munder data-reference="munder-reference-1" data-title="Removing child from valid munder">
    138        <mspace width="10px" height="10px" style="background: black;"/>
    139        <mspace width="10px" height="20px" style="background: black;"/>
    140      </munder>
    141    </math>
    142  </p>
    143  <p>
    144    <math>
    145      <munder data-reference="munder-reference-3" data-title="Adding child to valid munder">
    146        <mspace width="10px" height="10px" style="background: black;"/>
    147        <mspace width="10px" height="20px" style="background: black;"/>
    148      </munder>
    149    </math>
    150  </p>
    151  <p>
    152    <math>
    153      <munder data-reference="munder-reference-2" data-title="Removing extra child from munder">
    154        <mspace width="10px" height="10px" style="background: black;"/>
    155        <mspace width="10px" height="20px" style="background: black;"/>
    156        <mspace width="10px" height="30px" style="background: black;"/>
    157      </munder>
    158    </math>
    159  </p>
    160  <hr/>
    161  <p>
    162    <math>
    163      <mover id="mover-reference-1">
    164        <mspace width="10px" height="10px" style="background: black;"/>
    165      </mover>
    166      <mover id="mover-reference-2">
    167        <mspace width="10px" height="10px" style="background: black;"/>
    168        <mspace width="10px" height="20px" style="background: black;"/>
    169      </mover>
    170      <mover id="mover-reference-3">
    171        <mspace width="10px" height="10px" style="background: black;"/>
    172        <mspace width="10px" height="20px" style="background: black;"/>
    173        <mspace width="10px" height="30px" style="background: black;"/>
    174      </mover>
    175    </math>
    176  </p>
    177  <p>
    178    <math>
    179      <mover data-reference="mover-reference-2" data-title="Adding missing children to mover">
    180      </mover>
    181    </math>
    182  </p>
    183  <p>
    184    <math>
    185      <mover data-reference="mover-reference-1" data-title="Removing child from valid mover">
    186        <mspace width="10px" height="10px" style="background: black;"/>
    187        <mspace width="10px" height="20px" style="background: black;"/>
    188      </mover>
    189    </math>
    190  </p>
    191  <p>
    192    <math>
    193      <mover data-reference="mover-reference-3" data-title="Adding child to valid mover">
    194        <mspace width="10px" height="10px" style="background: black;"/>
    195        <mspace width="10px" height="20px" style="background: black;"/>
    196      </mover>
    197    </math>
    198  </p>
    199  <p>
    200    <math>
    201      <mover data-reference="mover-reference-2" data-title="Removing extra child from mover">
    202        <mspace width="10px" height="10px" style="background: black;"/>
    203        <mspace width="10px" height="20px" style="background: black;"/>
    204        <mspace width="10px" height="30px" style="background: black;"/>
    205      </mover>
    206    </math>
    207  </p>
    208  <hr/>
    209  <p>
    210    <math>
    211      <munderover id="munderover-reference-2">
    212        <mspace width="10px" height="10px" style="background: black;"/>
    213        <mspace width="10px" height="20px" style="background: black;"/>
    214      </munderover>
    215      <munderover id="munderover-reference-3">
    216        <mspace width="10px" height="10px" style="background: black;"/>
    217        <mspace width="10px" height="20px" style="background: black;"/>
    218        <mspace width="10px" height="30px" style="background: black;"/>
    219      </munderover>
    220      <munderover id="munderover-reference-4">
    221        <mspace width="10px" height="10px" style="background: black;"/>
    222        <mspace width="10px" height="20px" style="background: black;"/>
    223        <mspace width="10px" height="30px" style="background: black;"/>
    224        <mspace width="10px" height="40px" style="background: black;"/>
    225      </munderover>
    226    </math>
    227  </p>
    228  <p>
    229    <math>
    230      <munderover data-reference="munderover-reference-3" data-title="Adding missing children to munderover">
    231      </munderover>
    232    </math>
    233  </p>
    234  <p>
    235    <math>
    236      <munderover data-reference="munderover-reference-2" data-title="Removing child from valid munderover">
    237        <mspace width="10px" height="10px" style="background: black;"/>
    238        <mspace width="10px" height="20px" style="background: black;"/>
    239        <mspace width="10px" height="30px" style="background: black;"/>
    240      </munderover>
    241    </math>
    242  </p>
    243  <p>
    244    <math>
    245      <munderover data-reference="munderover-reference-4" data-title="Adding child to valid munderover">
    246        <mspace width="10px" height="10px" style="background: black;"/>
    247        <mspace width="10px" height="20px" style="background: black;"/>
    248        <mspace width="10px" height="30px" style="background: black;"/>
    249      </munderover>
    250    </math>
    251  </p>
    252  <p>
    253    <math>
    254      <munderover data-reference="munderover-reference-3" data-title="Removing extra child from munderover">
    255        <mspace width="10px" height="10px" style="background: black;"/>
    256        <mspace width="10px" height="20px" style="background: black;"/>
    257        <mspace width="10px" height="30px" style="background: black;"/>
    258        <mspace width="10px" height="40px" style="background: black;"/>
    259      </munderover>
    260    </math>
    261  </p>
    262  <hr/>
    263  <p>
    264    <math>
    265      <msub id="msub-reference-1">
    266        <mspace width="10px" height="10px" style="background: black;"/>
    267      </msub>
    268      <msub id="msub-reference-2">
    269        <mspace width="10px" height="10px" style="background: black;"/>
    270        <mspace width="10px" height="20px" style="background: black;"/>
    271      </msub>
    272      <msub id="msub-reference-3">
    273        <mspace width="10px" height="10px" style="background: black;"/>
    274        <mspace width="10px" height="20px" style="background: black;"/>
    275        <mspace width="10px" height="30px" style="background: black;"/>
    276      </msub>
    277    </math>
    278  </p>
    279  <p>
    280    <math>
    281      <msub data-reference="msub-reference-2" data-title="Adding missing children to msub">
    282      </msub>
    283    </math>
    284  </p>
    285  <p>
    286    <math>
    287      <msub data-reference="msub-reference-1" data-title="Removing child from valid msub">
    288        <mspace width="10px" height="10px" style="background: black;"/>
    289        <mspace width="10px" height="20px" style="background: black;"/>
    290      </msub>
    291    </math>
    292  </p>
    293  <p>
    294    <math>
    295      <msub data-reference="msub-reference-3" data-title="Adding child to valid msub">
    296        <mspace width="10px" height="10px" style="background: black;"/>
    297        <mspace width="10px" height="20px" style="background: black;"/>
    298      </msub>
    299    </math>
    300  </p>
    301  <p>
    302    <math>
    303      <msub data-reference="msub-reference-2" data-title="Removing extra child from msub">
    304        <mspace width="10px" height="10px" style="background: black;"/>
    305        <mspace width="10px" height="20px" style="background: black;"/>
    306        <mspace width="10px" height="30px" style="background: black;"/>
    307      </msub>
    308    </math>
    309  </p>
    310  <hr/>
    311  <p>
    312    <math>
    313      <msup id="msup-reference-1">
    314        <mspace width="10px" height="10px" style="background: black;"/>
    315      </msup>
    316      <msup id="msup-reference-2">
    317        <mspace width="10px" height="10px" style="background: black;"/>
    318        <mspace width="10px" height="20px" style="background: black;"/>
    319      </msup>
    320      <msup id="msup-reference-3">
    321        <mspace width="10px" height="10px" style="background: black;"/>
    322        <mspace width="10px" height="20px" style="background: black;"/>
    323        <mspace width="10px" height="30px" style="background: black;"/>
    324      </msup>
    325    </math>
    326  </p>
    327  <p>
    328    <math>
    329      <msup data-reference="msup-reference-2" data-title="Adding missing children to msup">
    330      </msup>
    331    </math>
    332  </p>
    333  <p>
    334    <math>
    335      <msup data-reference="msup-reference-1" data-title="Removing child from valid msup">
    336        <mspace width="10px" height="10px" style="background: black;"/>
    337        <mspace width="10px" height="20px" style="background: black;"/>
    338      </msup>
    339    </math>
    340  </p>
    341  <p>
    342    <math>
    343      <msup data-reference="msup-reference-3" data-title="Adding child to valid msup">
    344        <mspace width="10px" height="10px" style="background: black;"/>
    345        <mspace width="10px" height="20px" style="background: black;"/>
    346      </msup>
    347    </math>
    348  </p>
    349  <p>
    350    <math>
    351      <msup data-reference="msup-reference-2" data-title="Removing extra child from msup">
    352        <mspace width="10px" height="10px" style="background: black;"/>
    353        <mspace width="10px" height="20px" style="background: black;"/>
    354        <mspace width="10px" height="30px" style="background: black;"/>
    355      </msup>
    356    </math>
    357  </p>
    358  <hr/>
    359  <p>
    360    <math>
    361      <msubsup id="msubsup-reference-2">
    362        <mspace width="10px" height="10px" style="background: black;"/>
    363        <mspace width="10px" height="20px" style="background: black;"/>
    364      </msubsup>
    365      <msubsup id="msubsup-reference-3">
    366        <mspace width="10px" height="10px" style="background: black;"/>
    367        <mspace width="10px" height="20px" style="background: black;"/>
    368        <mspace width="10px" height="30px" style="background: black;"/>
    369      </msubsup>
    370      <msubsup id="msubsup-reference-4">
    371        <mspace width="10px" height="10px" style="background: black;"/>
    372        <mspace width="10px" height="20px" style="background: black;"/>
    373        <mspace width="10px" height="30px" style="background: black;"/>
    374        <mspace width="10px" height="40px" style="background: black;"/>
    375      </msubsup>
    376    </math>
    377  </p>
    378  <p>
    379    <math>
    380      <msubsup data-reference="msubsup-reference-3" data-title="Adding missing children to msubsup">
    381      </msubsup>
    382    </math>
    383  </p>
    384  <p>
    385    <math>
    386      <msubsup data-reference="msubsup-reference-2" data-title="Removing child from valid msubsup">
    387        <mspace width="10px" height="10px" style="background: black;"/>
    388        <mspace width="10px" height="20px" style="background: black;"/>
    389        <mspace width="10px" height="30px" style="background: black;"/>
    390      </msubsup>
    391    </math>
    392  </p>
    393  <p>
    394    <math>
    395      <msubsup data-reference="msubsup-reference-4" data-title="Adding child to valid msubsup">
    396        <mspace width="10px" height="10px" style="background: black;"/>
    397        <mspace width="10px" height="20px" style="background: black;"/>
    398        <mspace width="10px" height="30px" style="background: black;"/>
    399      </msubsup>
    400    </math>
    401  </p>
    402  <p>
    403    <math>
    404      <msubsup data-reference="msubsup-reference-3" data-title="Removing extra child from msubsup">
    405        <mspace width="10px" height="10px" style="background: black;"/>
    406        <mspace width="10px" height="20px" style="background: black;"/>
    407        <mspace width="10px" height="30px" style="background: black;"/>
    408        <mspace width="10px" height="40px" style="background: black;"/>
    409      </msubsup>
    410    </math>
    411  </p>
    412  <hr/>
    413  <p>
    414    <math>
    415      <mroot id="mroot-reference-1">
    416        <mspace width="10px" height="10px" style="background: black;"/>
    417      </mroot>
    418      <mroot id="mroot-reference-2">
    419        <mspace width="10px" height="10px" style="background: black;"/>
    420        <mspace width="10px" height="20px" style="background: black;"/>
    421      </mroot>
    422      <mroot id="mroot-reference-3">
    423        <mspace width="10px" height="10px" style="background: black;"/>
    424        <mspace width="10px" height="20px" style="background: black;"/>
    425        <mspace width="10px" height="30px" style="background: black;"/>
    426      </mroot>
    427    </math>
    428  </p>
    429  <p>
    430    <math>
    431      <mroot data-reference="mroot-reference-2" data-title="Adding missing children to mroot">
    432      </mroot>
    433    </math>
    434  </p>
    435  <p>
    436    <math>
    437      <mroot data-reference="mroot-reference-1" data-title="Removing child from valid mroot">
    438        <mspace width="10px" height="10px" style="background: black;"/>
    439        <mspace width="10px" height="20px" style="background: black;"/>
    440      </mroot>
    441    </math>
    442  </p>
    443  <p>
    444    <math>
    445      <mroot data-reference="mroot-reference-3" data-title="Adding child to valid mroot">
    446        <mspace width="10px" height="10px" style="background: black;"/>
    447        <mspace width="10px" height="20px" style="background: black;"/>
    448      </mroot>
    449    </math>
    450  </p>
    451  <p>
    452    <math>
    453      <mroot data-reference="mroot-reference-2" data-title="Removing extra child from mroot">
    454        <mspace width="10px" height="10px" style="background: black;"/>
    455        <mspace width="10px" height="20px" style="background: black;"/>
    456        <mspace width="10px" height="30px" style="background: black;"/>
    457      </mroot>
    458    </math>
    459  </p>
    460  <hr/>
    461  <p>
    462    <math>
    463      <msqrt id="msqrt-reference-0">
    464      </msqrt>
    465      <msqrt id="msqrt-reference-2">
    466        <mspace width="10px" height="10px" style="background: black;"/>
    467        <mspace width="10px" height="20px" style="background: black;"/>
    468       </msqrt>
    469    </math>
    470  </p>
    471  <p>
    472    <math>
    473      <msqrt data-reference="msqrt-reference-0" data-title="Removing children from msqrt">
    474        <mspace width="10px" height="10px" style="background: black;"/>
    475        <mspace width="10px" height="20px" style="background: black;"/>
    476        <mspace width="10px" height="30px" style="background: black;"/>
    477      </msqrt>
    478    </math>
    479  </p>
    480  <p>
    481    <math>
    482      <msqrt data-reference="msqrt-reference-2" data-title="Adding children to msqrt">
    483        <mspace width="10px" height="10px" style="background: black;"/>
    484      </msqrt>
    485    </math>
    486  </p>
    487  <hr/>
    488  <p>
    489    <math>
    490      <mpadded id="mpadded-reference-0">
    491      </mpadded>
    492      <mpadded id="mpadded-reference-2">
    493        <mspace width="10px" height="10px" style="background: black;"/>
    494        <mspace width="10px" height="20px" style="background: black;"/>
    495       </mpadded>
    496    </math>
    497  </p>
    498  <p>
    499    <math>
    500      <mpadded data-reference="mpadded-reference-0" data-title="Removing children from mpadded">
    501        <mspace width="10px" height="10px" style="background: black;"/>
    502        <mspace width="10px" height="20px" style="background: black;"/>
    503        <mspace width="10px" height="30px" style="background: black;"/>
    504      </mpadded>
    505    </math>
    506  </p>
    507  <p>
    508    <math>
    509      <mpadded data-reference="mpadded-reference-2" data-title="Adding children to mpadded">
    510        <mspace width="10px" height="10px" style="background: black;"/>
    511      </mpadded>
    512    </math>
    513  </p>
    514  <hr/>
    515  <p>
    516    <math>
    517      <mspace id="mspace-reference-0" width="30px" height="70px" style="background: blue">
    518      </mspace>
    519      <mspace id="mspace-reference-2" width="30px" height="70px" style="background: green">
    520        <mspace width="10px" height="10px" style="background: black;"/>
    521        <mspace width="10px" height="20px" style="background: black;"/>
    522       </mspace>
    523    </math>
    524  </p>
    525  <p>
    526    <math>
    527      <mspace data-reference="mspace-reference-0" data-title="Removing children from mspace" width="30px" height="70px" style="background: lightblue">
    528        <mspace width="10px" height="10px" style="background: black;"/>
    529        <mspace width="10px" height="20px" style="background: black;"/>
    530        <mspace width="10px" height="30px" style="background: black;"/>
    531      </mspace>
    532    </math>
    533  </p>
    534  <p>
    535    <math>
    536      <mspace data-reference="mspace-reference-2" data-title="Adding children to mspace" width="30px" height="70px" style="background: lightgreen">
    537        <mspace width="10px" height="10px" style="background: black;"/>
    538      </mspace>
    539    </math>
    540  </p>
    541  <hr/>
    542  <p>
    543    <math>
    544      <mmultiscripts id="mmultiscripts-reference-0">
    545      </mmultiscripts>
    546      <mmultiscripts id="mmultiscripts-reference-1">
    547        <mspace width="10px" height="10px" style="background: black;"/>
    548      </mmultiscripts>
    549      <mmultiscripts id="mmultiscripts-reference-2">
    550        <mspace width="10px" height="10px" style="background: black;"/>
    551        <mspace width="10px" height="20px" style="background: black;"/>
    552      </mmultiscripts>
    553      <mmultiscripts id="mmultiscripts-reference-3">
    554        <mspace width="10px" height="10px" style="background: black;"/>
    555        <mspace width="10px" height="20px" style="background: black;"/>
    556        <mspace width="10px" height="30px" style="background: black;"/>
    557      </mmultiscripts>
    558      <mmultiscripts id="mmultiscripts-reference-6">
    559        <mspace width="10px" height="10px" style="background: black;"/>
    560        <mspace width="10px" height="20px" style="background: black;"/>
    561        <mspace width="10px" height="30px" style="background: black;"/>
    562        <mspace width="10px" height="40px" style="background: black;"/>
    563        <mspace width="10px" height="50px" style="background: black;"/>
    564        <mprescripts/>
    565      </mmultiscripts>
    566      <mmultiscripts id="mmultiscripts-reference-8">
    567        <mspace width="10px" height="10px" style="background: black;"/>
    568        <mspace width="10px" height="20px" style="background: black;"/>
    569        <mspace width="10px" height="30px" style="background: black;"/>
    570        <mspace width="10px" height="40px" style="background: black;"/>
    571        <mspace width="10px" height="50px" style="background: black;"/>
    572        <mprescripts/>
    573        <mspace width="10px" height="70px" style="background: black;"/>
    574        <mspace width="10px" height="80px" style="background: black;"/>
    575      </mmultiscripts>
    576    </math>
    577  </p>
    578  <p>
    579    <math>
    580      <mmultiscripts data-reference="mmultiscripts-reference-0" data-title="multiscripts child count from 3 to 0">
    581        <mspace width="10px" height="10px" style="background: black;"/>
    582        <mspace width="10px" height="20px" style="background: black;"/>
    583        <mspace width="10px" height="30px" style="background: black;"/>
    584      </mmultiscripts>
    585    </math>
    586  </p>
    587  <p>
    588    <math>
    589      <mmultiscripts data-reference="mmultiscripts-reference-1" data-title="multiscripts child count from 3 to 1">
    590        <mspace width="10px" height="10px" style="background: black;"/>
    591        <mspace width="10px" height="20px" style="background: black;"/>
    592        <mspace width="10px" height="30px" style="background: black;"/>
    593      </mmultiscripts>
    594    </math>
    595  </p>
    596  <p>
    597    <math>
    598      <mmultiscripts data-reference="mmultiscripts-reference-2" data-title="multiscripts child count from 3 to 2">
    599        <mspace width="10px" height="10px" style="background: black;"/>
    600        <mspace width="10px" height="20px" style="background: black;"/>
    601        <mspace width="10px" height="30px" style="background: black;"/>
    602      </mmultiscripts>
    603    </math>
    604  </p>
    605  <p>
    606    <math>
    607      <mmultiscripts data-reference="mmultiscripts-reference-3" data-title="multiscripts child count from 0 to 3">
    608      </mmultiscripts>
    609    </math>
    610  </p>
    611  <p>
    612    <math>
    613      <mmultiscripts data-reference="mmultiscripts-reference-6" data-title="multiscripts child count from 3 to 6">
    614        <mspace width="10px" height="10px" style="background: black;"/>
    615        <mspace width="10px" height="20px" style="background: black;"/>
    616        <mspace width="10px" height="30px" style="background: black;"/>
    617      </mmultiscripts>
    618    </math>
    619  </p>
    620  <p>
    621    <math>
    622      <mmultiscripts data-reference="mmultiscripts-reference-8" data-title="multiscripts child count from 3 to 8">
    623        <mspace width="10px" height="10px" style="background: black;"/>
    624        <mspace width="10px" height="20px" style="background: black;"/>
    625        <mspace width="10px" height="30px" style="background: black;"/>
    626      </mmultiscripts>
    627    </math>
    628  </p>
    629 </body>
    630 </html>