W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2020

[csswg-drafts] [css-cascade] Do we need a keyword similar to `revert`, but for cascade layers? (#5793)

From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
Date: Mon, 14 Dec 2020 23:43:39 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-767022199-1607989418-sysbot+gh@w3.org>
mirisuzanne has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade] Do we need a keyword similar to `revert`, but for cascade layers? ==
Cascade Level 4 added the [`revert` keyword](https://drafts.csswg.org/css-cascade/#default) for rolling back values to their definition in the previous origin.

In the draft Cascade 5 specification we provide [cascade layers](https://drafts.csswg.org/css-cascade-5/#nested-layers), which are conceptually similar to origins – but controlled by authors. It might be helpful to provide a similar syntax for rolling back to the value defined in previous layers.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5793 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 14 December 2020 23:43:40 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:24 UTC