Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
<html class="reftest-wait">
<script>
function runTest() {
// Close the inner details.
document.getElementById("inner").open = false;
document.documentElement.removeAttribute("class");
}
</script>
<body onload="runTest();">
<details open>
<summary>outer summary</summary>
<details open id="inner">
<summary>inner summary</summary>
<p>inner details</p>
<details open>
<summary>inner most summary</summary>
<p>inner most details</p>
</details>
</details>
<p>outer details</p>
</details>
</body>
</html>