summaryrefslogtreecommitdiffstats
path: root/layout/reftests/details-summary/open-details-before.html
blob: a35a58111881b0d92669f6c1e95d2c06ed78a15b (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 open>
      <summary>Summary</summary>
    </details>
  </body>
</html>