Re: [csswg-drafts] [css-cascade][css-syntax] New `!revertable` flag to mark a declaration as "can be reverted when IACVT" (#10443)

```css
#foo {
  height: 1px;
  block-size: 2px;
  height: var(--invalid) !revertable;
}
```

Assuming an horizontal writing mode, should this revert to 2px or 1px? I guess 2px like `revert-layer` would do in different layers, but it seems extra annoying for CSSOM.

I wonder if it would make more sense to add an entirely new rule like

```css
@revertable #foo {
  height: 1px;
  block-size: 2px;
  height: var(--invalid);
}
```

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


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

Received on Friday, 14 June 2024 22:59:38 UTC