<div style="display:table-caption">
<svg xmlns="http://www.w3.org/2000/svg">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<text display="inherit">This test PASSED if we don't crash when the display value is table-caption by using inherit</text>
</svg>
</div>