I'll have a fix for this shortly. On Nov 16, 2010, at 1:01, captain yu <[email protected]> wrote:
> Hi all, > > This is Fred Feng. > I check out the latest OL and try to verify it: > It can recognize '0' now: > gradient-fill: 'top,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 100%'; > But if i use the workaround way previous, will get the following error: > ERROR: Invalid CSS Color: 'rgba(0,0,0,.005)' > Is this error expected? or, can't we be compatible with both of them? > > thanks, > -Fred > > 2010/11/16 P T Withington <[email protected]> > On 2010-11-15, at 18:33, André Bargull wrote: > > >> style: Bug discovered by new code -- the color type auto-quotes > >> its value property. If you want the value to be an expression, > >> you must use ${}. > > > > The "menuitembgcolor" uses the old `when="once|always|immediately"` syntax > > to declare a constraint, basically `<attribute name="menuitembgcolor" > > value="textfieldcolor" when="once" type="color"/>` should act the same as > > `<attribute name="menuitembgcolor" value="$once{textfieldcolor}" > > type="color"/>`. > > Hm. So it does... need to investigate why that was not working then. > > > > -- > captain
