css-$5.lzx
<canvas height="120" width="100%">
<stylesheet>
[name="PurpleView"] {
width: 100;
height: 100;
bgcolor: #9900FF
}
[width="200"] {
bgcolor: #0000FF;
}
</stylesheet>
<simplelayout axis="x" spacing="10"/>
<class name="myPurpleView">
<view name="PurpleView" height="$style{'height'}" width="$style{'width'}" bgcolor="$style{'bgcolor'}"/>
</class>
<class name="myWiderView">
<view name="hoo" height="100" width="200" bgcolor="$style{'bgcolor'}"/>
</class>
<myPurpleView/>
<myWiderView/>
</canvas>