- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 28 Feb 2022 20:44:06 +0000
- To: public-css-archive@w3.org
> what would happen if rule `#n` changed Transitions happen when the computed value changes. It's not tied to rules. Changing rules will either have no effect if they don't win the cascade, or update the computed value if they do. The latter will typically cancel the current transition and start a new one. See https://drafts.csswg.org/css-transitions-1/#starting > or if the font size changed during a transition? The computed value absolutizes lengths, so changing the font size will change the computed value, triggering a transition. This absolutization also implies that mixing units is no problem, they end up being compatible. > The same rules should apply to `auto`. No, it's different, because `auto` doesn't compute as a length. `auto` is closer to a percentage, which also stays as a percentage in the compute value (always referring to `width` and `height`). But `calc()` knows how to handle a mix of lengths and percentages, that's not the case with `auto`. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/626#issuecomment-1054645675 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 28 February 2022 20:44:07 UTC