html2canvas/tests/reftests/images/base.html
2017-12-11 20:51:39 +08:00

25 lines
674 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>External content tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../../test.js"></script>
<style>
body {
font-family: Arial;
}
</style>
<base href="http://localhost:8081/" />
</head>
<body>
<h1>External image</h1>
<img src="http://localhost:8081/assets/image2.jpg" style="border:5px solid black;" />
<h1>External svg image</h1>
<img src="http://localhost:8081/assets/image.svg" style="border:5px solid black;" />
<h1>External image (using &lt;base&gt; href)</h1>
<img src="/assets/image_1.jpg" />
</body>
</html>