We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Custom Elements inside Shadow Roots are not upgraded.
Custom Elements inside a Shadow Root's tree (not in the document's light DOM) failed to upgrade in a very specific series:
<amp-img>
<amp-state>
querySelectorAll
Because querySelectorAll does not return results inside a shadow tree, we failed to find already-existing CEs inside them.
/cc @ampproject/wg-approvers @ampproject/cherry-pick-approvers
The text was updated successfully, but these errors were encountered:
Approved
Sorry, something went wrong.
Postmortem posted.
No branches or pull requests
Cherry-pick request
Why does this issue meet the cherry-pick criteria?
Custom Elements inside Shadow Roots are not upgraded.
Mini-postmortem
Summary
Custom Elements inside a Shadow Root's tree (not in the document's light DOM) failed to upgrade in a very specific series:
<amp-img>
).<amp-state>
)Root Causes
querySelectorAll
on the document to search for any already-existing elements to upgradeBecause
querySelectorAll
does not return results inside a shadow tree, we failed to find already-existing CEs inside them.Action Items
Lessons Learned
Things that went well
Things that went wrong
/cc @ampproject/wg-approvers @ampproject/cherry-pick-approvers
The text was updated successfully, but these errors were encountered: