WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
266904
Add UA Stylesheet rules for 'spelling-error' and 'grammar-error' as per web specification
https://bugs.webkit.org/show_bug.cgi?id=266904
Summary
Add UA Stylesheet rules for 'spelling-error' and 'grammar-error' as per web s...
Ahmad Saleem
Reported
2023-12-26 16:37:55 PST
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!
Attachments
Add attachment
proposed patch, testcase, etc.
Aditya Keerthi
Comment 1
2023-12-26 16:52:29 PST
Thanks! We'll need to implement the new text-decoration-line values first. Which should be simple, but it looks like we're out of bits in NonInheritedFlags :(
Radar WebKit Bug Importer
Comment 2
2024-01-02 16:38:31 PST
<
rdar://problem/120392078
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug