<!DOCTYPE html>
<style>
caption {
    display: inline-flex;
    flex-direction: column-reverse;
    height: 0%;
}
</style>
This test PASSES if it doesn't CRASH in DEBUG builds.
<table>
    <caption>
	<div style="height: 0%"></div>
    </caption>
</table>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
