1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:17:44 +00:00

LibWeb: Ignore repeat(auto-fit/auto-fill, auto) as it is not allowed

This commit is contained in:
Tommy van der Vorst 2024-02-11 14:45:05 +01:00 committed by Alexander Kalenik
parent 8e7cb11856
commit 1c7ec9c770
3 changed files with 90 additions and 1 deletions

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<style>
.four {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(auto-fit, auto); /* 'auto' not allowed here, line should be ignored */
}
</style>
<div>
<div class="four">
<div>A</div>
<div>B</div>
<div>C</div>
<div>D</div>
<div>E</div>
</div>
</div>