Open PHPGangsta opened 4 months ago
Hi!
I have a case with this CSS in an email:
p:has(br:only-child) { margin: 0; display: none; }
I'm using $config->set('Filter.ExtractStyleBlocks', true);
$config->set('Filter.ExtractStyleBlocks', true);
The result is:
p { margin: 0; display: none; }
Looks like neither "has()" nor ":only-child" is supported? ":first-child" is supported as far as I saw.
Can I add those 2 missing CSS pseudo selectors/classes somehow via configuration?
Hi!
I have a case with this CSS in an email:
I'm using
$config->set('Filter.ExtractStyleBlocks', true);
The result is:
Looks like neither "has()" nor ":only-child" is supported? ":first-child" is supported as far as I saw.
Can I add those 2 missing CSS pseudo selectors/classes somehow via configuration?