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>
26 lines
384 B
HTML
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>
|