Closed Alex-302 closed 4 years ago
By design, take a look #47
Shouldn't it be applied only to this part which is in curly brackets { ... }
?
If I'm not wrong, at the moment we can't add CSS rules with regex in :matches-css
, like mentioned here - https://github.com/AdguardTeam/FiltersCompiler/issues/49#issue-472488980 due to this limitation.
Yep, I think @AdamWr is right. @tvinzz please take care of it
It seems that now some extended css rules are marked as invalid. For example:
! Incorrect style:
anidub.com#?#div[style^="background: url(\"https://online.anidub.com/templates/"] > div[id]:matches-css(height: 250px)
https://github.com/AdguardTeam/FiltersRegistry/blob/master/filters/filter_1_Russian/diff.txt
and
! Incorrect style:
yasehub.com#?#.video-list > ul > li.video-item:has(> div[class] > .video-thumb > .video-thumb-image[style^="background-image: url('https://static2.yaseok.com/uploads/"])
! Incorrect style:
~www.wp.pl,wp.pl#?#[class^="_"] > [class^="_"][class*=" _"]:has(>[class^="_"] > [class*="_"] > a[href] > [style*="background-image: url("])
Invalid rule: engadget.com#$#.o-sticky_header\@tp- { position: relative !important; } incorrect style: .o-sticky_header\@tp- { position: relative !important; }