Automatic update from web-platform-tests HTML: Remove rowspan=0 quirk See https://github.com/whatwg/html/pull/11551 -- wpt-commits: cf1c40ba10e3a6dd2f1796868e4102e79cd5f6e7 wpt-pr: 54265
24 lines
533 B
HTML
24 lines
533 B
HTML
<!DOCTYPE html>
|
|
<title>rowspan=0</title>
|
|
<script src=/resources/testharness.js></script>
|
|
<script src=/resources/testharnessreport.js></script>
|
|
<table>
|
|
<tr>
|
|
<td rowspan="0" id="test-cell">x
|
|
<td id="ref-cell">x
|
|
<tr>
|
|
<td>x
|
|
</table>
|
|
<script>
|
|
const testCell = document.getElementById('test-cell');
|
|
const refCell = document.getElementById('ref-cell');
|
|
|
|
test(() => {
|
|
assert_greater_than(testCell.clientHeight, refCell.clientHeight);
|
|
}, 'clientHeight');
|
|
|
|
test(() => {
|
|
assert_equals(testCell.rowSpan, 0);
|
|
}, 'rowSpan');
|
|
</script>
|