Skip to content

expand (no-op) support of DOM shim for DOM traversal methodsΒ #37

@thescientist13

Description

@thescientist13

Type of Change

  • New Feature Request

Summary

Tracking a number of items that I think the DOM shim should be able to support, though I'm not sure how feasible / realistic any of them are, so will need to do some discovery of what makes sense to fall "in bounds" for SSR, short of just becoming a headless browser.

Details

Not sure how many of these can / should be supported, but some of them at least, if not at least for no-ops

  • parentNodes
  • querySelector / querySelectorAll
  • getElementBy[Id|ClassName|TagName|...]
  • Node <> Element <> HTMLElement (ensure proper inheritance hierarchy)

Questions

  • Is appendNode implemented correctly?
  • Use ASTs in DOM shim (?)

Metadata

Metadata

Labels

featureNew feature or requestquestionFurther information is requested

Type

No type

Projects

Status

πŸ”– Ready

Relationships

None yet

Development

No branches or pull requests

Issue actions