summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/1755770-1.html
blob: ee9cf6fee7d0891588bc0d2d29358fa0da2a979b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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");
      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>