mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add calc reftest
This commit is contained in:
parent
cdae523cd4
commit
25829bbb12
3 changed files with 39 additions and 0 deletions
19
tests/ref/calc-basic.html
Normal file
19
tests/ref/calc-basic.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<div id="outer">
|
||||
<div id="inner">
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
#outer {
|
||||
height: 100px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
#inner {
|
||||
height: 100%;
|
||||
width: calc(50px + 30%);
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue