Re: [csswg-drafts] [css-cascade-5] imported layers syntax : quotes or not? (#9716)

Hi @raphaelgoetter,

Are you sure that your test is accurate?
At first glance it seems fairly complicated, so maybe you are seeing something else?

---------

I am very certain that browsers do not support quotes around layer names and correctly implemented the specification.

A quick demo : https://codepen.io/romainmenke/pen/bGzXpjK

```css
@layer low-importance, high-importance;

@import url("data:text/css,strong%7Bcolor%3Agreen%7D") layer(high-importance);

@import url("data:text/css,strong%7Bcolor%3Ared%7D") layer(low-importance);

@import url("data:text/css,i%7Bcolor%3Agreen%7D") layer("high-importance");

@import url("data:text/css,i%7Bcolor%3Ared%7D") layer("low-importance");
```

```html
<strong>this is green or red when browsers support unquoted layer</strong><br>
<i>this is green or red when browsers support quoted layers</i>
```

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9716#issuecomment-1859169706 using your GitHub account


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

Received on Sunday, 17 December 2023 13:14:32 UTC