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 Constructable Stylesheets (CSS Modules) in DOM Shim #152

Closed
thescientist13 opened this issue Apr 10, 2024 · 0 comments · Fixed by #156
Closed

Support Constructable Stylesheets (CSS Modules) in DOM Shim #152

thescientist13 opened this issue Apr 10, 2024 · 0 comments · Fixed by #156
Assignees
Labels
0.13.0 documentation Improvements or additions to documentation enhancement Improvement to existing functionality
Milestone

Comments

@thescientist13
Copy link
Member

thescientist13 commented Apr 10, 2024

Summary

Now that Import Attributes are a thing, including CSS Modules as Constructable Stylesheets, it would be good to get some basic support for this into the DOM Shim at least in some capacity.

Something at minimum like, that can shim part of the CSSStyleSheet class

class CSSStyleSheet {
  constructor() { }
  replace() { }
  replaceSync() { }
}

Details

This would help support projects like Greenwood in supporting features like being able to author using Import Attributes - #153

@thescientist13 thescientist13 added documentation Improvements or additions to documentation enhancement Improvement to existing functionality labels Apr 10, 2024
@thescientist13 thescientist13 added this to the 1.0 milestone Apr 10, 2024
@thescientist13 thescientist13 changed the title Support Constructable Stylesheets in the DOM Shim Support Constructable Stylesheets in DOM Shim Apr 10, 2024
@thescientist13 thescientist13 changed the title Support Constructable Stylesheets in DOM Shim Support Constructable Stylesheets (CSS Modules) in DOM Shim Apr 10, 2024
@thescientist13 thescientist13 self-assigned this Apr 10, 2024
@thescientist13 thescientist13 moved this from 🏗 In progress to 👀 In review in [Greenwood] Phase 9 - Standards and Conventions Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.13.0 documentation Improvements or additions to documentation enhancement Improvement to existing functionality
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant