Automatic update from web-platform-tests
Add browser test to verify Cumulative Layout Shift hadRecentInput
Add cumulative_layout_shift_browsertest to add coverage on CLS
hadRecentInput. In the simple-block-movement.html file, we perform the
first layout shift with 160px movement, and we pause the program for one
second, and we perform one click then perform another layout shift with
340px movement.
In CLS Normalization, we should only consider the first layout shift
since the second layout shift happened in 500ms after the click which
will reset the hadRecentInput timer.
Bug: 1370548
Change-Id: I7378acf445a133c12d21f4591dd83deba3f7e61a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4044285
Reviewed-by: Annie Sullivan <sullivan@chromium.org>
Commit-Queue: Han Gao <hangaoy@google.com>
Cr-Commit-Position: refs/heads/main@{#1075246}
--
wpt-commits: 587062df2cc32968ff0c13f6372fd1d08068485d
wpt-pr: 37083