html.templates.chloe: adding missing tests.

flac
John Benediktsson 2020-03-02 19:01:01 -08:00 committed by Steve Ayerhart
parent a8b6de2a35
commit 583e0470c4
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
3 changed files with 21 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>