Devon Govett
Devon Govett
It looks like [CSSStyleSheet.insertRule](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule) is not subject to CSP, whereas inserting a `` element is. [document.adoptedStyleSheets](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptedStyleSheets) and the [CSSStyleSheet](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/CSSStyleSheet) constructor are also fine. However, `adoptedStyleSheets` are placed _after_ the document's...
One downside is that `adoptedStyleSheets` is only available in Safari 16.4 (2023) or later. Do we need to support older versions still?
hmm, looks like `insertRule` won't work when `document.styleSheets[0]` is from a different origin...
I think we just need to pass through `onKeyDown` in `ListBoxItem`.
I think rounding/truncating values passed to add/subtract/etc makes sense, otherwise you can get invalid values.
Yeah this is a tough one. In some cases an iframe might overlay the whole page and therefore elements outside the iframe should not be focusable when a modal inside...
Actually I'm surprised that this is broken. I can see `inert` being applied to the `#root` element in storybook when the menu opens, which should apply to everything inside it...
Silently ignoring invalid slot names is not a good idea for two reasons: 1. It's confusing for developers when things don't work and they get no error. Slot names can't...
You could probably write a custom transformer plugin for this. Take a look at the XML transformer (which supports rss/atom feeds at the moment) for inspiration: https://github.com/parcel-bundler/parcel/blob/v2/packages/transformers/xml/src/XMLTransformer.js
@unstubbable @sebmarkbage hey, happy to fix the conflicts here but did either of you have any thoughts on this? We're blocked on upgrading in some projects that use this pattern...