mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 0f31ab1b094596062154092307bb9ff8e6122533
This commit is contained in:
parent
96ad6710b1
commit
372e03fe64
32 changed files with 992 additions and 222 deletions
16
tests/wpt/web-platform-tests/portals/portals-rendering.html
Normal file
16
tests/wpt/web-platform-tests/portals/portals-rendering.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>Portals rendering test</title>
|
||||
<link rel="match" href="references/portals-rendering.html">
|
||||
<body>
|
||||
<portal src="resources/portals-rendering-portal.html" style="background-color: red; width: 100px; height: 100px"></portal>
|
||||
<script>
|
||||
var bc = new BroadcastChannel('portal');
|
||||
bc.onmessage = function(e) {
|
||||
window.requestAnimationFrame(function(ts) {
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
});
|
||||
bc.close();
|
||||
}
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue