diff options
author | Tim Baumann <tim@timbaumann.info> | 2017-10-09 18:33:09 +0200 |
---|---|---|
committer | Alexander Biehl <alexbiehl@gmail.com> | 2017-10-09 18:33:09 +0200 |
commit | e41c1cbe9f0476997eac7b4a3f17cbc6b2262faf (patch) | |
tree | 630d1956d5c94e7fcbc185027d211c64213597b4 /html-test/ref/OrphanInstances.html | |
parent | 406030f2782590799e44470da7ca80e85f3cf026 (diff) |
Use <details> element for collapsibles (#690)
* Remove unnecessary call to 'collapseSection'
The call is unnecessary since there is no corresponding toggle for hiding the
section of orphan instances.
* Use <details> for collapsibles
This makes them work even when JS is disabled. Closes #560.
Diffstat (limited to 'html-test/ref/OrphanInstances.html')
-rw-r--r-- | html-test/ref/OrphanInstances.html | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/html-test/ref/OrphanInstances.html b/html-test/ref/OrphanInstances.html index 96eb5b3d..b7fa346c 100644 --- a/html-test/ref/OrphanInstances.html +++ b/html-test/ref/OrphanInstances.html @@ -49,22 +49,24 @@ ></ul ></div ><div id="synopsis" - ><p id="control.syn" class="caption expander" onclick="toggleSection('syn')" - >Synopsis</p - ><ul id="section.syn" class="hide" onclick="toggleSection('syn')" - ></ul + ><details id="syn" + ><summary + >Synopsis</summary + ><ul class="details-toggle" data-details-id="syn" + ></ul + ></details ></div ><div id="interface" ><h1 >Documentation</h1 ><h1 >Orphan instances</h1 - ><div id="section.orphans" class="show" + ><div id="section.orphans" ><table ><tr ><td class="src clearfix" ><span class="inst-left" - ><span id="control.i:o:ic:AClass:AClass:1" class="instance expander" onclick="toggleSection('i:o:ic:AClass:AClass:1')" + ><span class="instance details-toggle-control details-toggle" data-details-id="i:o:ic:AClass:AClass:1" ></span > <a href="#" >AClass</a @@ -81,8 +83,10 @@ ></tr ><tr ><td colspan="2" - ><div id="section.i:o:ic:AClass:AClass:1" class="inst-details hide" - ><div class="subs methods" + ><details id="i:o:ic:AClass:AClass:1" + ><summary class="hide-when-js-enabled" + >Instance details</summary + ><div class="subs methods" ><p class="caption" >Methods</p ><p class="src" @@ -96,7 +100,7 @@ >#</a ></p ></div - ></div + ></details ></td ></tr ></table |