| I don't think it should, since instantiating dog doesn't give you a view whose name is "dog".
<class name="dog"/>
<view> <dog id="fido"/> </view>
fido.name is not "dog" (nor is it "fido").
jim
On Sep 23, 2006, at 3:06 PM, Benjamin Shine wrote:
Should a selector [name="dog"] select <class name="dog"> ? Seems like it should, but it doesn't. Adam, are the optimizations for selecting by name making this act oddly?
<canvas debug="true">
<stylesheet> [name='dog'] { bgcolor: "0x0000FF"; } </stylesheet>
<class name="dog" width="100" height="100" bgcolor="$style{'bgcolor'}" />
<dog name="woof" />
</canvas>
EXPECTED blue box
GOT empty canvas
_______________________________________________ Laszlo-dev mailing list
|
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev