You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Armin,
nice work. I found an Issue.
CssCoverageService.php Line 86.
$selectors = $child->getSelectors(); <- $child could be an Instance of DeclarationBlock and has no method called getSelectors.
CSS Example from fancybox to reproduce: @supports (padding: max(0px)) { .fancybox-caption { padding: 75px max(44px, env(safe-area-inset-right)) max(25px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left)); } }
maybe a recursive function is the bette way.
For my test I quick fixed it to:
if ($child instanceof AtRuleBlockList) and duplicated the block and it works perfect.