mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
LibWeb: Use the auto table width formula if it cannot be resolved
If the width is a percentage but the parent isn't resolved yet, take the same path as for auto width.
This commit is contained in:
parent
3a8e362ab0
commit
d5f54956ba
3 changed files with 59 additions and 2 deletions
|
@ -0,0 +1,15 @@
|
|||
<style>
|
||||
.grid_layout {
|
||||
display: grid;
|
||||
grid-template: min-content / minmax(0, 200px);
|
||||
}
|
||||
|
||||
.outer {
|
||||
border: 1px solid black;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.inner {
|
||||
width: 100%;
|
||||
}
|
||||
</style><div class="grid_layout"><div><table class="outer"><tr><td><table class="inner"><tr><td>A A</td></tr></table></td></tr></table></div></div>
|
Loading…
Add table
Add a link
Reference in a new issue