| Index: sky/tests/layout/margins.sky
|
| diff --git a/sky/tests/layout/margins.sky b/sky/tests/layout/margins.sky
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4156aa3939fda57cd330224875dceb01941799a4
|
| --- /dev/null
|
| +++ b/sky/tests/layout/margins.sky
|
| @@ -0,0 +1,17 @@
|
| +<sky>
|
| + <import src="../resources/check-layout.sky" />
|
| + <style>
|
| + .child {
|
| + margin: 10px;
|
| + height: 30px;
|
| + }
|
| + </style>
|
| + <div class="root" data-expected-height="70" data-total-y="10" style="background-color: pink">
|
| + <div class="child" data-total-y="10" style="background-color: salmon"></div>
|
| + <div class="child" data-total-y="50" style="background-color: papayawhip"></div>
|
| + </div>
|
| +
|
| + <script>
|
| + window.checkLayout('.root');
|
| + </script>
|
| +</sky>
|
|
|