/[suikacvs]/www/test/dom/element/cssom/offset/offset-parent-html-child-2.html
Suika

Contents of /www/test/dom/element/cssom/offset/offset-parent-html-child-2.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Sun Jan 22 02:31:55 2012 UTC (14 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
Current

1 wakaba 1.1 <!DOCTYPE HTML>
2     <title>body.nextSibling.offsetParent</title>
3     <script src="../../../../support/result.js"></script>
4     <style>
5     html {
6     background-color: white;
7     }
8     </style>
9     <body>
10    
11     <p id=result class=FAIL>FAIL (noscript)</p>
12    
13     <script>
14     var result = document.getElementById ('result');
15     result.firstChild.data = 'FAIL (script error)';
16     var el = document.createElement ('div');
17     el.style.position = 'absolute';
18     el.style.top = '123px';
19     el.style.left = '45px';
20     document.documentElement.appendChild (el);
21    
22     setResult ('result', el.offsetParent);
23     </script>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24