Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / inline / positionedLifetime.html
blobe0539a1b0e7e9fcdeaa5a08af19bca2b4f65c1ff
1 <html>
2 <head>
3 <script>
4 function showHide() {
5 document.body.offsetWidth;
6 document.getElementById('b').style.display = 'none';
7 document.getElementById('a').style.display = 'block';
8 document.body.offsetWidth;
9 }
10 </script>
11 </head>
12 <body>
13 <input type="radio" onclick="showHide()">
14 <br>
15 <div id="a" style="position:absolute; display:none"></div>
16 <div id="b" style="position:absolute"></div>
18 <script> showHide(); </script>
20 </body>
21 </html>