Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support constructible stylesheets / adoptedStyleSheets #4835

Open
calebdwilliams opened this issue Mar 26, 2019 · 3 comments
Open

Support constructible stylesheets / adoptedStyleSheets #4835

calebdwilliams opened this issue Mar 26, 2019 · 3 comments

Comments

@calebdwilliams
Copy link

calebdwilliams commented Mar 26, 2019

Add support for constructible style sheets (CSSStyleSheet constructor) and DocumentOrShadowRoot.adoptedStyleSheets as detailed here and supported in Chrome 73.

@calebdwilliams calebdwilliams changed the title Constructible stylesheets / adoptedStyleSheets Support constructible stylesheets / adoptedStyleSheets Mar 26, 2019
@DesignByOnyx
Copy link

DesignByOnyx commented Aug 21, 2019

In the mean time, anybody trying to get a pulse on support for this feature can look here: https://www.chromestatus.com/feature/5394843094220800

tl; dr - only in Chrome as of now, with the spec still changing... hopefully Firefox soon.

@lili21
Copy link

lili21 commented Apr 22, 2021

any update ?

@DesignByOnyx
Copy link

DesignByOnyx commented May 11, 2021

It landed in Firefox nightly... looks like that was 11 months ago. Couldn't find any more updates.

Should work in all Chromium based browsers. I just verified Edge and Chrome on Windows, but should also include Opera, Brave, and others. There's also a lightweight polyfill which I have tested in Firefox and Safari and should match Chrome's behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants