Skip to content

Rely on phlex for detecting custom elements#44

Merged
marcoroth merged 1 commit intomainfrom
add-known-elements
Jan 19, 2023
Merged

Rely on phlex for detecting custom elements#44
marcoroth merged 1 commit intomainfrom
add-known-elements

Conversation

@marcoroth
Copy link
Owner

This pull request changes the strategy for detecting custom elements. Previously it would just detect custom elements which had a dash in the tag name.

Now we rely on Phlex::VOID_ELEMENTS and Phlex::STANARD_ELEMENTS to detect if any given tag name is a regular or a custom element.

@marcoroth marcoroth changed the title Rely on phlex for known elements/custom elements Rely on phlex for detecting custom elements Jan 19, 2023
@marcoroth marcoroth merged commit 31a8c30 into main Jan 19, 2023
@marcoroth marcoroth deleted the add-known-elements branch January 19, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant