summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/391034-1.xhtml
blob: 315796d2859fde7f9da80e5e8004e7623a637cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function boom()
{
  var p = document.getElementById("p");
  window.getComputedStyle(p, null).getPropertyValue("right");
}
</script>
</head>

<body onload="boom();">

<p id="p" style="position: relative; left: 3ch;">foo</p>

</body>
</html>