Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / pop-all-after-after-body.html
blob4820e2eb468da017f92c1f2335b480987ff81dc7
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title>last-child test</title>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 window.onload = function() {
11 // Notice that this file lacks a terminating newline character!
12 // That's essential to what this test is testing!
13 if (document.querySelectorAll('body>:last-child').length == 1) {
14 alert('PASS');
15 } else {
16 alert('FAIL');
19 </script>
20 </head>
21 <body><div id='last'>last</div></body></html>