-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (58 loc) · 2.39 KB
/
index.html
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<title>Unicode</title>
<link rel=stylesheet href=style.css>
</head>
<body>
<template id=table-header>
<div class=table-header>
<div class=table-header__utf-8>UTF-8</div>
<div class=table-header__utf-16>UTF-16</div>
<div class=table-header__codepoint>Codepoint</div>
<div class=table-header__grapheme>Grapheme</div>
</div>
</template>
<template id=table-footer>
<div class=table-footer>
<div class=table-footer__utf-8 data-slot=utf-8-bytes>26</div>
<div class=table-footer__utf-16>
<span data-slot=utf-16-units>12</span>
/
<span data-slot=utf-16-bytes>24</span>b
</div>
<div class=table-footer__codepoint data-slot=codepoints>9</div>
<div class=table-footer__grapheme data-slot=graphemes>3</div>
</div>
</template>
<template id=grapheme>
<div class=grapheme>
<div class=grapheme__codepoints data-slot=codepoints></div>
<div class=grapheme__text-container>
<div class=grapheme__text data-slot=text>//?</div>
</div>
</div>
</template>
<template id=codepoint>
<div class=codepoint>
<div class=codepoint__utf-8 data-slot=utf-8></div>
<div class=codepoint__utf-16 data-slot=utf-16></div>
<div class=codepoint__description>
<div class=codepoint__id>U+<span class=codepoint__number data-slot=number>FEFF</span></div>
<div class=codepoint__name data-slot=name>REPLACEMENT CHARACTER</div>
<div class=codepoint__actions>
<!-- <button class=codepoint__insert data-action=insert>+</button> -->
<button class=codepoint__delete data-action=delete>×</button>
</div>
</div>
</div>
</template>
<p>Normalization? <em><a href="#N%C3%B6t%20o%CC%88n">Nöt ön</a> my watch.</em> Flags <a href="#%F0%9F%87%AA%F0%9F%87%B8%F0%9F%87%BA%F0%9F%87%B3%F0%9F%87%A6%F0%9F%87%B6">🇪🇸🇺🇳🇦🇶</a> are just regional indicators smushed into one another. This heart’s <a href="#%E2%9D%A4%EF%B8%8F">❤️</a> of two, but that <a href="#%F0%9F%A9%B7">🩷</a> one? Just one.</p>
<progress class=table-load-bar id=table-load-bar class=table-loading-progress-bar aria-label="Loading codepoint table…"></progress>
<input id=main-text-input value="">
<div id=visualization class=vis></div>
<script type=module src=src/main.js></script>
</body>
</html>