layout-instability icon indicating copy to clipboard operation
layout-instability copied to clipboard

Add an example computing CLS including iframe

Open npm1 opened this issue 5 years ago • 1 comments

The CLS is defined in the non-normative section and it's not super clear to me how you compute it. In particular, the subframe weighting factor could change over time? (i.e. should it be computed on every frame, or how does one account for an iframe that shifts or moves after user interaction and hence becomes more/less visible within the viewport).

npm1 avatar Oct 08 '20 17:10 npm1

Chrome recomputes weighting factor on every frame. Agree an example would help here.

skobes-chromium avatar Oct 09 '20 16:10 skobes-chromium