blob: 31b42ec452580a7a18fdbf9c6556cc8ddf82f70f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<html>
<head>
<script>
window.addEventListener("load", () => {
const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
const text = document.createElementNS("http://www.w3.org/2000/svg", "text");
text.setAttribute("letter-spacing", "65535pc");
text.setAttribute("writing-mode", "vertical-lr");
const node = document.createTextNode("\rï¿»ð¨\nó = ð£%?;ð©á©¿ð�");
text.appendChild(node);
svg.appendChild(text);
document.documentElement.appendChild(svg);
const rect = new DOMRectReadOnly(-128, 256, 0, 1024);
node.convertRectFromNode(rect, document, {});
})
</script>
</head>
</html>
|