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:
parent
480cbd9126
commit
c994326d5a
4 changed files with 33 additions and 2 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue