mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Implement fixed table layout
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 06:38:11 +09:00
Author: https://github.com/axgallo Commit: https://github.com/SerenityOS/serenity/commit/ada05ab4e4 Pull-request: https://github.com/SerenityOS/serenity/pull/20446
27
Tests/LibWeb/Layout/input/table/fixed-layout.html
Normal file
27
Tests/LibWeb/Layout/input/table/fixed-layout.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<style>
|
||||
table {
|
||||
width: 600px;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>cell</td>
|
||||
<td>cell</td>
|
||||
<td>A table cell</td>
|
||||
<td>A table cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>cell</td>
|
||||
<td>cell</td>
|
||||
<td>A table cell</td>
|
||||
<td>A table cell</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user