diff --git a/docs/tests/css-selector-based-cosmetic-filters.html b/docs/tests/css-selector-based-cosmetic-filters.html new file mode 100644 index 0000000000000..9c19981218a68 --- /dev/null +++ b/docs/tests/css-selector-based-cosmetic-filters.html @@ -0,0 +1,150 @@ + + + + + +CSS selector-based cosmetic filters + + + +

CSS selector-based cosmetic filters

+

Back +

+

Filters

+
+ +

Tests

+
+ +
+
+ #ccf #a1 .fail +
+ +
+
+ #ccf #a2 .fail:not(.a2) +
+ +
+
+ #ccf #a3 .fail +
+ +
+
+ #ccf #a4 .fail:not(.a4) +
+ +
+
+ #ccf #a5 .fail:style(visibility: hidden) +
+ +
+
+ #ccf #a6 .fail-pseudo::before +
+ +
+
+ #ccf #a7 .fail-pseudo::before +
+ +
+
+ #ccf #a8 .fail-pseudo::before:style(visibility: hidden) +
+ +
+ + + + diff --git a/docs/tests/index.html b/docs/tests/index.html index fec110a962a41..b0558c156ca7e 100644 --- a/docs/tests/index.html +++ b/docs/tests/index.html @@ -9,12 +9,14 @@

uBlock Origin tests

Some of the pages below are hosted on raw.githack.com in order to ensure some of the secondary resources can be properly loaded (specifically, the WebAssembly modules, as they require to be loaded using same-origin policy).

diff --git a/docs/tests/procedural-cosmetic-filters.html b/docs/tests/procedural-cosmetic-filters.html index 608d24986475b..714ea1acdd171 100644 --- a/docs/tests/procedural-cosmetic-filters.html +++ b/docs/tests/procedural-cosmetic-filters.html @@ -167,6 +167,21 @@

Tests

#pcf #a17 .fail:has(~ a:has(b)) +
+
+ #pcf #a18 .fail:remove() +
+ +
+
+ #pcf #a19 b:upward(2) +
+ +
+
+ #pcf #a20 b:upward(.fail) +
+