diff options
author | Linus Groh <mail@linusgroh.de> | 2022-06-29 23:35:32 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-30 12:11:57 +0100 |
commit | 3c9bf1e1615361bbda83ad057b815814618aee28 (patch) | |
tree | bf7588de332e06f947b7f39a5f889f2610ac0a71 /Base/res | |
parent | b3a22c97cd3819a6426c5f4a05f2779eda499205 (diff) | |
download | serenity-3c9bf1e1615361bbda83ad057b815814618aee28.zip |
Base: Add example for `calc(<percentage> - <length>)` to calc.html
`calc(<percentage> + -<length>)` did work before, but a direct
`calc(<percentage> - <length>)` was broken. Let's have a test for both.
Diffstat (limited to 'Base/res')
-rw-r--r-- | Base/res/html/misc/calc.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Base/res/html/misc/calc.html b/Base/res/html/misc/calc.html index 5c8e5a5521..1141afdb3c 100644 --- a/Base/res/html/misc/calc.html +++ b/Base/res/html/misc/calc.html @@ -39,6 +39,11 @@ <div class="box" style="width: calc(50% + 60px);"></div> </div> + <p>calc(50% - 60px)</p> + <div class="container"> + <div class="box" style="width: calc(50% - 60px);"></div> + </div> + <p>calc(50% + -60px)</p> <div class="container"> <div class="box" style="width: calc(50% + -60px);"></div> |