| Index: third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-whitespace.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-whitespace.html b/third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-whitespace.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c839dd6143df54e13e6ab4d0b7d1eac36a0b23ee
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-whitespace.html
|
| @@ -0,0 +1,22 @@
|
| +<!doctype html>
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<style>
|
| +#e {
|
| + --background-color:{ background-color: green; };
|
| + --width: {width:100px} ;
|
| + --height:{height: 200px} ;
|
| + @apply --background-color ;
|
| + @apply/**/--width;
|
| + @apply --height;
|
| +}
|
| +</style>
|
| +<div id=e>
|
| +</div>
|
| +<script>
|
| +test(function(){
|
| + assert_equals(getComputedStyle(e).backgroundColor, "rgb(0, 128, 0)");
|
| + assert_equals(getComputedStyle(e).width, "100px");
|
| + assert_equals(getComputedStyle(e).height, "200px");
|
| +}, "Whitespace is optional in @apply and custom property sets");
|
| +</script>
|
|
|