2020-08-28 14:41:56 +00:00
|
|
|
<!-- Copyright 2020 the V8 project authors. All rights reserved.
|
|
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
|
|
found in the LICENSE file. -->
|
|
|
|
|
2020-09-23 10:30:17 +00:00
|
|
|
<head>
|
|
|
|
<link href="./index.css" rel="stylesheet">
|
|
|
|
</head>
|
2020-08-28 14:41:56 +00:00
|
|
|
<style>
|
|
|
|
pre.scriptNode {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.scriptNode:before {
|
2020-09-23 10:30:17 +00:00
|
|
|
counter-reset: sourceLineCounter;
|
2020-08-28 14:41:56 +00:00
|
|
|
}
|
|
|
|
|
2020-09-23 10:30:17 +00:00
|
|
|
pre.scriptNode span {
|
|
|
|
counter-increment: sourceLineCounter;
|
2020-08-28 14:41:56 +00:00
|
|
|
}
|
|
|
|
|
2020-09-23 10:30:17 +00:00
|
|
|
pre.scriptNode span::before {
|
|
|
|
content: counter(sourceLineCounter) " ";
|
2020-08-28 14:41:56 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 4em;
|
|
|
|
padding-left: auto;
|
|
|
|
margin-left: auto;
|
2020-09-23 10:30:17 +00:00
|
|
|
text-align: right;
|
2020-08-28 14:41:56 +00:00
|
|
|
}
|
2020-09-23 10:30:17 +00:00
|
|
|
|
|
|
|
mark {
|
|
|
|
width: 1ch;
|
|
|
|
height: 1lh;
|
|
|
|
border-radius: 0.1lh;
|
|
|
|
border: 0.5px var(--background-color) solid;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.marked {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: var(--on-primary-color);
|
|
|
|
}
|
2020-08-28 14:41:56 +00:00
|
|
|
</style>
|
|
|
|
<div class="panel">
|
|
|
|
<h2>Source Panel</h2>
|
2020-09-23 10:30:17 +00:00
|
|
|
<div class="script-dropdown">
|
|
|
|
<label for="scripts-label">Scripts:</label>
|
|
|
|
<select id="script-dropdown"></select>
|
|
|
|
</div>
|
2020-08-28 14:41:56 +00:00
|
|
|
<div id="script">
|
|
|
|
<pre class="scripNode"></pre>
|
|
|
|
</div>
|
|
|
|
</div>
|