Back to the view transitions experiments

element.startViewTransition() on a canvas child

In Chromium 157 the button below ends this tab with "Aw, Snap". The call is a scoped view transition started on an element that has the drawable attribute, inside <canvas content="drawable">. It crashes with or without layoutsubtree, and whether or not the canvas has drawn the child. The child has to have the drawable attribute: without it the transition runs. On a canvas without content="drawable" the same call is rejected with "Unsupported layout or style".

child of the canvas

<canvas content="drawable" layoutsubtree>
  <div id="child" drawable>child of the canvas</div>
</canvas>

child.startViewTransition(() => {});