summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/472950-1.html
blob: cd2a49aa3dfcad1830ae4afa64a19d2e591d3dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>div::first-letter { color: green; }</style>
<script>

function boom()
{
  var e = document.getElementById("e");
  document.documentElement.style.direction = "rtl";
  e.style.whiteSpace = "pre";
}

</script>
</head>
<body onload="boom();">

<div><span style="direction: rtl;" id="e"><span>
      
    </span>A B</span></div>
    
</body></html></html>