LibWeb: Modify table formatting according to spec

Makes Sub, Super, TextBottom, TextTop vertical aligns equal to Baseline
This commit is contained in:
Pavel Shliak 2024-10-21 01:12:13 +04:00 committed by Sam Atkins
commit 38bb8ce0de
Notes: github-actions[bot] 2024-11-04 14:55:29 +00:00
3 changed files with 72 additions and 16 deletions

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<style>
table {
border-collapse: collapse;
}
td {
border: 1px solid black;
width: 200px;
height: 100px;
vertical-align: text-top;
}
</style>
</head>
<body>
<table>
<tr>
<td>Text at the top</td>
</tr>
</table>
</body>
</html>