From d9c18b4735225ccc2e5d87920590f1c1ecb4f7b5 Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Wed, 1 Apr 2020 14:34:51 -0700 Subject: [PATCH] Add a section about automatic use of constructable stylesheets. --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19e7d7e82d..42d8972b3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,13 @@ ## Unreleased -### New settings +### New global behaviors + +#### Built Shady CSS styles automatically use constructable stylesheet objects + +If your application is uses pre-built Shady CSS styles and your browser supports [constructable stylesheet objects](https://wicg.github.io/construct-stylesheets/), Polymer will now extract all styles from your components' templates, join them into a single stylesheet, and share this stylesheet with all instances of the component using [`adoptedStyleSheets`](https://wicg.github.io/construct-stylesheets/#dom-documentorshadowroot-adoptedstylesheets). + +### New global settings This update to Polymer includes some new [global settings](https://polymer-library.polymer-project.org/3.0/docs/devguide/settings):