diff --git a/tests/CSS/CSSTest.php b/tests/CSS/CSSTest.php index 0046c4e..865d08e 100644 --- a/tests/CSS/CSSTest.php +++ b/tests/CSS/CSSTest.php @@ -877,6 +877,18 @@ public static function dataProvider() 'a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:none}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}', ); + // https://github.com/matthiasmullie/minify/issues/408 + $tests[] = array( + ':root { + --default-height: 0px; + } + html { + --example-height: var(--default-height, 0px); + scroll-padding: calc(var(--example-height) + 60px) 0px 0px 0px; + }', + ':root{--default-height:0px}html{--example-height:var(--default-height, 0px);scroll-padding:calc(var(--example-height) + 60px) 0 0 0}', + ); + return $tests; }