Check that the CSS selector's extended syntax is working as expected.
Test that basic usage of hide-if-contains works as expected against a closed shadow root.
abptestpages.org#$#hide-if-contains 'hic-simple-sh' 'div[id]' 'div[id] ^^sh^^ span'
Test that basic usage of hide-if-contains works as expected against a nested closed shadow root.
abptestpages.org#$#hide-if-contains 'hic-nested-sh' 'div[id]' 'div[id] ^^sh^^ div ^^sh^^ span'
Test that usage of hide-if-contains works as expected when transpassing a shadow root boundary, hiding one element within but not the whole shadow root.
abptestpages.org#$#hide-if-contains 'hic-wrapping-sh' 'div[id] ^^sh^^ div'
Test that basic usage of hide-if-contains-visible-text works as expected against a closed shadow root.
abptestpages.org#$#hide-if-contains-visible-text 'hicvt-test' '#parent-basic' '#label ^^sh^^ div'
Test that basic usage of hide-if-contains-and-matches-style works as expected against a closed shadow root.
Example Content
Should not be hidden.hicamss
abptestpages.org#$#hide-if-contains-and-matches-style hicamss p[id] 'p[id] ^^sh^^ span.label' /./ 'font-size: 16px;'
Test that basic usage of hide-if-has-and-matches-style works as expected against a closed shadow root.
Example Content
Should not be hidden. hicamss
abptestpages.org#$#hide-if-has-and-matches-style a[href="#hihamss"] p[id] 'p[id] ^^sh^^ span' /./ 'font-size: 16px;'