mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 4a65f5002f1e2e778f62a9b99f4298dc8948f26c
This commit is contained in:
parent
4c3f878026
commit
e0938d4233
282 changed files with 3027 additions and 1009 deletions
|
@ -0,0 +1,25 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>HTML Test: The embed element represents a document</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<meta name="assert" content="Ensure document finishes load when focus is attempted before the embed is finished loading">
|
||||
|
||||
<style>
|
||||
.hidden { content-visibility: hidden; }
|
||||
</style>
|
||||
<body>
|
||||
<script>
|
||||
async_test(t => {
|
||||
window.onload = () => t.done();
|
||||
}, "ensure onload happens");
|
||||
</script>
|
||||
<div class=hidden>
|
||||
<embed id=target src="embed-iframe.html">
|
||||
</div>
|
||||
<script>
|
||||
// Ensure we process style in the hidden object, which normally delays
|
||||
// load until the embed object is finished loading.
|
||||
target.focus();
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue