-
This is a proposal.
Native Web components with the `shadowRoot` are a fantastic feature for encapsulation. Although some styles one wishes to encapsulate, there are some styles one would like to pi…
-
Consider when `CSSStyleSheet.replace()` needs to create a promise to either resolve or reject. In most cases, we can create a promise with the global object that we retrieve from the sheet's associate…
-
**Reported by ronquist on 2013-11-23 08:30 UTC**
We need a working XML help system that constructs nice ASCII output in the console window in response to calls such as "? functionName" and "help(funct…
-
This spec defines a future constructable style sheet, I think we could align our api with it and evtl. act like a shim.
https://wicg.github.io/construct-stylesheets
https://github.com/WICG/const…
-
```js
const sheet = new CSSStyleSheet();
sheet.replaceSync(`
h1 {
color: blue;
}
`);
document.adoptedStyleSheets = [sheet];
document.body.innerHTML = `
h1 {
color: …
-
The spec for [inserting a CSS rule](https://drafts.csswg.org/cssom/#insert-a-css-rule) specifies how the rule gets inserted into a style sheet. It seems like the rule being inserted can be an `@impor…
-
NOTE:
Here is the test repo that I added the prototype project to
https://github.com/blurymind/Godot-eventSheetPrototype
Everyone is free to fork or do pull requests 👍
IDEA:
We currently have …
-
Declarative shadow roots and constructible stylesheets need to be made to work together so that stylesheets added to shadow roots can be round-tripped through HTML serialization and deserialization.
…
-
Hi, In my app we are using styled components, fontawsome and some global styles. fontawsome and global styles are being attached to head. Is there any way I can attach them inside shadow root ?
Fo…
-
## Constructible Stylesheets
We want to support and API as close as possible to native Constructible Stylesheets, so that this works:
```js
const s = new CSSStyleSheet();
s.replaceSync(':host …