summaryrefslogtreecommitdiffstats
path: root/layout/reftests/details-summary/details-before.html
blob: 9b9d437f9917e695bfd453f9fd8204f94c7f30b8 (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
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<head>
  <style>
    summary {
      list-style-type: none;
    }
    details::before {
      content: "This is the details.";
      /* Match the margins and display of <p> */
      display: block;
      margin-block-start: 1em;
      margin-block-end: 1em;
    }
  </style>
</head>
<html>
  <body>
    <details>
      <summary>Summary</summary>
    </details>
  </body>
</html>