Skip to content

Need more insight into the stack of open elements #237

@domenic

Description

@domenic

I've tried to come up with some alternative but it seems that to implement the style element properly, we need some notification: it requires action when

  • The element is popped off the stack of open elements of an HTML parser or XML parser.

  • The element is not on the stack of open elements of an HTML parser or XML parser, and it becomes connected or disconnected.

Do you have any ideas on how we could implement this in a parse5 adapter? It's currently causing a pretty bad regression in jsdom ever since we switched from the htmlparser2 adapter, with bad consequences for our consumers.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions