Files
rust_browser/tests/goldens/fixtures/234-table-fixed-collapsed.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

25 lines
385 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
table {
table-layout: fixed;
border-collapse: collapse;
width: 300px;
border: 2px solid black;
}
td {
border: 1px solid #999999;
padding: 4px;
}
td:first-child { width: 100px; }
</style>
</head>
<body>
<table>
<tr><td>Fixed 100px</td><td>Auto</td></tr>
<tr><td>Row 2</td><td>Data</td></tr>
</table>
</body>
</html>