NULL-deref in RenderBox::clippedOverflowRectForRepaint
[WebKit.git] / LayoutTests / fast / inline / crash-new-continuation-with-outline.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5     object:after {
6         content: "ipsum";
7     }
8     object {
9         opacity: 0.6039658321533352;
10         visibility: hidden;
11         outline-style: dotted;
12     }
13 </style>
14 </head>
15 <body>
16 <p>Test case for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=84774">84774</a>: NULL-deref in RenderBox::clippedOverflowRectForRepaint</p>
17 <script>
18     if (window.layoutTestController)
19         layoutTestController.dumpAsText();
20
21     var objectElement = document.createElement("object");
22     newContent = document.createTextNode("Lorem");
23     objectElement.appendChild(newContent);
24     document.body.appendChild(objectElement);
25
26     var olElement = document.createElement("ol");
27     objectElement.appendChild(olElement);
28
29     document.body.appendChild(document.createTextNode("PASSED, this test did not crashed."));
30 </script>
31 </body>
32 </html>