Permalink
Browse files

Add simple test page for regression testing

  • Loading branch information...
1 parent acd11e9 commit d23ed15650f1de8309c5defc467641390bf09ae2 @warhammerkid committed Oct 20, 2009
Showing with 73 additions and 0 deletions.
  1. BIN test/accept.png
  2. +7 −0 test/css/test5.css
  3. BIN test/green.png
  4. +1 −0 test/ie.css
  5. +1 −0 test/ie.js
  6. +1 −0 test/ie2.css
  7. +10 −0 test/iframe.html
  8. +48 −0 test/index.html
  9. +1 −0 test/test1.css
  10. +2 −0 test/test3.css
  11. +1 −0 test/test7.css
  12. +1 −0 test/test8.css
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,7 @@
+#test5 {
+ background: red;
+}
+
+p#test5 {
+ background: url("../green.png") !important;
+}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1 @@
+/* IE Specific styles */
View
@@ -0,0 +1 @@
+var a = "This is a test";
View
@@ -0,0 +1 @@
+/* Second IE specific stylesheet */
View
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <title>Iframe Doc</title>
+ </head>
+ <body>
+ <p>This is the iframe</p>
+ <p><img src="accept.png" alt="Fail" /></p>
+ </body>
+</html>
View
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <title>Test Document</title>
+ <style>
+ @import"test1.css";
+ @import url("test7.css") screen;
+ #test2 { background: url("green.png") !important; }
+ #test4 { background: red; }
+ </style>
+ <link href="test3.css" media="screen" rel="stylesheet" type="text/css" />
+ <style>
+ @import url(test8.css);
+ #test6 { background: url('green.png') !important; }
+ </style>
+ <script type="text/javacript">
+ var a = '<a href="invalid.href">Invalid HTML, but it could still be used</a>';
+ </script>
+ <!--[if IE 7]>
+ <link href="ie.css" media="screen" rel="stylesheet" type="text/css" />
+ <link href="ie2.css" media="screen" rel="stylesheet" type="text/css" />
+ <script type="text/javascript">var a = "ie.js";</script>
+ <script type="text/javascript" src="ie.js"></script>
+ <![endif]-->
+ <script type="text/javascript" src="http://www.asdfsdfasdf.com/nonexistent.js"></script><!-- Should not crash the download -->
+ </head>
+ <body>
+ <p style="background: url('green.png'); background: url(accept.png);">Test paragraph with fake css url('green.png') in it to see if I can break stuff - should have 'green.png' in it and nothing else</p>
+ <p id="test1">This should be green</p>
+ <p id="test2">This should be green</p>
+ <p id="test3">This should be green</p>
+ <p id="test4" style="background: url('green.png') !important;" testattr="testattr">This should be green</p>
+ <p id="test5">This should be green</p>
+ <div id="test6" style="background:red; width:30px; height:30px;"></div>
+ <p id="test7">This should be green</p>
+ <p id="test8">This should be green</p>
+ <form>
+ <input id="test9" type="image" src="accept.png" value="Fail" />
+ </form>
+ <p><img src="accept.png" alt="Fail" /></p>
+ <iframe src="iframe.html" style="width:300px;height:100px;"></iframe>
+ <p>
+ <a href="../test.html">Test Link</a><br />
+ <a href="http://www.google.com/">Google Link</a><br />
+ <a href="javascript:alert('test');">Javascript Link</a><br />
+ </p>
+ </body>
+</html>
View
@@ -0,0 +1 @@
+#test1 { background: green; }
View
@@ -0,0 +1,2 @@
+@import "css/test5.css";
+#test3 { background: green; }
View
@@ -0,0 +1 @@
+#test7 { background: green; }
View
@@ -0,0 +1 @@
+#test8 { background: green; }

0 comments on commit d23ed15

Please sign in to comment.