Are :has() CSS pseudo-selectors supported in Joplin?

I try to add some style to a specific <table> element. For that, I preceded that table by a <span>, hoping the following would work :

<span id="test"></span>
|AAA|BBB|
|---|---|
|ccc|ddd|

<style>
p:has(span#test) + table {
    background-color: blue;
}
</style>

But it doesn't work. IMO, it's because Joplin doesn't support the :has() pseudo-selector. Can someone confirm this ?

It won't work in Joplin 2.11 because the Electron backend isn't new enough, but if you try it on the 2.12 pre-release with newer Electron you might find more success.

Thanks.
I am using the flatpak version of Joplin, so I'll wait until it's been upgraded to 2.12 to test again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.