summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/summary-position-out-of-flow.html
blob: 2c585fd4978e93a4e84490f0702fc24b9ca5b025 (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
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->

<html>
  <head>
    <style>
    #fixed {
      position: fixed;
      bottom: 0;
      right: 0;
    }
    #absolute {
      position: absolute;
      top: 100px;
      left: 100px;
    }
    </style>
  </head>
  <body>
    <details>
      <summary id="fixed">Summary (position: fixed)</summary>
      <p>This is the detail with fixed summary.</p>
    </details>
    <details>
      <summary id="absolute">Summary (position: absolute)</summary>
      <p>This is the detail with absolute summary.</p>
    </details>
  </body>
</html>