mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision 66dc9c93f2c8ebd7c8fdc28fae20d92713c97806
This commit is contained in:
parent
e488ea750b
commit
12f4ae132e
1651 changed files with 8123 additions and 14152 deletions
|
@ -7,6 +7,9 @@
|
|||
<div id="host"></div>
|
||||
<script>
|
||||
let svgScript = document.createElementNS("http://www.w3.org/2000/svg", "script");
|
||||
svgScript.innerHTML = `test(function() {}, "svg:script runs correctly in a shadow tree");`;
|
||||
svgScript.innerHTML = "window.scriptRan = true";
|
||||
document.getElementById("host").attachShadow({ mode: "open" }).appendChild(svgScript);
|
||||
test(function() {
|
||||
assert_true(window.scriptRan);
|
||||
}, "svg:script runs correctly in a shadow tree");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue