-
Notifications
You must be signed in to change notification settings - Fork 22.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update template element description and add shadowrootmode attribute #31490
Conversation
Preview URLs External URLs (1)URL:
(comment last updated: 2024-01-25 10:30:31) |
e8b2cf9
to
e9c5473
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for these updates, @pepelsbey!
I've done primarily an edit review and added some suggestions :)
Co-authored-by: Dipika Bhattacharya <[email protected]>
@dipikabh thank you for the great suggestions! I applied them all :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates, @pepelsbey!
I have a few more suggestions.
Co-authored-by: Dipika Bhattacharya <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Estelle Weyl <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @pepelsbey for all the updates! 👍
Description
Declarative shadow DOM reuses the
<template>
element for generating shadow root in the presence of theshadowrootmode
attribute. This element is no longer for templating only, that needs to be reflected, too.Motivation
To support existing implementations in Chrome and Safari and prepare for the upcoming Firefox support.
Related issues and pull requests