<!DOCTYPE html> | |
<script src="../../resources/check-layout.js"></script> | |
<p>Below there should be a green square with a black border.</p> | |
<table id="elm" style="background:black;" data-expected-height="106" data-expected-width="106"> | |
<tr> | |
<td style="height:min-content;"> | |
<div style="width:100px; height:100px; background:green;"></div> | |
</td> | |
</tr> | |
</table> | |
<p id="result"></p> | |
<script> | |
checkLayout("#elm", document.getElementById("result")); | |
</script> |