mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
LibWeb/CSS: Parser should treat calc() with flex values as invalid
Fixes crash on https://signal.org/
This commit is contained in:
parent
1132c858e9
commit
65b50ecc1a
3 changed files with 44 additions and 1 deletions
7
Tests/LibWeb/Layout/input/calc-with-fr.html
Normal file
7
Tests/LibWeb/Layout/input/calc-with-fr.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html><style>
|
||||
.container {
|
||||
display: grid;
|
||||
grid-template-columns: calc(1fr) calc(1fr);
|
||||
}
|
||||
</style>
|
||||
<div class="container"><div>1</div><div>2</div><div>3</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue