summaryrefslogtreecommitdiffstats
path: root/layout/reftests/details-summary/details-after.html
blob: e586fdda90315b0dfbeb13750f61d87f9cf2a188 (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::after {
      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>