Skip to content

Truly independent web browser

405 B
Raw Blame
<!DOCTYPE html>
<script src="../include.js"></script>
<table id="table"><td id="td"></td></table>
<script>
    function testCellpadding(value) {
        table.setAttribute("cellpadding", value);
        println(getComputedStyle(td).padding);
    }

    test(() => {
        testCellpadding("1");
        testCellpadding("5");
        testCellpadding("0");
        testCellpadding("-1");
    });
</script>