summaryrefslogtreecommitdiff
path: root/tests/classAndDynClass.ur
blob: ba01962d89e2585c4ac03888d0ad0acb6b465d9d (plain)
1
2
3
4
5
6
7
8
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>