mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
LibWeb: Add table formatting tests
Creates some TableFormattingContext tests based on the tests in /html/misc.
This commit is contained in:
parent
c421f1692c
commit
1440845aad
4 changed files with 453 additions and 0 deletions
30
Tests/LibWeb/Layout/input/table/basic.html
Normal file
30
Tests/LibWeb/Layout/input/table/basic.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue