mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -8,6 +8,7 @@
|
|||
position: relative;
|
||||
width: 300px;
|
||||
height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
|
||||
/* Disable the button's focus ring, which otherwise expands its visual rect by
|
||||
|
@ -57,12 +58,12 @@
|
|||
observer.observe({ entryTypes: ['layout-shift'] });
|
||||
// User input event
|
||||
clickAndBlockMain('button').then(() => {
|
||||
// 500ms delay
|
||||
// 600ms delay
|
||||
step_timeout(function() {
|
||||
timeAfterClick = performance.now();
|
||||
// Modify the position of the div.
|
||||
document.getElementById('myDiv').style = "top: 60px";
|
||||
}, 500);
|
||||
}, 600);
|
||||
});
|
||||
});
|
||||
}, 'Layout shift right after user input is observable via PerformanceObserver.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue