Add calc reftest

This commit is contained in:
David Zbarsky 2015-08-26 14:48:34 -07:00
parent cdae523cd4
commit 25829bbb12
3 changed files with 39 additions and 0 deletions

19
tests/ref/calc-basic.html Normal file
View 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>