diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ctextbox.ur | 16 | ||||
-rw-r--r-- | tests/ctextbox.urp | 1 |
2 files changed, 13 insertions, 4 deletions
diff --git a/tests/ctextbox.ur b/tests/ctextbox.ur index c2a322e3..38c6c577 100644 --- a/tests/ctextbox.ur +++ b/tests/ctextbox.ur @@ -1,7 +1,15 @@ +style foo + fun main () : transaction page = s <- source "Initial"; - return <xml><body> - <ctextbox source={s} size=5/> + return <xml> + <head> + <link rel="stylesheet" type="text/css" href="http://localhost/static/style.css"/> + </head> + <body> + <ctextbox source={s} size=5/> + <ctextbox class={foo} source={s}/> - <dyn signal={s <- signal s; return (cdata s)}/> - </body></xml> + <dyn signal={s <- signal s; return (cdata s)}/> + </body> + </xml> diff --git a/tests/ctextbox.urp b/tests/ctextbox.urp index 93c828ac..d5cb5e9f 100644 --- a/tests/ctextbox.urp +++ b/tests/ctextbox.urp @@ -1,3 +1,4 @@ debug +allow url http://localhost/* ctextbox |