summaryrefslogtreecommitdiff
path: root/test/test.html
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-03-14 05:20:43 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-03-14 05:20:43 -0700
commitc8bc352f60b5766d5143bb250542ca0d53d71c89 (patch)
treea1f160ecd3ced853428ee595e8761de424d93107 /test/test.html
parent6d86e76a927e209e655a2376b5fd0dc24dc6ae06 (diff)
test: Add html page testing different modes of rendering
Some simple html to show both local and remote PDFs in their own window and as objects embedded on the page. It should probably have a couple more file types, too.
Diffstat (limited to 'test/test.html')
-rw-r--r--test/test.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/test.html b/test/test.html
new file mode 100644
index 0000000..e887f19
--- /dev/null
+++ b/test/test.html
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>PDF test page</title>
+</head>
+
+<body>
+ <p>Open the pdf in a <a href="3-page.pdf" type="application/pdf">separate
+ page</a>. Another <a href=
+ "http://plugindoc.mozdev.org/testpages/pdf.html">site to check out</a>.</p>
+
+ <p>Here is a local pdf embedded:<br />
+ <object data="3-page.pdf" type="application/pdf" width="600" height="600">
+ The pdf could not be rendered.
+ </object></p>
+
+ <p>Here is a remote pdf embedded:<br />
+ <object data="http://www.education.gov.yk.ca/pdf/pdf-test.pdf" type=
+ "application/pdf" width="600" height="600">
+ The pdf could not be rendered.
+ </object></p>
+</body>
+</html>