summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/730562-1.html
blob: b751b5120c771dd7c151a0620cbe88f3e74a9b89 (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>
  <head>
    <meta charset="utf-8">
    <script>

function boom()
{
  // Force frame construction
  document.documentElement.offsetHeight;

  // A dynamic change
  var x = document.getElementById("x");
  x.firstChild.remove();
  x.appendChild(document.createTextNode("\n\n\n"));
}

    </script>
  </head>
  <body onload="boom();">
    <div style="direction: rtl; white-space: pre;"><span style="outline: 1px solid red;" id="x">
	:p</span></div>
  </body>
</html>