Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / genContentDestroyChildren.html
blobcb129cb2156673b42535bce0bac9c4f0e3de4a6a
1 <html>
2 <head>
3 <style>
4 .haveContent:after { content: "foo"; }
5 </style>
6 </head>
7 <body>
8 <div>
9 <a id="foo" class="haveContent"><img src="resources/apple.gif" alt=""/><br/></a>
10 </div>
12 <script>
13 document.body.offsetWidth;
14 document.getElementById('foo').className='';
15 document.body.offsetWidth;
16 </script>
17 </body>
18 </html>