<!DOCTYPE html>
<html>
<head>
    <link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
    <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
    <meta name="assert" content="content-visiblity: auto on a <th> element should not cause a crash.">
    <style>
        TR {
          content-visibility: auto;
        }
        * {
            inset-block-end: 21%;
        }
    </style>
</head>
<body>
    <table>
    <th>
    <sub>
</body>
</html>
