mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
LibWeb: Fix intrinsic sizing early return condition in TFC
Early return before running full TFC algorithm is only possible when just table width need to be calculated.
This commit is contained in:
parent
97b3f1230b
commit
1ee99017e2
3 changed files with 28 additions and 1 deletions
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html><html><head><style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
font-family: 'SerenitySans';
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
}
|
||||
.cell {
|
||||
display: table-cell;
|
||||
}
|
||||
.upper {
|
||||
background: pink;
|
||||
}
|
||||
</style></head><body><div class="upper"><div class="cell">Hello</div>
|
Loading…
Add table
Add a link
Reference in a new issue