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

Add CLS calculation #6

Open
westonruter opened this issue Sep 4, 2021 · 0 comments
Open

Add CLS calculation #6

westonruter opened this issue Sep 4, 2021 · 0 comments

Comments

@westonruter
Copy link
Collaborator

When the markup is provided to obtain the dimensions, and the markup is rendered into the various viewports, the layout shift should be captured at each viewport and then summarized once the calculation has completed. Then when loading up the optimized markup in the preview, the calculation should be performed again. This can then be used to show how much layout shift savings is gained.

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

No branches or pull requests

1 participant