summaryrefslogtreecommitdiffstats
path: root/layout/reftests/flexbox/flexbox-invalidation-1-ref.html
blob: a9481b0a785ff97bf05668090879b5a14048f668 (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
<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!--
    Reference case, with testcase's dynamic tweak already performed.
-->
<html>
  <head>
    <style>
      div#outer { margin-left: 40px }

      div#flexContainer {
        width: 100px;
        height: 50px;
        background: lightgray;
        display: flex;
        justify-content: center;
      }

      div#flexItem {
        border: 1px solid black;
        height: 200%;
        background: purple;
      }
    </style>
  </head>
  <body>
    <div id="outer">
      <div id="flexContainer">
        <div id="flexItem">item</div>
      </div>
    </div>
  </body>
</html>