From 89466514ab0df5ac42aaeec758c1bb19b24342f4 Mon Sep 17 00:00:00 2001 From: fantasai Date: Tue, 15 Oct 2024 00:37:55 -0400 Subject: [PATCH] [css-pseudo-4] Use shorthand to make it slightly more obvious that it needs to be reset to be styled #9233 --- css-pseudo-4/Overview.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css-pseudo-4/Overview.bs b/css-pseudo-4/Overview.bs index 3fcac23435b..050fb3f474b 100644 --- a/css-pseudo-4/Overview.bs +++ b/css-pseudo-4/Overview.bs @@ -952,8 +952,8 @@ Default UA Styles The following additions are recommended for the default UA stylesheet:
     /* Represent default spelling/grammar error styling in an adjustable way */
-    :root::spelling-error { text-decoration-line: spelling-error; }
-    :root::grammar-error  { text-decoration-line: grammar-error; }
+    :root::spelling-error { text-decoration: spelling-error; }
+    :root::grammar-error  { text-decoration: grammar-error; }
   
Some [=highlight pseudo-elements=]