Files
sousa-gecko/testing/web-platform/tests/html/semantics/tabular-data/processing-model-1/rowspan-0.html
T
zcorpan 4696d2c7d7 Bug 1982595 [wpt PR 54265] - HTML: Remove rowspan=0 quirk, a=testonly
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
2025-08-25 08:43:26 +00:00

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>