summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/parser/remove-block-in-residual-style.html
blob: cf4606c03449240d96005972cf56a3cae14b45c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE HTML>
<html>
 <head>
  <title>Reparenting in the presence of malformed content</title>
 </head>
 <body>
  <font>
   <p>
    <script>
     if (window.testRunner)
         testRunner.dumpAsText();
     var p = document.getElementsByTagName('p')[0];
     p.parentNode.removeChild(p);
    </script>
   </font>
  </p>
  PASS - this test checks that removing a block element while it's in an imporperly closed inline doesn't crash. This is checking for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=6778">bug 6778</a>.
 </body>
</html>