tor-browser

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

flexbox-dyn-insertAroundDiv-3-ref.xhtml (1763B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <!--
      7     This reference case is like its textcase, but with the testcase's dynamic
      8     modifications already performed.
      9 -->
     10 <html xmlns="http://www.w3.org/1999/xhtml">
     11  <head>
     12    <style>
     13      body { font-size: 10px; }
     14 
     15      <!-- to make inserted span elements stand out -->
     16      span.inserted { background: teal; }
     17 
     18      div.flexbox {
     19        border: 1px dashed blue;
     20        width: 300px;
     21        display: flex;
     22        justify-content: space-around;
     23        margin-bottom: 1px;
     24        white-space: pre;
     25      }
     26    </style>
     27  </head>
     28  <body>
     29    <div class="flexbox" id="f0"><span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
     30    <div class="flexbox" id="f1"><div>[OldText]</div><span class="inserted">[NewSpan]</span></div>
     31    <div class="flexbox" id="f2"><span class="inserted">[NewSpan]</span>  <div>[OldText]</div></div>
     32    <div class="flexbox" id="f3">  <span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
     33    <div class="flexbox" id="f4"><div>[OldText]</div><span class="inserted">[NewSpan]</span>  </div>
     34    <div class="flexbox" id="f5"><div>[OldText]</div>  <span class="inserted">[NewSpan]</span></div>
     35    <div class="flexbox" id="f6"><span class="inserted">[NewSpan]</span>[NewText]<div>[OldText]</div></div>
     36    <div class="flexbox" id="f7">[NewText]<span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
     37    <div class="flexbox" id="f8"><div>[OldText]</div><span class="inserted">[NewSpan]</span>[NewText]</div>
     38    <div class="flexbox" id="f9"><div>[OldText]</div>[NewText]<span class="inserted">[NewSpan]</span></div>
     39  </body>
     40 </html>