hide-if-svg-contains

Check that the hide-if-svg-contains 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

Override text default invisibility styles

Test that default invisibility style checks can be overriden.

Example Content
Waiting 500ms to trigger snippet...

Steps

Filters

Text moved outside of view(not visible)

Test usage of the snippet with text moved out of view(should be hidden when 'contained-check' is disabled)

Example Content
Waiting 500ms to trigger snippet...

Steps

Filters

Text moved outside of view(more than default threshold=500)

Test usage of the snippet with text moved out of view(should be hidden when 'position-threshold' is increased)

Example Content
Waiting 500ms to trigger snippet...

Steps

Filters