mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
Check the width of the next token after white space to decide line breaks. The next width can also be the total width of multiple tokens. This better follows the CSS Text specification and matches behavior of other browsers. Fixes #20388.
25 lines
279 B
HTML
25 lines
279 B
HTML
<style>
|
|
table {
|
|
border-collapse: collapse
|
|
}
|
|
|
|
td {
|
|
border: 1px solid black;
|
|
}
|
|
</style>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td style="width: 30%;">A
|
|
</td>
|
|
<td style="width: 40%;">
|
|
B
|
|
<br>C
|
|
</td>
|
|
<td style="width: 30%;">
|
|
D
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table> |