mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 17:05:07 +00:00

Before this change, this var() would get expanded: calc(10px * var(--one)) But this one would not: calc(10px * (var(--one))
10 lines
No EOL
177 B
HTML
10 lines
No EOL
177 B
HTML
<!doctype html><style>
|
|
* {
|
|
border: 1px solid black;
|
|
}
|
|
div {
|
|
--five: 5;
|
|
width: calc(50px * (var(--five)));
|
|
height: calc(50px * (0 + var(--five)));
|
|
}
|
|
</style><div> |