0%;
        align-items: center;
        justify-content: center;
        background: red;
        color: white;
    }
    </style>
  </head>
  <body>
    <canvas id="c"></canvas>
    <div id="noOffscreenCanvas" style="display:none;">
      <div>no OffscreenCanvas support</div>
    </div>
  </body>
<script type="module">
function main() { /* eslint consistent-return: 0 */

	const canvas = document.querySelector( '#c' );
	if ( ! canvas.transferControlToOffscreen ) {

		canvas.style.display = 'none';
		docume