diff options
Diffstat (limited to 'tests/end2end/data/darkmode/mathml.html')
-rw-r--r-- | tests/end2end/data/darkmode/mathml.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/end2end/data/darkmode/mathml.html b/tests/end2end/data/darkmode/mathml.html new file mode 100644 index 000000000..fa2371638 --- /dev/null +++ b/tests/end2end/data/darkmode/mathml.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <title>MathML-like SVG</title> + </head> + <body style="margin: 0; background-color: #ffff99"> + <!-- + Image based on: https://en.wikipedia.org/wiki/Pythagorean_theorem + with a black square added for testing. + + onload based on: + https://stackoverflow.com/questions/53423742/waiting-for-an-image-to-finish-rendering + --> + <img + class="mwe-math-fallback-image-inline" + src="mathml.svg" + alt="Pythagorean theorem" + onload="requestAnimationFrame(() => requestAnimationFrame(() => console.log('Image loaded')));" + > + <!-- --> + </body> +</html> |