tor-browser

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

1373586.html (659B)


      1 <!DOCTYPE html>
      2 <meta charset="UTF-8">
      3 <script>
      4 // This is the constant in nsTextFrame.cpp of the number of lines which
      5 // a text run can be built up to.
      6 const NUM_LINES_TO_BUILD_TEXT_RUNS = 200;
      7 // Push the affecting line to be the last line in the text run.
      8 for (let i = 0; i < NUM_LINES_TO_BUILD_TEXT_RUNS - 1; i++) {
      9  document.write('x<br>');
     10 }
     11 // The exact number here isn't important. It just needs to be large
     12 // enough that '\n' would be inside text after a line break.
     13 for (let i = 0; i < 2000; i++) {
     14  document.write('あ');
     15 }
     16 document.write('\nあ<br>');
     17 // Then this ruby would not get its text run.
     18 document.write('x<ruby>x</ruby>');
     19 </script>