From 3794340e9db395762257e1752a9406903469cbab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=80=E4=B8=9D?=
Date: Mon, 19 Sep 2022 17:07:03 +0800
Subject: [PATCH] [css-values-4] Add `revert` and `revert-layer` to CSS-wide
keywords.
---
css-values-4/Overview.bs | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/css-values-4/Overview.bs b/css-values-4/Overview.bs
index 92f3a28db67..9ce0fb581f5 100644
--- a/css-values-4/Overview.bs
+++ b/css-values-4/Overview.bs
@@ -604,16 +604,28 @@ Pre-defined Keywords
-CSS-wide keywords: ''initial'', ''inherit'' and ''unset''
+CSS-wide keywords: ''initial'', ''inherit'', ''unset'', ''revert'' and ''revert-layer''
As defined above,
all properties accept the CSS-wide keywords,
which represent value computations common to all CSS properties.
- The ''initial'' keyword represents the value specified as the property's initial value.
- The ''inherit'' keyword represents the computed value of the property on the element's parent.
- The ''unset'' keyword acts as either ''inherit'' or ''initial'',
- depending on whether the property is inherited or not.
+
+ -
+ The ''initial'' keyword represents the value specified as the property's initial value.
+
+ -
+ The ''inherit'' keyword represents the computed value of the property on the element's parent.
+
+ -
+ The ''unset'' keyword acts as either ''inherit'' or ''initial'',
+ depending on whether the property is inherited or not.
+
+ -
+ The ''revert'' and ''revert-layer'' keywords is defined in [[!css-cascade-5]] Explicit Defaulting.
+
+
+
All of these keywords are normatively defined in the Cascade module. [[!CSS3CASCADE]]