File: mathml-inline.html

package info (click to toggle)
qutebrowser 3.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,432 kB
  • sloc: python: 72,411; javascript: 31,862; sh: 874; xml: 149; makefile: 52
file content (23 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>