[cc'ing laszlo-dev, for community power]
W00t for programmatic CSS!
This code hasn't been exercised much; I don't think I even have unit
test coverage for it.
Would you please make a small test? It would be helpful if you would
start with this,
which is a unit test driver. You should be able to just drop these
three files into
a 4.0.6 install, and they should run and give you a green bar. Add a
test or several
by copying and renaming <method name="testPhilipAndrew"> in ids.lzx.
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/test/style/
idselector/ids.lzx
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/test/style/
idselector/main.lzx
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/test/style/
idselector/ids.css
-ben
On Oct 29, 2007, at 5:21 AM, Ming-En Cho wrote:
Bon jour from France!
I have a small problem with CSS that I'm hoping you can help me out
on. I'm trying to use getComputedStyle and getPropertyValue, but it
keeps giving me a "Flash is running too slowly" error.
LzCSSStyle.getComputedStyle(this).getPropertyValue(colorprop);
The return from getComputedStyle looks good, but it seems that the
getPropertyValue call is causing the problem. The value is
correctly defined in the style sheet (I can successfully use the
$style{} to get it). Any ideas? BTW, I'm using 4.0.6. Thanks!
Ming.