This changes previous layout shift attempt (see #9546) to account for more valid usecases: - On the first event that is intercepted we enforce the hit target. This is similar to the current mode that checks hit target before the action, but is better timed. - On subsequent events we assume that everything is fine. This covers more scenarios like react rerender, glass pane on mousedown, detach on mouseup. This check is enabled by default, with `process.env.PLAYWRIGHT_NO_LAYOUT_SHIFT_CHECK` to opt out. |
||
|---|---|---|
| .. | ||
| html-reporter | ||
| playwright | ||
| playwright-chromium | ||
| playwright-core | ||
| playwright-firefox | ||
| playwright-test | ||
| playwright-webkit | ||