Well a constraint is really just a handler for the dependent variables that 
updates the actual value, so in this case if you ask for the elements width or 
height, you will get the current real value.  The best way to forward those 
values (and track them) is to make another constraint.  Constraints are easy to 
write in OL, but hard to write in JS.  You can get an inkling of a hand-written 
constraint by looking at the implementation of the align and valign attributes 
that let you say things like 'center', 'top', etc.  Those get interpreted into 
constraints on the parent bound.

Hope that helps.

On 2011-07-06, at 19:30, [email protected] wrote:

> Hi Tucker,
> 
> Is it possible to retrieve the raw constraint values of an attribute? For 
> example,
> 
> <html width="100%" height="100%" .../>
> 
> I'd like to obtain the 100% values for width and height so I can forward them 
> to the iframemanager.
> 
> Thanks!
> 
> Phil


Reply via email to