mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
LibWeb: Implement iterative percentage size for spanning table cells
Follow the computing column measures section of the specification, which gives an algorithm for setting intrinsic percentage widths when spanning columns are involved.
This commit is contained in:
parent
1f3fca996c
commit
268355c759
Notes:
sideshowbarker
2024-07-16 22:58:46 +09:00
Author: https://github.com/axgallo
Commit: 268355c759
Pull-request: https://github.com/SerenityOS/serenity/pull/20156
4 changed files with 260 additions and 14 deletions
|
@ -0,0 +1,20 @@
|
|||
<style>
|
||||
table,
|
||||
td {
|
||||
border: 1px solid black;
|
||||
border-spacing: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
<table width="420px">
|
||||
<tr>
|
||||
<td>A</td>
|
||||
<td>B</td>
|
||||
<td>C</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>D</td>
|
||||
<td colspan="2" width="80%">E</td>
|
||||
</tr>
|
||||
</table>
|
Loading…
Add table
Add a link
Reference in a new issue