- From: Mike Bremford via GitHub <sysbot+gh@w3.org>
- Date: Tue, 16 Aug 2022 10:08:59 +0000
- To: public-css-archive@w3.org
[CSS page](https://www.w3.org/TR/css-page-3/#page-properties) states: > page-margin boxes inherit from the page context. The page context inherits from the root element. I would absolutely expect this to apply to to custom properties as well as regular properties, and having tested the implementations at https://printcss.live all but one of the implementations that support custom properties also support them in the `@page` rule for <strike>properties</strike> descriptors such as `color`. I didn't test for `size`, but we don't make any distinction between descriptors and properties at parse time - and from the discussion in https://github.com/w3c/csswg-drafts/issues/820 I think this is typical. So I don't see any reason to prevent them applying to `size`. For `@page` and the page margin at-rules, the distinction between property and descriptor is not so useful: `color`, `content`, `font-family` etc. all apply in exactly the same way they do in normal layout , so trying to enforce different parsing rules would be a mistake IMHO. I'm not familiar enough with `@keyframe` or `@nest` but if they inherit from `:root` I suspect I'd probably make the same argument for those too. -- GitHub Notification of comment by faceless2 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5969#issuecomment-1216433727 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 16 August 2022 10:09:01 UTC