On May 29, 2007, at 4:47 AM, P T Withington wrote:
This code:
// A style does not override an explicit attribute
if (! (k in initialArgs)) {
should keep any constraint from being applied. initialArgs should
be all the attributes of the instance, which should include
bgcolor, so no constraint should be applied. (The stylemap arg in
applyStyleMap is _all_ of the $style constraints of the instance
and all of its superclasses.)
When I get to that line, initialArgs only has the id for sb2, not
bgcolor. That seems to mean initialArgs only has instance arguments,
not subclass arguments.
See LPP-2894 and r3313 which fixed this in trunk (and should have
been applied to legal's).
Right, but, no :(
r3313 was merged into legals, and it seems to have been lovingly
tweaked to use legals language features, but the test fails. I will
keep investigating; this is fascinating and educational.
Benjamin Shine
Software Engineer, Open Laszlo / Laszlo Systems
[EMAIL PROTECTED]