mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
LibWeb: Add tests for calc function nodes
This commit is contained in:
parent
eb41f0144b
commit
9f73fc87a8
12 changed files with 166 additions and 0 deletions
13
Tests/LibWeb/Layout/input/css-values/numeric-constants.html
Normal file
13
Tests/LibWeb/Layout/input/css-values/numeric-constants.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
* {
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
}
|
||||
.pi {
|
||||
width: round(up, pi * 25px, 10px);
|
||||
}
|
||||
.e {
|
||||
width: round(up, e * 36px, 10px);
|
||||
}
|
||||
</style><div class="pi"><div class="e">
|
Loading…
Add table
Add a link
Reference in a new issue