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