You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happens with multiple @sheet definitions with the same identifier? First-definition wins, or do they get merged like @layer? Again, this was brought up in the CSSWG but not resolved (w3c/csswg-drafts#5629 (comment)). Note that it's possible to have a "Flash of other-styled content" if it's last-defintion-wins, as the first definition may apply, then a later definition from an external CSS file may override it.
The text was updated successfully, but these errors were encountered:
It seems like the "flash of other-styled content" case could apply even in the merge case? As in, we might discover a later definition in an external CSS file that overrides something we already know about. Or am I misunderstanding?
Initially I would lean towards last-definition-wins for consistency with things like @keyframes, but if there are use cases for merging I'd be interested to hear them.
What happens with multiple @sheet definitions with the same identifier? First-definition wins, or do they get merged like @layer? Again, this was brought up in the CSSWG but not resolved (w3c/csswg-drafts#5629 (comment)). Note that it's possible to have a "Flash of other-styled content" if it's last-defintion-wins, as the first definition may apply, then a later definition from an external CSS file may override it.
The text was updated successfully, but these errors were encountered: