| <!doctype html> |
| <html> |
| <head> |
| <style> |
| #red { position: absolute; width: 50px; height: 50px; top: 125px; left: 75px; background-color: red; } |
| #absolute { -webkit-flow-into: flow; position: absolute; width: 50px; height: 50px; background-color: green; top: 25px; left: 25px; } |
| #region { -webkit-flow-from: flow; width: 100px; height: 100px; position: absolute; top: 100px; left: 50px; } |
| </style> |
| </head> |
| <body> |
| <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> |
| <p>This test collects an absolutely positioned element inside a named flow and flows it into a region.</p> |
| <p>The test passes if it does not crash or assert and no red rectangle is visible.</p> |
| <div id="red"></div> |
| <div id="absolute"></div> |
| <div id="region"></div> |
| </body> |
| </html> |