summaryrefslogtreecommitdiff
path: root/layout/reftests/flexbox/flexbox-dyn-insertAroundText-3-ref.xhtml
blob: 45d357ab8727291741787dc384007794a7b1daf5 (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;
      }

      span.inserted {
        background: teal; /* To make inserted span elements stand out. */
      }

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