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

Reply via email to