blob: 406c0a9149367e494dbedb01918da80fbfa9c758 [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
#article { -webkit-flow-into: flow; }
#transform { width: 100px; height: 100px; -webkit-transform: translate3d(50px, 50px, 0px); }
#fixed { position: fixed; top: 25px; left: 25px; width: 50px; height: 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 positioned object into a named flow but without flowing it into a region. The fixed positioned element is the child of another element that has a transform, so that it requires a layer.</p>
<p>The test passes if it does not crash or assert.</p>
<div id="article">
<div id="transform">
<div id="fixed"></div>
</div>
</div>
<p>PASS</p>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
</script>
</body>
</html>