the width == 0 test is required for test/lztest/lztest-textheight.lzx to
pass. The changes to the swf9 kernel are enough to fix the issue - but
it still shows up in DHTML...
On 4/14/10 12:54 PM, André Bargull wrote:
<canvas height="500" width="100%">
<view width="100" height="100" bgcolor="blue">
<simplelayout axis="y" spacing="3"/>
<text name="dots" text="..." bgcolor="red"
oninit="this.setAttribute('width', 0);"/>
<button name="width0" text="change width to 0">
<handler name="onclick"><![CDATA[
parent.dots.setAttribute("width", 0);
]]>
</handler>.
</button>
<button name="width20" text="change width to 20">
<handler name="onclick"><![CDATA[
parent.dots.setAttribute("width", 20);
]]>
</handler>.
</button>
</view>
</canvas>
--
Regards,
Max Carlson
OpenLaszlo.org