Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / flexbox-in-region-crash.html
1 <!doctype html>
2 <html>
3     <head>
4         <style>
5             #el1 {
6                 -webkit-flow-into: A;
7                 display: -webkit-flexbox;
8             }
9             #el3 {
10                 -webkit-flow-from: A;
11             }
12         </style>
13         <script>
14             if (window.testRunner) {
15                 testRunner.dumpAsText();
16                 testRunner.waitUntilDone();
17             }
18
19             onload = function() {
20                 el1 = document.createElement('div')
21                 el1.setAttribute('id','el1')
22                 document.body.appendChild(el1)
23
24                 el2 = document.createElement('div')
25                 document.body.appendChild(el2)
26
27                 el3 = document.createElement('hr')
28                 el3.setAttribute('id','el3')
29                 el2.appendChild(el3)
30
31                 el4 = document.createElement('p')
32                 el4.setAttribute('id', 'el4')
33                 el5 = document.createTextNode("P1")
34                 el4.appendChild(el5)
35                 el1.appendChild(el4)
36
37                 setTimeout(function() {
38                     el1.style.display='inline'
39                     el4.style.visibility = 'hidden'
40
41                     if (window.testRunner)
42                         testRunner.notifyDone();
43                     },0)
44             }
45         </script>
46     </head>
47     <body>
48         <p> Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=77474">77474</a>: Crash in RenderFlowThread::setRegionBoxesRegionStyle</p>
49         <p> This test PASSES if it does not CRASH or ASSERT.</p>
50     </body>
51 </html>