1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:28:11 +00:00
serenity/Tests/LibWeb/Layout/input/grid/template-areas-2.html
Aliaksandr Kalenik 122d847720 LibWeb: Fix building of areas spanning multiple rows in GFC
Rewrites the grid area building to accurately identify areas that span
multiple rows. Also now we can recognize invalid areas but do not
handle them yet.
2023-10-22 19:38:18 +02:00

22 lines
No EOL
469 B
HTML

<!DOCTYPE html><head><style type="text/css">
* {
border: 1px solid black;
}
.grid {
display: grid;
grid-template-rows: 100px 100px 100px;
grid-template-columns: 100px 100px 100px;
grid-template-areas: "a a b" "a a b" "a a b";
}
.a {
grid-area: a / a / a / a;
background-color: red;
}
.b {
grid-area: b / b / b / b;
background-color: blueviolet;
}
</style></head><body><div class="grid"><div class="a">a</div><div class="b">b</div>