Skip to content

Conversation

@nikneym
Copy link
Contributor

@nikneym nikneym commented Dec 5, 2025

This is the bare minimum required for a specific website, I'll add support for other variants once needed.

@nikneym nikneym requested a review from karlseguin December 5, 2025 13:09
@nikneym nikneym added the zigdom label Dec 5, 2025
@nikneym nikneym force-pushed the nikneym/is-equal-node branch from 4280906 to 8731471 Compare December 8, 2025 13:08
@karlseguin
Copy link
Collaborator

Tests?

@nikneym nikneym force-pushed the nikneym/is-equal-node branch from 8731471 to 4e23f8d Compare December 11, 2025 08:11
rework `isEqualNode`

Splits equality logic by node types and groups comparisons nicer.
prefer ancestor's`isEqualNode`

`nodeType` => `getNodeType`

fix attribute comparison logic

Also introduces attribute counting.

remove debug logging

add `isEqualNode` test
@nikneym nikneym force-pushed the nikneym/is-equal-node branch from 4e23f8d to fe89aad Compare December 11, 2025 12:55
@karlseguin karlseguin merged commit 269c880 into zigdom Dec 11, 2025
7 of 10 checks passed
@karlseguin karlseguin deleted the nikneym/is-equal-node branch December 11, 2025 13:04
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants