On 10/30/16, 4:23 AM, "yishayw" <yishayj...@hotmail.com> wrote:

>Is there a reason why SimpleCSSValuesImpl.perInstanceStyles is static? It
>makes extending SimpleCSSValuesImpl difficult. Since there's typically
>just
>one such instance per app is there any harm in making it a dynamic
>property.
>That will allow derived classes to simply push new values upon
>construction,
>and make adding a new style property to an app easier.
>

Not sure I understand, but you can try it and see what happens.  I think I
set it up as static because that way you don't have to have a reference to
the shared instance in order to change it.  But maybe it is easy enough to
use ValuesManager to get there.

-Alex

Reply via email to