html2canvas/tests/reftests/images/base.html
2017-09-04 23:36:19 +08:00

22 lines
560 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 image (using &lt;base&gt; href)</h1>
<img src="/assets/image_1.jpg" />
</body>
</html>