Re: [csswg-drafts] [css-variables] CSS wide keywords in custom properties with dependencies (#9131)

Yeah, I agree there's no cycle per se in that test, no, but `revert-layer` might introduce another edge in the graph, effectively.

The main difference in implementation is, I think, that Gecko/WebKit perform the cycle detection during substitution, _after_ we've computed the un-substituted value of all properties. Substitution can't (easily at least, given how we implement these) introduce new edges, because we've lost the information of the "potentially-reverted-to" declarations.

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


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

Received on Tuesday, 1 August 2023 12:42:11 UTC