How did you resolve this without access to the protected CSSStyleDeclaration.overrides property?
--- In [email protected], "droponrcll" <amyblankens...@...> wrote: > > > > --- In [email protected], "droponrcll" <amyblankenship@> wrote: > > > > I have a custom class that extends Canvas. I'd like this class to have the > > default styles used by Canvas, plus my own default styles. So I want to > > get the Canvas CSSStyleDeclaration and copy its properties to a new > > CSSStyleDeclaration used by my own component (then add my own stuff). > > > > I can't see a way to walk through the CSSStyleDeclaration and copy its > > properties or to "separate" out the instance so I don't affect all Canvases > > in the project. > > Never mind. Found it in the code to CSSStyleDeclaration. >

