From 74d1b378edb7b99583beb7512f81870773732830 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Thu, 25 Jul 2024 15:07:10 -0700 Subject: [PATCH] Add spec for appearance:base This was discussed here: https://github.com/w3c/csswg-drafts/issues/5998 --- css-ui-4/Overview.bs | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/css-ui-4/Overview.bs b/css-ui-4/Overview.bs index a93187d6e04..f4106d83775 100644 --- a/css-ui-4/Overview.bs +++ b/css-ui-4/Overview.bs @@ -2111,7 +2111,7 @@ Switching appearance: the 'appearance' property
 	Name: appearance
-	Value: ''appearance/none'' | ''auto'' | <> | <>
+	Value: ''appearance/none'' | ''auto'' | ''base'' | <> | <>
 	Initial: none
 	Applies To: all elements
 	Inherited: no
@@ -2133,7 +2133,10 @@ Switching appearance: the 'appearance' property
 	In particular, using ''appearance: none'' allows authors
 	to suppress the native appearance of widgets,
 	giving them a primitive appearance
-	where CSS can be used to restyle them.
+  where CSS can be used to restyle them. Using ''appearance: base'' also
+  suppresses the native appearance of widgets and additionally
+  enables additional styling capabilities and interoperability, giving them a
+  base appearance.
 
 	
Note on the history of this feature @@ -2199,6 +2202,18 @@ Switching appearance: the 'appearance' property Elements other than widgets must be rendered as for ''appearance/none''. +
base +
+ Just like ''appearance/none'', the element is rendered following the + usual rules of CSS. Replaced elements other than widgets are not + affected by this and remain replaced elements. Widgets must not + have their native appearance, and instead must have their base + appearance. + + Widgets which don't have a base appearance must be rendered + as for ''appearance/auto''. The host language is responsible for defining + which widgets have a base appearance. +
<compat-auto>
These values exist for compatibility of content developed