summaryrefslogtreecommitdiff
path: root/layout/reftests/flexbox/flexbox-dyn-insertAroundDiv-3-ref.xhtml
blob: b29b16f1864cd35b81e50fa3aeb5383276577008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!--
     This reference case is like its textcase, but with the testcase's dynamic
     modifications already performed.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <style>
      body { font-size: 10px; }

      <!-- to make inserted span elements stand out -->
      span.inserted { background: teal; }

      div.flexbox {
        border: 1px dashed blue;
        width: 300px;
        display: flex;
        justify-content: space-around;
        margin-bottom: 1px;
        white-space: pre;
      }
    </style>
  </head>
  <body>
    <div class="flexbox" id="f0"><span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
    <div class="flexbox" id="f1"><div>[OldText]</div><span class="inserted">[NewSpan]</span></div>
    <div class="flexbox" id="f2"><span class="inserted">[NewSpan]</span>  <div>[OldText]</div></div>
    <div class="flexbox" id="f3">  <span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
    <div class="flexbox" id="f4"><div>[OldText]</div><span class="inserted">[NewSpan]</span>  </div>
    <div class="flexbox" id="f5"><div>[OldText]</div>  <span class="inserted">[NewSpan]</span></div>
    <div class="flexbox" id="f6"><span class="inserted">[NewSpan]</span>[NewText]<div>[OldText]</div></div>
    <div class="flexbox" id="f7">[NewText]<span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
    <div class="flexbox" id="f8"><div>[OldText]</div><span class="inserted">[NewSpan]</span>[NewText]</div>
    <div class="flexbox" id="f9"><div>[OldText]</div>[NewText]<span class="inserted">[NewSpan]</span></div>
  </body>
</html>