Skip to content

Conversation

@krichprollsch
Copy link
Member

I moved and fixed the lbdom_test.zig and match_test.zig tests into libdom.zig and selector.zig to be run by the test_runner.

I added the implementation of :containsOwn pseudo selector (non-standard but useful).

I didn't implement :contains because I have to be able to find a text even if in different tags, ie. :contains('hello world') must match hello <span>world</span>.

To be added by the test_runner as part of used files.
:containsOwn is implemented with case sensitive comparison.
@krichprollsch krichprollsch self-assigned this Sep 10, 2025
@krichprollsch krichprollsch merged commit 96e3c16 into main Sep 10, 2025
10 checks passed
@krichprollsch krichprollsch deleted the css-contains branch September 10, 2025 11:59
@github-actions github-actions bot locked and limited conversation to collaborators Sep 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants