Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add html module test

  • Loading branch information...
commit 7381ef0c872d1447f292c6d34a2d92ecb8a5e5bc 1 parent 544acb0
@adamstallard adamstallard authored
View
7 test/compiler-test-files/html-module-key.xhtml
@@ -0,0 +1,7 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ </head>
+ <body>
+ <img href="awesome" class="image" />
+ </body>
+</html>
View
9 test/compiler-test-files/html-module-pre.xhtml
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <include path="modules">image.html</include>
+</head>
+<body>
+ <image></image>
+</body>
+</html>
View
1  test/compiler-test-files/html-module.txt
@@ -0,0 +1 @@
+module that is an html file
View
1  test/compiler-test-files/html-module.xhtml
@@ -0,0 +1 @@
+<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><img href="awesome" class="image" /></body></html>
View
1  test/compiler-test-files/modules/image.html
@@ -0,0 +1 @@
+<img href="awesome">
Please sign in to comment.
Something went wrong with that request. Please try again.