| 1 |
<title>body.nextSibling.offsetParent</title> |
| 2 |
<script src="../../../../support/result.js"></script> |
| 3 |
<body> |
| 4 |
|
| 5 |
<p id=result class=FAIL>FAIL (noscript)</p> |
| 6 |
|
| 7 |
<script> |
| 8 |
var result = document.getElementById ('result'); |
| 9 |
result.firstChild.data = 'FAIL (script error)'; |
| 10 |
var el = document.createElement ('div'); |
| 11 |
el.style.position = 'absolute'; |
| 12 |
el.style.top = '123px'; |
| 13 |
el.style.left = '45px'; |
| 14 |
document.documentElement.appendChild (el); |
| 15 |
|
| 16 |
setResult ('result', el.offsetParent); |
| 17 |
</script> |