[Laszlo-user] canvascolor ignored in a style?
Geoff Crawford
geoff at innov8cs.com
Sun Jun 17 05:20:17 PDT 2007
At 07:49 AM 6/17/2007, Robin Sheat wrote:
>I have the following test case:
>
><?xml version="1.0" standalone="no"?>
><!DOCTYPE canvas SYSTEM "http://www.openlaszlo.org/lps-latest/tools/lzx.dtd">
><canvas width="100" height="100">
> <include href="test2.lzx" />
> <test2 name="defaultstyle" isdefault="true" />
></canvas>
>
>where test2.lzx is:
><?xml version="1.0"?>
><!DOCTYPE canvas SYSTEM "http://www.openlaszlo.org/lps-latest/tools/lzx.dtd">
><library>
> <class name="test2" extends="style"
> canvascolor="0x00FF00">
> </class>
></library>
>
>however the canvas colour ends up being white anyway. This is using lps-4.0.2
>with flash.
I tried the exact same thing and compared swf and dhtml -
DHTML gets a green with envy canvas, swf does not.
Any time I see a difference in what the two do, I go straight
for Jira and file a bug report. Even if one is the expected
behavior, it's not consistent between the two and that's always
a bug in my book.
=======================================================================
Geoff Crawford Phone: (973) 361 - 4224
Innov8 Computer Solutions, LLC FAX: (973) 537 - 6946
711 Route 10 East, Suite 204 Email: geoff at innov8cs.com
Randolph NJ 07869 Web: http://www.processware.biz
ProcessWare ERP for the Chemical Industry
More information about the Laszlo-user
mailing list