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

Previously, a calculated CSS border-width property with a resolved value of less than zero pixels would cause a crash.
6 lines
143 B
HTML
6 lines
143 B
HTML
<!DOCTYPE html><style>
|
|
div {
|
|
font-size: 16px;
|
|
border: calc(-1em + 15px) solid;
|
|
}
|
|
</style><div>This should have no visible border</div>
|