| <!doctype html> |
| <html> |
| <head> |
| <style> |
| #green { position: fixed; width: 20%; height: 20%; top: 150px; left: 125px; background-color: green; } |
| </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 a fixed position element inside a named flow and flows it into a region.</p> |
| <p>The fixed positioned element should be positioned and sized relative to the viewport.</p> |
| <p>The test passes if it does not crash or assert and there is no red rectangle visible.</p> |
| <div id="green"></div> |
| </body> |
| </html> |