Skip to content
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

Fix missed adopted style sheets of shadow doms in checkout full snapshot #1086

Merged
merged 6 commits into from
Jan 10, 2023

Conversation

YunFeng0817
Copy link
Member

Bug

AdoptedStyleSheets in shadow doms are missed when a full snapshot is checked out after the recording has started.

This bug can be reproduced through the created test case.

Error test snapshot:

adoptedStylesheets data is missed in the second full snapshot.

Expected test snapshot:

New adoptedStylesheets data is also generated in the second full snapshot.

@YunFeng0817 YunFeng0817 requested a review from Juice10 January 9, 2023 09:22
@YunFeng0817 YunFeng0817 force-pushed the fix-adopted-style-sheets branch from 3ba2e08 to 81dc458 Compare January 10, 2023 00:58
@YunFeng0817 YunFeng0817 requested a review from Juice10 January 10, 2023 01:01
Copy link
Contributor

@Juice10 Juice10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @Mark-Fenng

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.

2 participants