[Webkit-unassigned] [Bug 266904] New: Add UA Stylesheet rules for 'spelling-error' and 'grammar-error' as per web specification

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 26 16:37:55 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=266904

            Bug ID: 266904
           Summary: Add UA Stylesheet rules for 'spelling-error' and
                    'grammar-error' as per web specification
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: akeerthi at apple.com

Hi Team,

While we have 'spelling-error' and 'grammar-error' support enabled, we have still to add following UA Stylesheet rule:

Web-Spec: https://drafts.csswg.org/css-pseudo/#highlight-ua-styles

/* 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; }

Blink has it here: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/resources/html.css;l=1534;drc=71d14de62bfc0506ea25e88e5660cb82aacf417e

Added by following commit - https://source.chromium.org/chromium/chromium/src/+/f537c6f202b0dd90fd9ca52053f1f4af8afa1fcf

Just raising so we can track and add them.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231227/769f678f/attachment.htm>


More information about the webkit-unassigned mailing list