Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a meta tag to set viewport options for mobile devices #626

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/Spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,8 @@ export default class Spec {
this.buildReferenceGraph();

this.highlightCode();
this.setCharset();
this.setMetaCharset();
this.setMetaViewport();
const wrapper = this.buildSpecWrapper();

let commonEles: HTMLElement[] = [];
Expand Down Expand Up @@ -1875,7 +1876,7 @@ ${this.opts.multipage ? `<li><span>Navigate to/from multipage</span><code>m</cod
}

/** @internal */
public setCharset() {
public setMetaCharset() {
let current = this.spec.doc.querySelector('meta[charset]');

if (!current) {
Expand All @@ -1886,6 +1887,16 @@ ${this.opts.multipage ? `<li><span>Navigate to/from multipage</span><code>m</cod
current.setAttribute('charset', 'utf-8');
}

/** @internal */
public setMetaViewport() {
if (!this.spec.doc.querySelector('meta[name=viewport]')) {
const metaViewport = this.spec.doc.createElement('meta');
metaViewport.setAttribute('name', 'viewport');
metaViewport.setAttribute('content', 'width=device-width, initial-scale=1');
this.spec.doc.head.insertBefore(metaViewport, this.spec.doc.head.firstChild);
}
}

private _updateBySelector(selector: string, contents: string) {
const elem = this.doc.querySelector(selector);
if (elem && elem.textContent!.trim().length > 0) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/algorithms.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/assets-inline.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><script>'use strict';
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><script>'use strict';
let sdoBox = {
init() {
this.$alternativeId = null;
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/autolinking.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/boilerplate-all.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/charset-absent.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/charset-present.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8">
</head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/clauses.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body class=" oldtoc"><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body class=" oldtoc"><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/code.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/copyright.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><meta property="og:image" content="https://tc39.es/ecmarkup/ecma-logo.png"><meta property="og:title" content="test title!"><meta property="og:description" content="Test Clause"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><meta property="og:image" content="https://tc39.es/ecmarkup/ecma-logo.png"><meta property="og:title" content="test title!"><meta property="og:description" content="Test Clause"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/date.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/dfn.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/duplicate-ids.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/ecmarkdown.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/effect-user-code.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/emd-in-grammar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/eqn.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><link rel="stylesheet" href="./css/elements.css">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><link rel="stylesheet" href="./css/elements.css">
</head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/escaping.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/example.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/figure.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/grammar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><link rel="stylesheet" href="../css/elements.css">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><link rel="stylesheet" href="../css/elements.css">
</head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en-GB-oxendict"><head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<html lang="en-GB-oxendict"><head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/imports.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/ins-nonterminal.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8">
<link rel="icon" href="img/favicon.ico">
</head>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8">
<link rel="icon" href="../img/favicon.ico">
<link rel="canonical" href="../#sec-intro"></head>
<body><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins<button class="unpin-all">clear</button></div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle-none"></span><a href="./#sec-intro" title="Intro">Intro</a></li><li><span class="item-toggle-none"></span><a href="second.html#sec-second" title="Second Clause"><span class="secnum">1</span> Second Clause</a></li><li><span class="item-toggle">+</span><a href="third.html#sec-third" title="Third Clause"><span class="secnum">2</span> Third Clause</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="third.html#sec-alg" title="Algorithm"><span class="secnum">2.1</span> Algorithm</a></li></ol></li></ol></div></div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8">
<link rel="icon" href="../img/favicon.ico">
<link rel="canonical" href="../#sec-second"></head>
<body><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins<button class="unpin-all">clear</button></div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle-none"></span><a href="./#sec-intro" title="Intro">Intro</a></li><li><span class="item-toggle-none"></span><a href="second.html#sec-second" title="Second Clause"><span class="secnum">1</span> Second Clause</a></li><li><span class="item-toggle">+</span><a href="third.html#sec-third" title="Third Clause"><span class="secnum">2</span> Third Clause</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="third.html#sec-alg" title="Algorithm"><span class="secnum">2.1</span> Algorithm</a></li></ol></li></ol></div></div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8">
<link rel="icon" href="../img/favicon.ico">
<link rel="canonical" href="../#sec-third"></head>
<body><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins<button class="unpin-all">clear</button></div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle-none"></span><a href="./#sec-intro" title="Intro">Intro</a></li><li><span class="item-toggle-none"></span><a href="second.html#sec-second" title="Second Clause"><span class="secnum">1</span> Second Clause</a></li><li><span class="item-toggle">+</span><a href="third.html#sec-third" title="Third Clause"><span class="secnum">2</span> Third Clause</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="third.html#sec-alg" title="Algorithm"><span class="secnum">2.1</span> Algorithm</a></li></ol></li></ol></div></div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/namespaces.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/notes.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/oldids.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/optional-parts.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/proposal-copyright.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><meta property="og:image" content="https://tc39.es/ecmarkup/ecma-logo.png"><meta property="og:title" content="test title!"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><meta property="og:image" content="https://tc39.es/ecmarkup/ecma-logo.png"><meta property="og:title" content="test title!"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/shortname.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"><meta property="og:image" content="https://tc39.es/ecmarkup/ecma-logo.png"><meta property="og:title" content="test title!"><title>test title!</title></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><meta property="og:image" content="https://tc39.es/ecmarkup/ecma-logo.png"><meta property="og:title" content="test title!"><title>test title!</title></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/generated-reference/step-xrefs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<head><meta charset="utf-8"></head><body><div id="shortcuts-help">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"></head><body><div id="shortcuts-help">
<ul>
<li><span>Toggle shortcuts help</span><code>?</code></li>
<li><span>Toggle "can call user code" annotations</span><code>u</code></li>
Expand Down
Loading
Loading