Polymer / polymer

Our original Web Component library.
https://polymer-library.polymer-project.org/
BSD 3-Clause "New" or "Revised" License
22.05k stars 2.01k forks source link

legacy-undefined-noBatch: Put `adoptedStyleSheets` use behind a global setting #5645

Closed bicknellr closed 4 years ago

bicknellr commented 4 years ago

Currently, the legacy-undefined-noBatch branch always uses adoptedStyleSheets to share styles between component instances if supported by the browser and provided with built CSS. This PR puts this feature behind a new global setting (shareBuiltCSSWithAdoptedStyleSheets).

bicknellr commented 4 years ago

Ok, I updated the name, WDYT?