From c790f28d628d45d8653eaa8d4dda6a9ef49b80c0 Mon Sep 17 00:00:00 2001 From: "Myles C. Maxfield" Date: Thu, 23 Sep 2021 23:38:37 -0700 Subject: [PATCH] [css-fonts] Context for resolving override-color colors Fixes https://github.com/w3c/csswg-drafts/issues/6680. --- css-color-4/Overview.bs | 10 +++++++--- css-fonts-4/Overview.bs | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/css-color-4/Overview.bs b/css-color-4/Overview.bs index 38003cbddac..7de9b18e6c9 100644 --- a/css-color-4/Overview.bs +++ b/css-color-4/Overview.bs @@ -399,11 +399,14 @@ Representing Colors: the <> type Colors in CSS are represented by the <> type:
-	<color> = <> | <> | currentcolor | transparent |
+	<color> = <> | currentcolor | <> | <>
+
+	<absolute-color> = <> | <>
+
+	<absolute-color-base> = <> | <> | transparent |
 	    <> | <> | <> | <> | <> |
 	    <> | <> |
-	    <> | <> |
-	    <>
+	    <>
 	
The color-functions are <>, <>, @@ -4288,6 +4291,7 @@ Uncalibrated CMYK Colors: the ''device-cmyk()'' function
 		device-cmyk() = device-cmyk( <>{4} [ / <> ]? , <>? )
+		<absolute-device-cmyk> = device-cmyk( <>{4} [ / <> ]? , <>? )
 		<cmyk-component> = <> | <>
 	
diff --git a/css-fonts-4/Overview.bs b/css-fonts-4/Overview.bs index b5b6ed20793..92838aedd88 100644 --- a/css-fonts-4/Overview.bs +++ b/css-fonts-4/Overview.bs @@ -6528,7 +6528,7 @@ Overriding a color from a palette: The 'override-color!!descriptor' descriptor Name: override-color - Value: [ [ <> | <> ] <> ]# + Value: [ [ <> | <> ] <> ]# For: @font-palette-values Initial: N/A