mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:57:36 +00:00
LibWeb: Add tests for HTMLTableElement attributes
These tests aim to exercise all attributes on <html> elements, including all edge cases.
This commit is contained in:
parent
737f6e97b2
commit
dc9995a5ba
2 changed files with 146 additions and 0 deletions
28
Userland/Libraries/LibWeb/Tests/Pages/Table.html
Normal file
28
Userland/Libraries/LibWeb/Tests/Pages/Table.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<table id="empty-table"></table>
|
||||
<table id="full-table">
|
||||
<caption>A Caption</caption>
|
||||
<thead>
|
||||
<th>Head Cell</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
Body Cell
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td>
|
||||
Footer Cell
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue