1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

LibWeb: Add tests for calc function nodes

This commit is contained in:
stelar7 2023-07-31 15:49:42 +02:00 committed by Andreas Kling
parent eb41f0144b
commit 9f73fc87a8
12 changed files with 166 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<style>
* {
width: 0px;
height: 0px;
}
.abs {
width: calc(abs(-80px))
}
.sign {
width: calc(sign(-100px) * -100px);
}
</style><div class="abs"><div class="sign">