1 <svg xmlns=
"http://www.w3.org/2000/svg" width=
"500" height=
"500" class=
"reftest-wait">
2 <foreignObject width=
"500" height=
"500">
3 <iframe xmlns=
"http://www.w3.org/1999/xhtml"
6 <div xmlns=
"http://www.w3.org/1999/xhtml"
7 style=
"color: green" id=
"myDiv">This should remain green
</div>
10 let el = document.getElementById('myDiv');
11 frames[
0].onload = function() {
12 var doc = frames[
0].document;
13 doc.body.appendChild(el);
14 document.documentElement.removeAttribute(
"class");