summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/html/details-open-javascript.html
blob: f4efe3fabc3a8f7ab32806802e038eb4f99ef55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<details id="details1">
    <summary>details1</summary>
    <input>
</details>

<details id="details2" open>
    <summary>details2</summary>
    <input>
</details>

<script>
document.getElementById("details1").open = true;
document.getElementById("details2").open = false;
</script>