All checks were successful
ci / fast (linux) (push) Successful in 2m54s
- Fix vertical-align in table cells: capture natural content height before applying explicit CSS height, so vertical offset is calculated correctly - Add border attribute support for <table> elements (sets border on table) - Propagate table border attribute to <td>/<th> cells (1px border when set) - Add golden test 094 for table vertical-align Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
373 B
HTML
19 lines
373 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
table { border: 1px solid black; border-spacing: 0; }
|
|
td { border: 1px solid gray; height: 80px; width: 100px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td style="vertical-align: top;">Top</td>
|
|
<td style="vertical-align: middle;">Middle</td>
|
|
<td style="vertical-align: bottom;">Bottom</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|