1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

LibWeb: Handle leading whitespace in grid-template-* block components

We're already handling whitespace between components, do the same for
leading whitespace. Fixes crash on https://distill.pub/2021/gnn-intro.
This commit is contained in:
Andi Gallo 2023-06-15 03:13:52 +00:00 committed by Andreas Kling
parent 586b47cede
commit db121c7af1
3 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<style>
test {
display: grid;
width: 100%;
grid-template-columns: 50px [ first second ] 1fr;
}
</style>