diff --git a/src/ShadowCSS.js b/src/ShadowCSS.js index 1532c35..1f0d241 100644 --- a/src/ShadowCSS.js +++ b/src/ShadowCSS.js @@ -503,14 +503,7 @@ var ShadowCSS = { polyfillHost); }, propertiesFromRule: function(rule) { - var properties = rule.style.cssText; - // TODO(sorvell): Chrome cssom incorrectly removes quotes from the content - // property. (https://code.google.com/p/chromium/issues/detail?id=247231) - if (rule.style.content && !rule.style.content.match(/['"]+/)) { - properties = 'content: \'' + rule.style.content + '\';\n' + - rule.style.cssText.replace(/content:[^;]*;/g, ''); - } - return properties; + return rule.style.cssText; } };