[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cascade-layers : container is an element specific conditional rule #610

Conversation

romainmenke
Copy link
Member

This was not allowed, I missed this when adding it.
Luckily we haven't released this yet :)

Layers that are defined inside of a conditional group rule do not contribute to the layer order unless the condition is true or unless the conditional group rule can evaluate differently for different elements in the document.

Note: Since the layer order is global to the document, any layers defined inside an element-sensitive conditional group rule need to be accommodated when establishing the global layer order, regardless of the rule’s condition. Conditions that are global to the document, however (such as media and supports) can accommodate such layer rules conditionally.

@romainmenke romainmenke force-pushed the cascade-layers-fixes--unassuming-irish-setter-69ac591f5a branch from 9fa5786 to d60a496 Compare September 6, 2022 21:18
@Antonio-Laguna
Copy link
Member

LGTM!

@Antonio-Laguna Antonio-Laguna merged commit acc82cf into main Sep 7, 2022
@Antonio-Laguna Antonio-Laguna deleted the cascade-layers-fixes--unassuming-irish-setter-69ac591f5a branch September 7, 2022 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants