summaryrefslogtreecommitdiffstats
path: root/layout/reftests/details-summary/details-display-inline.html
blob: 94c5db219a0d2f270a3d5868337d68d58daaa155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->

<html>
  <style>
  details {
    display: inline;
  }
  summary {
    /* Hide the triangle for comparing with div in reftest. */
    list-style-type: none;
  }
  </style>
  <body>
    Details element:
    <details open>
      <summary>Summary</summary>
      <p>This is the details.</p>
    </details>
  </body>
</html>