resources/check-layout-th.js"></script>
<script>
const reference = document.getElementById("reference");
const normalWidth = reference.clientWidth;
for (let test of document.querySelectorAll(".test.cis-width")) {
  reference.size = test.size || 4;
  test.dataset.expectedClientHeight = reference.clientHeight;
}
for (let test of document.querySelectorAll(".test.cis-height")) {
  test.dataset.expectedClientWidth = normalWidth;
 }

checkLayout('.test');
</script>
