Files
rust_browser/tests/goldens/fixtures/232-table-empty-cells-hide.html
Zachary D. Rowitsch 8065b23bf3 Implement table layout completeness: caption-side, empty-cells, fixed+collapsed, border fixes (CSS 2.1 §17)
Adds caption-side and empty-cells CSS properties with full parse→compute→inherit→layout pipeline.
Fixes border-collapse hidden priority bug (§17.6.2.1 Rule 1: hidden wins unconditionally),
empty-cell detection for whitespace-only anonymous children, and adds property-specific
parsers rejecting invalid values. Includes 4 golden tests, 13 new unit tests, and checklist update.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 22:35:36 -04:00

26 lines
384 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
table {
border-collapse: separate;
border-spacing: 4px;
border: 2px solid black;
empty-cells: hide;
width: 200px;
}
td {
border: 1px solid #999999;
padding: 4px;
background-color: #eeeeff;
}
</style>
</head>
<body>
<table>
<tr><td>A</td><td></td></tr>
<tr><td></td><td>D</td></tr>
</table>
</body>
</html>