Re: [csswg-drafts] [css-page] [css-variables-2] Allow use of css-variables in page contexts (#4761)

I'm not sure whether it provoked @faceless2's post or if this is just serendipity, but Prince XML recently announced that they will be supporting CSS variables ([tweet](https://twitter.com/prince_xml/status/1225375911169679360), [release notes](https://princexml.com/releases/13/)):

>  Prince 13.1 adds support for CSS variables in `@page` rules and margin boxes; changes the `@page` rules to inherit from the document root element;

I don't have any more details, but I'd guess that includes setting variables (`--space: 20px`) in the page context and using variables set for the page or for the document root element (`margin: calc(3 * var(--space))`).

I assume that it doesn't address this specific issue (having other contents inherit or evaluate variables set in the page context) since there's no clear cascade rule for that yet.

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

Received on Saturday, 8 February 2020 22:15:53 UTC