Syntax check for “body :is( p, li)”

Author Posts

Norm6257

Hi, not a critical issue, but if I create a selector as body :is( p, li) I get a syntax error, though I think the syntax is correct.


Sebastian

Thanks for notifying me Norm. This will be fixed in the next release, that will go out today or tomorrow.

Cheers,
Sebastian


Norm6257

Hey Sebastian,

I got the new update 7.2.2.2 and the formatting is better for the :is selector. However, I’m still seeing a syntax error for expected RPAREN. This is the rule that I’m using.

body :is( p, li) {
	font-size: 1rem;
}

Sebastian

Hey Norm, could you try doing a hard refresh in your browser (hold Ctrl and click the refresh button)? The linter that comes with the code editors isn’t so easy to automatically cache bust with new releases of MT.


Norm6257

Thanks Sebastian… a ctl-refresh didn’t work, but then I went into dev tools and did a clear cache and hard refresh from there and that solved the problem. Looking good now 😁


Sebastian

Oh great, thanks for confirming!

You must login or register to reply to this topic.