summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/743364.html
blob: 2e230f97c5aedd77f90ad906081c9bf31121a4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html style="width: 1px;">
<head>
<style>
p:first-letter { }
</style>
<script>
function boom()
{
  var p = document.querySelector("p");
  document.documentElement.offsetHeight;
  p.style.direction = "ltr";
  document.documentElement.offsetHeight;
  p.style.letterSpacing = "-56px";
  document.documentElement.offsetHeight;
}
</script>
</head>
<body onload="boom();">
<p style="direction: rtl; column-count: 3; white-space: pre-line;">x y

</p>
</body>
</html>