diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/classAndDynClass.ur | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/classAndDynClass.ur b/tests/classAndDynClass.ur new file mode 100644 index 00000000..ba01962d --- /dev/null +++ b/tests/classAndDynClass.ur @@ -0,0 +1,9 @@ +style style1 +style style2 + +fun main () : transaction page = return <xml><body> + <div class="style1" dynClass={return (CLASS "style2")}>Text</div> + <div dynClass={return (CLASS "style2")}>Text</div> + <div style="font-weight: bold" dynStyle={return (STYLE "font-variant: small-caps")}>Text</div> + <div dynStyle={return (STYLE "font-variant: small-caps")}>Text</div> +</body></xml> |