Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Canvas.drawElementImage: nested canvases should not render without drawing</title>
<link rel="help" href="https://github.com/WICG/html-in-canvas">
<link rel="match" href="nested-canvas-not-rendered-ref.html">
<canvas layoutsubtree="true" style="width: 100px; height: 100px; background: green;">
<!-- Neither of the nested canvases should render since we have not drawn them. -->
<canvas style="width: 60px; height: 50px; background: red;"></canvas>
<canvas layoutsubtree="true" style="width: 50px; height: 60px; background: red;"></canvas>
</canvas>