Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 if ((!HTMLElement.prototype.createShadowRoot && | 1 if ((!HTMLElement.prototype.createShadowRoot) || |
| 2 !HTMLElement.prototype.webkitCreateShadowRoot) || | |
|
Jennifer Messerly
2013/09/20 17:58:35
nice! I glad to see we got this fix in :)
do you
blois
2013/09/20 21:39:38
Done.
| |
| 3 window.__forceShadowDomPolyfill) { | 2 window.__forceShadowDomPolyfill) { |
| 4 | 3 |
| 5 /* | 4 /* |
| 6 * Copyright 2013 The Polymer Authors. All rights reserved. | 5 * Copyright 2013 The Polymer Authors. All rights reserved. |
| 7 * Use of this source code is governed by a BSD-style | 6 * Use of this source code is governed by a BSD-style |
| 8 * license that can be found in the LICENSE file. | 7 * license that can be found in the LICENSE file. |
| 9 */ | 8 */ |
| 10 (function() { | 9 (function() { |
| 11 // TODO(jmesserly): fix dart:html to use unprefixed name | 10 // TODO(jmesserly): fix dart:html to use unprefixed name |
| 12 if (Element.prototype.webkitCreateShadowRoot) { | 11 if (Element.prototype.webkitCreateShadowRoot) { |
| (...skipping 5668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5681 for (var i=0, css=[]; i < cssRules.length; i++) { | 5680 for (var i=0, css=[]; i < cssRules.length; i++) { |
| 5682 css.push(cssRules[i].cssText); | 5681 css.push(cssRules[i].cssText); |
| 5683 } | 5682 } |
| 5684 return css.join('\n\n'); | 5683 return css.join('\n\n'); |
| 5685 } | 5684 } |
| 5686 | 5685 |
| 5687 // exports | 5686 // exports |
| 5688 scope.ShadowCSS.shimShadowDOMStyling2 = shimShadowDOMStyling2; | 5687 scope.ShadowCSS.shimShadowDOMStyling2 = shimShadowDOMStyling2; |
| 5689 })(window.Platform); | 5688 })(window.Platform); |
| 5690 | 5689 |
| 5691 } | 5690 } |
| OLD | NEW |