Skip to content
This repository was archived by the owner on Jan 4, 2018. It is now read-only.
This repository was archived by the owner on Jan 4, 2018. It is now read-only.

Possibly a better alternative to parsing innerHTML #112

@treshugart

Description

@treshugart

See: https://github.com/webcomponents/webcomponentsjs/blob/3ea23df8bc0f45d44fc903b706d379d7d50aba29/src/ShadowDOM/wrappers/HTMLElement.js#L154. I found this from this comment: webcomponents/webcomponentsjs#511 (comment).

It seems that we should be able to use a similar algorithm to the one in the first link instead of how we're doing it.

This is where it's overridden in a subclass of HTMLElement: https://github.com/webcomponents/webcomponentsjs/blob/3ea23df8bc0f45d44fc903b706d379d7d50aba29/src/ShadowDOM/wrappers/HTMLElement.js#L179.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions