diff --git a/index.html b/index.html index 816ab57..0792cfe 100644 --- a/index.html +++ b/index.html @@ -857,7 +857,9 @@ this.$tableContainer.appendChild(this.$table); this.$pane.appendChild(this.$tableContainer); - menu.$specContainer.appendChild(this.$container); + if (menu != null) { + menu.$specContainer.appendChild(this.$container); + } }, activate() { @@ -1192,6 +1194,9 @@ } function init() { + if (document.getElementById('menu') == null) { + return; + } menu = new Menu(); let $container = document.getElementById('spec-container'); $container.addEventListener( @@ -1871,6 +1876,7 @@ emu-note { margin: 1em 0; display: flex; + gap: 1em; flex-direction: row; color: inherit; border-left: 5px solid #52e052; @@ -1880,8 +1886,7 @@ } emu-note > span.note { - flex-basis: 100px; - min-width: 100px; + white-space: nowrap; flex-grow: 0; flex-shrink: 1; text-transform: uppercase; @@ -2923,12 +2928,6 @@ padding-right: 5px; } -@media print { - #menu-toggle { - display: none; - } -} - [normative-optional], [deprecated], [legacy] { @@ -2986,7 +2985,230 @@ background-color: #eee; box-shadow: inset 0 -1px 0 #ccc; } - +
The abstract operation PerformShadowRealmEval takes arguments sourceText (a String), callerRealm (a