gost-dom / gost-dom/browser

Document.QueryElementAll should return elements

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
300
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Currently, this is a list of `Node`s requiring a type cast to get an actual element.

Maybe the node list implementation should be generic? Or maybe just a list of elements, and make it generic if we need it as a node list later on.

Contributor guide

Open the contributing guide

Research direction

Start by locating Document.QueryElementAll and the node list implementation, then inspect any existing tests for query results. Resolve whether the API should return a list of elements or use a generic node list; done when the chosen behavior avoids the current type cast and is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.