layout shift

Visible content unexpectedly moving position on the page, for example when a font loads or an element resizes.

In more detail

Layout shifts disorient users and cause mis-clicks. In testing, a shift that nobody intended is a visual regression that DOM-based unit tests cannot see.

Related terms

Taught in

References