mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb
This commit is contained in:
parent
fcd6beb608
commit
cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCType html>
|
||||
<html>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<script>
|
||||
const observer = new PerformanceObserver(entryList => {
|
||||
top.postMessage({
|
||||
'length' : entryList.getEntries().length,
|
||||
'entryType' : entryList.getEntries()[0].entryType,
|
||||
'rect' : entryList.getEntries()[0].intersectionRect,
|
||||
}, '*');
|
||||
});
|
||||
observer.observe({entryTypes: ['element']});
|
||||
</script>
|
||||
<img src=square100.png elementtiming=my_image/>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue