Closed Cruglk closed 3 years ago
the issue has been fixed.
Thanks
@tbela99, Thanks! But not sure if this is fixed. Now is:
top: calc(50vh-375px+325px);
left: calc(50%-600px+26px);
It should be with spaces.
top: calc(50vh - 375px + 325px);
left: calc(50% - 600px + 26px);
it should be good now. sorry I missed few tests the last time
@tbela99 Thanks! But still can't download version for PHP < 7.4: https://ci.appveyor.com/project/tbela99/css/builds/34957043
that is the automated test bot for PHP < 7.4. Not sure why it does not download php56. I will reopen the issue and add more test cases. You can run the test locally if you have the repo on your hard drive
I checked older tests for that branch and they also failed to run. I will try to fix that
@tbela99 Found another problem. This time with font and variables. Code like:
$test = '
:root {
--default-font-size: 11px
}
.test {
overflow-x: hidden;
font: 400 var(--default-font-size) \'Trebuchet MS\', sans-serif;
color: var(--color-default)
}
';
Problem is this:
var(--default-font-size)
Like example, Its ok:
font: 400 10px Verdana;
houldn't it be 'Trebuchet MS' instead of 'Trebuchet MS'?
The problem is only in brackets.
Also:
font: 400 16px Verdana;
After parse:
font: 16px Verdana;
Missing "400".
I mean't there should be no \\' around Trebuchet MS but the \ got stripped
I have fixed the issues you mentioned here. I don't have the time to investigate the issue with automated test for php5.6 branch. I can successfully run the test locally.
Thanks for reporting those issues
if you want to run the tests from your cli, go to the test folder and type ./runtest.sh
@tbela99, Thanks for the previous edits! ...Here We Go Again...
Now "calc":
Result:
Correct: