mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Add tests for calc function nodes
This commit is contained in:
parent
eb41f0144b
commit
9f73fc87a8
Notes:
sideshowbarker
2024-07-17 00:57:24 +09:00
Author: https://github.com/stelar7
Commit: 9f73fc87a8
Pull-request: https://github.com/SerenityOS/serenity/pull/20280
12 changed files with 166 additions and 0 deletions
|
@ -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">
|
Loading…
Add table
Add a link
Reference in a new issue