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

improve renderedHTML collection for sites that use dynamic css frameworks #2366

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

scottjehl
Copy link
Contributor

This change will help a lot of sites to be able to see better results for the "mimic server-generated html experiment"

The issue was that some sites that use frameworks like Styled Components will dynamically set a style element's css rules without setting the textnodes of that style element, and because of that the styles weren't captured in the html.

This change fixes that.

@jefflembeck jefflembeck merged commit 77ba0e1 into master Sep 19, 2022
@jefflembeck jefflembeck deleted the improve-renderedhtml branch September 19, 2022 17:18
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.

None yet

2 participants