blob: d90f697f2e8737fef6d74ae7bda8604faa5a889b [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
if (window.testRunner) {
testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
testRunner.dumpAsText();
}
</script>
<style>
#a:nth-last-child(-n+2) {
-webkit-flow-into: body;
}
</style>
<body>
<p>This test passes if it does not crash.</p>
<div style="display: grid;">
<div id=a></div>
<div style="display: inline; "></div>
</div>
</html>