Hi Alex, I think I only need for now, "background-image" management. So could you add the ability to not cut this property? In this way, I could continue my work, and eventually change at some point for AdvancedCSSValueImpl to make more things
Could this be possible? Thanks 2016-11-08 0:36 GMT+01:00 Alex Harui <aha...@adobe.com>: > > > On 11/6/16, 12:13 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> > wrote: > > >@Alex, thanks for looking into this > > OK, finally got around to looking into this. > > The compiler passes the styles into the output JS. But when a component's > style property is a String, UIBase tries to have the valuesImpl parse it, > and SimpleCSSValuesImpl currently doesn't handle the background property. > > I suppose we could change UIBase to also pass the style down to the > element, but style is also modified by other properties in UIBase because > Element.style is used for visibility, alpha and lots of other things. I'd > recommend figuring out what it would take to have a valuesImpl handle more > properties and if it looks heavy, move it into a NotSoSImpleCSSValuesImpl. > > FWIW, way down on my list is to work on AdvancedCSSValuesImpl so I think > there can be more than one CSSValuesImpl. > > -Alex > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.