Re: [csswg-drafts] [css-page] Should page descriptors support `!important`? (#5970)

I'll confess to missing the first part of the discussion on this, but it sounded more general than this issue would indicate, with concerns about whether the page context should inherit from :root at all.

I'm strongly for @page to (continue) to inherit from :root:
* that's how it's specified to work in [css-page](https://www.w3.org/TR/css-page-3/#page-properties): "_page-margin boxes inherit from the page context. The page context inherits from the root element._". Changing this now would break stuff.
 * as mentioned in https://github.com/w3c/csswg-drafts/issues/4759, it's the only way I can see to make counter values sane. Specifically, a counter used in a page margin must inherit from the same counter value created in :root, in order to work without magic.

Given that, I don't see how custom properties could work any differently.

Re. the use of @page in in relation to media queries - definitely worth separating that out as a new issue. Some discussion at the bottom of https://github.com/w3c/csswg-drafts/issues/5437


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


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

Received on Wednesday, 17 February 2021 18:19:06 UTC