mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -0,0 +1,24 @@
|
|||
<!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 getBoundingClientRect 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 and layout in the hidden object.
|
||||
target.getBoundingClientRect();
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue