1624118.html (573B)
1 <!doctype html> 2 <html class="reftest-wait"> 3 <script> 4 let loadedOnce = false; 5 function objectLoaded() { 6 let firstTime = !loadedOnce; 7 loadedOnce = true; 8 let object = document.querySelector("object"); 9 if (!firstTime) { 10 document.documentElement.className = ""; 11 return; 12 } 13 // The svgs used in this test are arbitrary, but should obviously match the 14 // reference and should be different from each other. 15 object.data = "243519-8.svg"; 16 } 17 </script> 18 <object onload="objectLoaded()" type="image/svg+xml" data="315920-20.svg"></object>