Bug 248384 - Remove `ink` value from `text-decoration-skip`
Summary: Remove `ink` value from `text-decoration-skip`
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-11-28 00:43 PST by Tim Nguyen (:ntim)
Modified: 2022-12-05 00:44 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2022-11-28 00:43:24 PST
Currently, we support `none`/`auto`/`ink` for the `text-decoration-skip` shorthand. Currently, `ink` is an alias for `auto`.

However, the spec only defines 2 values: https://w3c.github.io/csswg-drafts/css-text-decor-4/#text-decoration-skipping

We should remove `ink`.

I expect web compat fallout to be close to none, given:
- `ink` has the same behavior as `auto` (which is the default value), so the only scenario this would cause a behavior change is if one ancestor style has `text-decoration-skip: none`
- Chrome has unshipped the entire `text-decoration-skip` property, Firefox does not support it.

For books, it would be trivial to patch this from a content script if really needed, although I suspect fallout is extremely small.
Comment 1 Tim Nguyen (:ntim) 2022-11-28 00:58:10 PST
Ah, it seems like the whole point of the `ink` value was for `-webkit-text-decoration-skip: ink`.
Comment 2 Radar WebKit Bug Importer 2022-12-05 00:44:16 PST
<rdar://problem/102972138>