<!DOCTYPE html>
<style>
li {
    float: left;
    border: 5px solid pink;
}
div {
    background-color: salmon;
    width: 20px;
    height: 20px;
}
</style>
The list items should have no content.

<ul style="border:2px solid blue;">
    <li data-expected-width=10></li>
    <li data-expected-width=10></li>
</ul>

<script src="../../resources/check-layout.js"></script>
<script>
checkLayout('ul');
</script>