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>
25 lines
385 B
HTML
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>
|