1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

LibWeb: Fix off-by-one in CSS calc() "negate" operation

When negating a number, we should subtract it from 0, not 1. :^)
This commit is contained in:
Andreas Kling 2023-05-16 16:57:12 +02:00
parent 587c44cfbb
commit e81d4ca1ac
7 changed files with 38 additions and 12 deletions

View file

@ -1,4 +1,7 @@
<style>
* {
font: 16px SerenitySans;
}
.grid-container {
display: grid;
background-color: lightsalmon;