[csswg-drafts] [cssom-1] [css-cascade-4] Extend CSSImportRule to expose supports condition (#8710)

CanadaHonk has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-1] [css-cascade-4] Extend CSSImportRule to expose supports condition ==
[CSSImportRule](https://w3c.github.io/csswg-drafts/cssom/#cssimportrule) does not allow exposing a potential [\<supports-condition>](https://w3c.github.io/csswg-drafts/css-conditional-3/#typedef-supports-condition) of an `@import`, like:

```css
@import "example.css" supports(display: flex);
```

Without this, it is not possible to access an `@import`s supports condition with JS/etc.

In css-cascade-5, [CSSImportRule was extended](https://drafts.csswg.org/css-cascade-5/#extensions-to-cssimportrule-interface) to add `layerName` for the new cascade layers, but nothing was added for supports in CSSImportRule.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8710 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 April 2023 07:33:20 UTC