hide-if-has-and-matches-style

Check that the hide-if-has-and-matches-style snippet is working as expected.

Basic usage

Test that basic usage of the snippet works as expected.

Example Content
Waiting 500ms to trigger snippet...

Steps

Filters

Legit elements

Test that an element that does not match the searchStyle parameter is not hidden.

Example Content
Waiting 500ms to trigger snippet...
Should not be hidden

Steps

Filters