             {
                 if (headerStyleName is String)
                 {
-                    headerStyleName =
-                        owner.styleManager.getMergedStyleDeclaration(String(headerStyleName));
+                    chain = addStylesToProtoChain(String(headerStyleName), chain, target);
                 }
 
                 if (headerStyleName is CSSStyleDeclaration)

                owner.systemManager);
        return fontContext != oldEmbeddedFontContext;
    }

    /**
     *  @private

            {
                if (headerStyleName is String)
                {
                    chain = addStylesToProtoChain(String(headerStyleName), chain, target);
                }

                if (headerStyleName is CSSStyleDeclaration)
