[css-layer] What is the priority in this case? #7541
Labels
Closed as Question Answered
Used when the issue is more of a question than a problem, and it's been answered.
css-cascade-5
please tag the issue title with the spec's shortname, like
[css-foo]
(this is the name from the spec URL, without a level number unless the issue is specific to that level).
If you're proposing a new feature that doesn't obviously fit in an existing spec, skip this part — don't make something up.
please be specific (in the title and issue) about what you want to change:
“make it better” means different things to different people!
please link to the spec section you're talking about, or at least the spec
@layer l, lgreen, lblue;
.box{
width:100px;
height: 100px;
border: solid 1px #f00;
}
@layer lred{
.top{
background: red;
}
}
@layer lgreen{
.top{
background: green;
}
}
@layer lblue{
.top{
background: blue;
}
}
Why is the box red? firefox 103 and google chrome.
The text was updated successfully, but these errors were encountered: