1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:47:45 +00:00

LibWeb/CSS: Improve parsing of length percentage values for transforms

This commit is contained in:
implicitfield 2024-01-09 12:39:17 +04:00 committed by Andreas Kling
parent 480cbd9126
commit c994326d5a
4 changed files with 33 additions and 2 deletions

View file

@ -0,0 +1,15 @@
<!doctype html><style>
* { outline: 1px solid black; }
html { background: white; }
body {
background: pink;
padding: 32px;
width: 200px;
}
div {
background: orange;
transform: translate(-26px, -25px);
width: 50px;
height: 50px;
}
</style><body><div>