Skip to content

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions