From 9c5a404d3a0a06c6dfc3d44ce9f49ce04617e46d Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Mon, 19 Oct 2015 14:43:49 -0700 Subject: [PATCH] Avoid Polymer.dom.setAttribute when unneeded. --- src/standard/x-styling.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standard/x-styling.html b/src/standard/x-styling.html index 4409e6535f..2975eeb99e 100644 --- a/src/standard/x-styling.html +++ b/src/standard/x-styling.html @@ -193,7 +193,7 @@ } // note: using Polymer.dom here ensures that any attribute sets // will provoke distribution if necessary - node = Polymer.dom(node); + node = this._clientsReadied ? Polymer.dom(node) : node; serializeValueToAttribute.call(this, value, attribute, node); },