brave / brave/adblock-rust

Support for CSS Selectors 4 Pseudo-Class :nth-child(an + b of S)

Open
#278 1 comment 2 reactions 1 assignee Claimed by @antonok-edm View on GitHub
uBO-parity
Dominant language
Rust
Stars
2.8k
Forks
250
Avg merge
1d 16h
Merged PRs (30d)
6

Description

Shipped in Chromium 111 [https://chromestatus.com/feature/5144225077788672](https://chromestatus.com/feature/5144225077788672) it extends [:nth-child()](https://www.w3.org/TR/selectors-4/#the-nth-child-pseudo) and [:nth-last-child()](https://www.w3.org/TR/selectors-4/#the-nth-last-child-pseudo) pseudo classes to take a selector.

Examples:
`:nth-child(-n+3 of li.important)`
`tr:nth-child(even of :not([hidden]))`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.