Bug 248384
Summary: | Remove `ink` value from `text-decoration-skip` | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | karlcow, webkit-bug-importer |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Tim Nguyen (:ntim)
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Tim Nguyen (:ntim)
Ah, it seems like the whole point of the `ink` value was for `-webkit-text-decoration-skip: ink`.
Radar WebKit Bug Importer
<rdar://problem/102972138>