blob: 91c9d3c9d89b97257a5f816653035175befa08ed [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
#red { position: fixed; width: 50px; height: 50px; top: 125px; left: 75px; background-color: red; }
#fixed { -webkit-flow-into: flow; position: fixed; 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 a fixed position element inside a named flow and flows it into a region.</p>
<p>The test passes if it does not crash or assert and there is no red rectangle visible.</p>
<div id="red"></div>
<div id="fixed"></div>
<div id="region"></div>
</body>
</html>