Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.
This repository was archived by the owner on May 6, 2026. It is now read-only.

HTML Dom #22

@andrieshiemstra

Description

@andrieshiemstra

make html parsing and mutation available via html dom module

docs: https://hirofa.github.io/GreenCopperRuntime/green_copper_runtime/modules/htmldom/index.html

todo

  • NodeList
  • next/previousElementSibling
  • innerHTML
  • className
  • querySelector(all)
  • children/childNodes
  • append/removeChild
  • replaceChild
  • insertBefore/After
  • document.getElementById
  • textContent
  • nodeType
  • lists.forEach
  • fix === compare by returning same JSValue for nodes (will need a map with jsvalueref without refcount increment) (remove on proxy finalizer)
  • cloneNode
  • native methods for freq used (or all) instead of closures

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions