From 07d8c0622e8c3685eeb193f857d84384bf78fa36 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Fri, 15 Jan 2016 14:07:54 -0800 Subject: [PATCH 1/3] use class attribute in applyElementScopeSelector className can be a special object in IE Fixes #3285 --- src/lib/style-properties.html | 760 +++++++++++++++++----------------- 1 file changed, 380 insertions(+), 380 deletions(-) diff --git a/src/lib/style-properties.html b/src/lib/style-properties.html index c50f3e71..0fa6c6b7 100644 --- a/src/lib/style-properties.html +++ b/src/lib/style-properties.html @@ -1,380 +1,380 @@ - - - - - + + + + + From b1ea0145298cc44c915c9daaeb96e1225522ad23 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Fri, 15 Jan 2016 15:58:48 -0800 Subject: [PATCH 2/3] add test --- test/unit/styling-scoped.html | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/styling-scoped.html b/test/unit/styling-scoped.html index 6bcdaa66..df39a933 100644 --- a/test/unit/styling-scoped.html +++ b/test/unit/styling-scoped.html @@ -231,6 +231,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN test('svg elements properly scoped', function() { assert.include(styled.$.circle.getAttribute('class'), 'style-scope x-styled'); + assert.notInclude(styled.$.circle.getAttribute('class'), 'null'); assertComputed(styled.$.circle, '1px', 'strokeWidth'); }); From 172d93cf4fcbf5b39e8268bbbcfc233b35beda7d Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Tue, 19 Jan 2016 11:50:27 -0800 Subject: [PATCH 3/3] Ugh --- src/lib/style-transformer.html | 550 +++++++++++++++---------------- src/standard/x-styling.html | 584 ++++++++++++++++----------------- 2 files changed, 567 insertions(+), 567 deletions(-) diff --git a/src/lib/style-transformer.html b/src/lib/style-transformer.html index 5d4eead4..1a072f76 100644 --- a/src/lib/style-transformer.html +++ b/src/lib/style-transformer.html @@ -1,275 +1,275 @@ - - - - - + + + + + diff --git a/src/standard/x-styling.html b/src/standard/x-styling.html index f1a5e33f..8e0ef8ba 100644 --- a/src/standard/x-styling.html +++ b/src/standard/x-styling.html @@ -1,292 +1,292 @@ - - - - - - + + + + + +