mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 13:46:31 +00:00
LibWeb: Assign static position for abspos boxes nested into TFC
TFC is not aware of how to correctly calculate a static position for abspos boxes, but assigning (0, 0) is better than crashing during abspos item layout. Fixes https://github.com/LadybirdBrowser/ladybird/issues/1382
This commit is contained in:
parent
d17f94e7cc
commit
9621439db0
Notes:
github-actions[bot]
2024-09-14 13:04:58 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 9621439db0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1396
5 changed files with 70 additions and 1 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html><style>
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
th, td {
|
||||
border: 1px solid #ccc;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
tr::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
background-color: red;
|
||||
}
|
||||
</style><table><thead><tr></tr></thead></table>
|
Loading…
Add table
Add a link
Reference in a new issue