Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / fixed-pos-elem-in-region.html
1 <!doctype html>
2 <html>
3     <head>
4         <style>
5             #red { position: fixed; width: 50px; height: 50px; top: 125px; left: 75px; background-color: red; }
6             #fixed { -webkit-flow-into: flow; position: fixed; width: 50px; height: 50px; background-color: green; top: 25px; left: 25px; }
7             #region { -webkit-flow-from: flow; width: 100px; height: 100px; position: absolute; top: 100px; left: 50px; }
8         </style>
9     </head>
10     <body>
11         <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=88133">WebKit Bug 88133</a> Collecting a fixed positioned element in a named flow causes WebKit to crash.</p>
12         <p>This test collects a fixed position element inside a named flow and flows it into a region.</p>
13         <p>The test passes if it does not crash or assert and there is no red rectangle visible.</p>
14         <div id="red"></div>
15         <div id="fixed"></div>
16         <div id="region"></div>
17     </body>
18 </html>