summaryrefslogtreecommitdiffstats
path: root/layout/reftests/flexbox/flexbox-dyn-insertEmptySpan-1-ref.xhtml
blob: 0c0f9b5baa20fca8896c78e7aac0ef191785be91 (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
41
42
43
<?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 {
        background: teal;
        padding: 3px;
      }

      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/>[orig]</div>
    <div class="flexbox" id="f1">[orig]<span/></div>
    <div class="flexbox" id="f2"><span/>  [orig]</div>
    <div class="flexbox" id="f3">  <span/>[orig]</div>
    <div class="flexbox" id="f4">[orig]<span/>  </div>
    <div class="flexbox" id="f5">[orig]  <span/></div>
    <div class="flexbox" id="f6"><span/>[NewText][orig]</div>
    <div class="flexbox" id="f7">[NewText]<span/>[orig]</div>
    <div class="flexbox" id="f8">[orig]<span/>[NewText]</div>
    <div class="flexbox" id="f9">[orig][NewText]<span/></div>
  </body>
</html>