hide-if-shadow-contains

Check that the hide-if-shadow-contains snippet is working as expected.

Basic usage

Test that basic usage of the snippet works as expected.

Example Content

Steps

Filters

Notes

Not supported in Chrome 52 (requires 53+)

Not supported in Firefox 58 (requires 63+ or 59+ with flag dom.webcomponents.shadowdom.enabled)

Not supported in Opera 39 (requires 40+)

Not supported in Edge (EdgeHTML)

Regex usage

Test that usage of the snippet with regex works as expected.

Example Content
Waiting 500ms to trigger snippet...
hisc-regex3
This element should not be hidden.

Steps

Filters

Notes

Not supported in Chrome 52 (requires 53+)

Not supported in Firefox 58 (requires 63+ or 59+ with flag dom.webcomponents.shadowdom.enabled)

Not supported in Opera 39 (requires 40+)

Not supported in Edge (EdgeHTML)