forked from gorhill/uBlock
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjsonpath-tests.html
More file actions
48 lines (45 loc) · 860 Bytes
/
Copy pathjsonpath-tests.html
File metadata and controls
48 lines (45 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>JSONPath: rfc9535 conformance</title>
<style>
main {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
}
.test {
border: 1px solid #ccc;
display: flex;
flex-direction: column;
font-family: monospace;
}
.test .fail {
background-color: #fcc;
}
.test > div:first-of-type {
background-color: #eee;
padding: 0.5em;
}
.test > div:not(:first-of-type) {
padding: 0.25em;
white-space: pre-line;
}
</style>
</head>
<body>
<h2>JSONPath: rfc9535 conformance</h2>
<main>
</main>
<template id="test-result">
<div class="test">
<div></div>
<div> </div>
<div> </div>
</div>
</template>
<script type="module" src="./jsonpath-tests.js"></script>
</body>
</html>