Open
Description
With the following CSS, what should happen?
@sheet sheet1 {
* { font-family: serif; }
}
@sheet sheet1 {
* { font-family: sans-serif; }
}
I can think of a few options:
- Last definition wins - this aligns with how CSS generally works and seems straightforward for developers.
- Rules with the same identifier are merged, like with duplicate
@layer
names.@layer
is a bit different though, because source order of the name determines layer precedence, which isn't the case for@sheet
.
Metadata
Metadata
Assignees
Type
Projects
Status
Thursday Morning