Skip to content

Improve <slot> element support#209

Merged
WebReflection merged 5 commits into
WebReflection:mainfrom
luwes:slot
Oct 22, 2023
Merged

Improve <slot> element support#209
WebReflection merged 5 commits into
WebReflection:mainfrom
luwes:slot

Conversation

@luwes
Copy link
Copy Markdown
Contributor

@luwes luwes commented Jun 10, 2023

Fixes #131

  • Adds the name property to the slot element
  • Adds assignedNodes() and assignedElements() methods
  • Adds the slot property to the Element class

@WebReflection
Copy link
Copy Markdown
Owner

I'm OK with this MR but there's no test whatsoever ... it's OK to skip testing repeated, already tested, logic such as utilities, but here we have a whole new functionality and there's gonna be something covering that functionality.

At least that's how every other MR got merged, thanks!

@WebReflection
Copy link
Copy Markdown
Owner

OK, I am going to merge this but I'll file an issue about adding proper tests to it ... which I just did: #232

@WebReflection WebReflection merged commit 342015a into WebReflection:main Oct 22, 2023
@WebReflection WebReflection mentioned this pull request Oct 22, 2023
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.

HTMLSlotElement.assignedNodes()

2 participants