]> gitweb.factorcode.org Git - factor.git/commitdiff
html.templates.chloe: adding missing tests.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 3 Mar 2020 03:01:01 +0000 (19:01 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 3 Mar 2020 03:01:01 +0000 (19:01 -0800)
basis/html/templates/chloe/test/test16.xml [new file with mode: 0644]
basis/html/templates/chloe/test/test17.xml [new file with mode: 0644]
basis/html/templates/chloe/test/test18.xml [new file with mode: 0644]

diff --git a/basis/html/templates/chloe/test/test16.xml b/basis/html/templates/chloe/test/test16.xml
new file mode 100644 (file)
index 0000000..6bacb96
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version='1.0' ?>
+
+<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
+    <t:style>* { font-family: monospace; }</t:style>
+       <t:write-style />
+</t:chloe>
diff --git a/basis/html/templates/chloe/test/test17.xml b/basis/html/templates/chloe/test/test17.xml
new file mode 100644 (file)
index 0000000..028220d
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version='1.0' ?>
+
+<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
+    <t:script>function testAlerts() {
+    window.alert("Hello, world!");
+}</t:script>
+       <t:write-script />
+</t:chloe>
diff --git a/basis/html/templates/chloe/test/test18.xml b/basis/html/templates/chloe/test/test18.xml
new file mode 100644 (file)
index 0000000..6b34ba6
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version='1.0' ?>
+
+<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
+    <t:meta t:name="author" t:content="John Doe" />
+    <t:meta t:name="viewport" t:content="width=device-width, initial-scale=1.0" />
+       <t:write-meta />
+</t:chloe>