diff options
Diffstat (limited to 'layout/reftests/bugs/1624118.html')
-rw-r--r-- | layout/reftests/bugs/1624118.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1624118.html b/layout/reftests/bugs/1624118.html new file mode 100644 index 0000000000..a6b4a1465a --- /dev/null +++ b/layout/reftests/bugs/1624118.html @@ -0,0 +1,18 @@ +<!doctype html> +<html class="reftest-wait"> +<script> + let loadedOnce = false; + function objectLoaded() { + let firstTime = !loadedOnce; + loadedOnce = true; + let object = document.querySelector("object"); + if (!firstTime) { + document.documentElement.className = ""; + return; + } + // The svgs used in this test are arbitrary, but should obviously match the + // reference and should be different from each other. + object.data = "243519-8.svg"; + } +</script> +<object onload="objectLoaded()" type="image/svg+xml" data="315920-20.svg"></object> |