<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
<meta charset="UTF-8">
<title>Canvas test: {{ name }}</title>
<link rel="stylesheet" href="/html/canvas/resources/canvas-grid-reftest.css">
<h1>{{ name }}</h1>
<p class="desc">{{ desc }}</p>
{% if notes %}<p class="notes">{{ notes }}{% endif %}
{% for image in images %}
<img src="/images/{{ image }}" id="{{ image }}" class="resource">
{% endfor %}
{% for svgimage in svgimages %}
<svg><image xlink:href="/images/{{ svgimage
      }}" id="{{ svgimage }}" class="resource"></svg>
{% endfor %}

<div class="grid-container" style="--grid-width: {{ grid_width }}">
{% for variant in variants %}
<span>
  {% for variant_name in variant.grid_variant_names %}
  <div>{{ variant_name }}</div>
  {% endfor %}
  <div class="grid-cell-content"
       style="width: {{ variant.size[0] }}px; height: {{ variant.size[1]}}px;">
    {{ variant.html_reference | trim | indent(4) }}
  </div>
</span>

{% endfor %}
</div>
