Skip to content

fix(snapshot): empty adopted stylesheet should not prevent node refs#9731

Merged
dgozman merged 1 commit into
microsoft:masterfrom
dgozman:snapshot-fix-empty-adopted
Oct 23, 2021
Merged

fix(snapshot): empty adopted stylesheet should not prevent node refs#9731
dgozman merged 1 commit into
microsoft:masterfrom
dgozman:snapshot-fix-empty-adopted

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented Oct 23, 2021

We never marked empty stylesheets as "stale", so we never computed
css text for them. This prevented node reuse, because empty string
is not equal to undefined.

Fixes #7818.

We never marked empty stylesheets as "stale", so we never computed
css text for them. This prevented node reuse, because empty string
is not equal to undefined.
@dgozman dgozman added the CQ1 label Oct 23, 2021
@dgozman dgozman merged commit 7527ad2 into microsoft:master Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: dedup snapshot CSS images

2 participants