mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00

Introduces incomplete parsing of grid shorthand property. Only <grid-template> part of syntax is supported for now but it is enough to significantly improve rendering of websites that use this shorthand to define grid :)
10 lines
No EOL
167 B
HTML
10 lines
No EOL
167 B
HTML
<style>
|
|
.container {
|
|
display: grid;
|
|
grid: 100px / 200px;
|
|
}
|
|
|
|
.item {
|
|
background-color: navy;
|
|
}
|
|
</style><div class="container"><div class="item"></div></div> |