mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
LibWeb: Fix crashing when grid track size is calc() with percentage
Use contains_percentage() that works for calc() values instead of is_percentage(). This fixes issue when tracks with calc() that has percentages where considered as "fixed" tracks with resolvable size which led to incorrectly resolved infinite final track sizes.
This commit is contained in:
parent
b40b1c8d93
commit
2ade229f27
3 changed files with 25 additions and 2 deletions
|
@ -0,0 +1,10 @@
|
|||
<style>
|
||||
.ipc-page-grid {
|
||||
display: flex;
|
||||
}
|
||||
.ipc-sub-grid {
|
||||
display: grid;
|
||||
grid-template-columns: calc(100%);
|
||||
}
|
||||
</style>
|
||||
<div class="ipc-page-grid"><div class="ipc-sub-grid">The 10 Most Anticipated Summer Movies of 2023</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue