fix OL.type default and TableCell span clamping per spec

OL.type returns "1" (not "") when attribute absent.
TableCell.colSpan clamps to 1-1000, rowSpan to 0-65534.
This commit is contained in:
egrs
2026-02-18 12:00:44 +01:00
parent 2e64c461c3
commit eaf95a85a8
4 changed files with 23 additions and 4 deletions

View File

@@ -46,6 +46,6 @@
testing.expectEqual('1', ol1.type);
const ol2 = document.getElementById('ol2');
testing.expectEqual('', ol2.type);
testing.expectEqual('1', ol2.type);
}
</script>