Well, with no style sheet, I guess cssfont is never setting any defaults. I wonder what the defaults are supposed to be? I suppose if there is no style we have to fall back to the old cascade? blech.
On 2011-02-06, at 19:51, Henry Minsky wrote: > When I run this test case in IE8/DHTML, I get an error from the browser that > > "Could not get the fontWeight property. Invalid argument" and it points to > line 134 in the cssfonts mixin: > > Then later it complains that this.css_font is null (because it errored out > in that construct method for some reason) > > Anyone have any idea what the problem is here? > > <canvas width="100%" height="80%" debug="true"> > <include href="/mixins/cssfonts.lzx"/> > > <text valign="middle" styleclass="elapsedtext" bgcolor="null" > name="elapsed" text="00:00" with="cssfonts"/> > > </canvas> > > > > > -- > Henry Minsky > Software Architect > [email protected]
