summaryrefslogtreecommitdiff
path: root/layout/reftests/details-summary/details-before.html
blob: 103908919708d58f47080839fb3e695e8445e722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<head>
  <style>
    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>