1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

LibWeb: Add table formatting tests

Creates some TableFormattingContext tests based on the tests in
/html/misc.
This commit is contained in:
martinfalisse 2023-04-02 19:53:06 +02:00 committed by Andreas Kling
parent c421f1692c
commit 1440845aad
4 changed files with 453 additions and 0 deletions

View file

@ -0,0 +1,30 @@
<style>
* {
font-family: 'SerenitySans';
}
</style>
<!-- Copied from html tests Userland/Libraries/LibWeb/Tests/Pages/Table.html -->
<table id="empty-table"></table>
<!-- Copied from html tests Userland/Libraries/LibWeb/Tests/Pages/Table.html -->
<table id="full-table">
<caption>
A Caption
</caption>
<thead>
<tr>
<td>Head Cell</td>
</tr>
</thead>
<tbody>
<tr>
<td>Body Cell</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Footer Cell</td>
</tr>
</tfoot>
</table>