mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1235986 - Web Platform Test for Document Embedding; r=bz
This commit is contained in:
parent
f4d83becca
commit
c5916ac016
@ -33304,7 +33304,16 @@
|
||||
},
|
||||
"local_changes": {
|
||||
"deleted": [],
|
||||
"items": {},
|
||||
"items": {
|
||||
"testharness": {
|
||||
"html/semantics/embedded-content/the-embed-element/embed-document.html": [
|
||||
{
|
||||
"path": "html/semantics/embedded-content/the-embed-element/embed-document.html",
|
||||
"url": "/html/semantics/embedded-content/the-embed-element/embed-document.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"reftest_nodes": {}
|
||||
},
|
||||
"reftest_nodes": {
|
||||
|
@ -0,0 +1,15 @@
|
||||
<!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>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
<meta name="assert" content="Check if the embed element represents a document when a text/html resource source is used">
|
||||
<body>
|
||||
<script type="application/javascript">
|
||||
var childLoaded = false;
|
||||
t = async_test("Test document type embedding");
|
||||
addEventListener("load", t.step_func_done(function() { assert_true(childLoaded); }));
|
||||
</script>
|
||||
<embed src="embed-iframe.html">
|
||||
</body>
|
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<body>
|
||||
<script type="application/javascript">
|
||||
parent.childLoaded = true;
|
||||
</script>
|
||||
</body>
|
Loading…
Reference in New Issue
Block a user