tor-browser

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

join-first-li-containing-preformatted-linefeed-and-last-li.html (700B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <style>
      6 *:last-child {
      7  white-space: pre-line;
      8 }
      9 </style>
     10 <script>
     11 "use strict";
     12 
     13 addEventListener("load", () => {
     14  document.designMode = "on";
     15  getSelection().setBaseAndExtent(
     16    document.querySelector("ol"),
     17    0,
     18    document.querySelector("ol"),
     19    document.querySelector("ol").childNodes.length
     20  );
     21  document.execCommand("insertHTML", false, "");
     22 }, {once: true});
     23 </script>
     24 </head>
     25 <!-- Do not change the white-spaces between <li> elements nor the line break in the first <li> -->
     26 <body>
     27 <ol><li>
     28 </li><li>
     29 <blockquote style="display:inline-flex">
     30  <title contenteditable></title>
     31 </blockquote>
     32 </li><li></li></ol>
     33 </body>
     34 </html>