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 000000000..9c1998121 --- /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 fec110a96..b0558c156 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 608d24986..714ea1acd 100644 --- a/docs/tests/procedural-cosmetic-filters.html +++ b/docs/tests/procedural-cosmetic-filters.html @@ -167,6 +167,21 @@ #pcf #a17 .fail:has(~ a:has(b)) +
+
+ #pcf #a18 .fail:remove() +
+ +
+
+ #pcf #a19 b:upward(2) +
+ +
+
+ #pcf #a20 b:upward(.fail) +
+