summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/the-details-element/details-revert-ref.html
blob: dc46b159012fd80c39b66e94935c210a11826487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
  summary {
    display: list-item;
    counter-increment: list-item 0;
    list-style: disclosure-closed inside;
  }
  details[open] > summary {
    list-style-type: disclosure-open;
  }
</style>
<details>
  <summary>Example</summary>
</details>
<details open>
  <summary>Example</summary>
</details>