[csswg-drafts] [css-pseudo-4] Other properties that should be included (#5700)

tigt has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo-4] Other properties that should be included ==
https://www.w3.org/TR/css-pseudo-4/#highlight-styling

> **ISSUE 1**  Are there any other properties that should be included here?

Thinking about making `::highlight()` work in Contrast-Mode, it seems like the following should be included:

* `outline` and its sub-properties
* `border-width`, `-color`, `-style`, `-radius`, and the assorted `border-image` properties
* `padding` to support drawing `outline`/`border-*` properties further away
* `box-decoration-break` (and I would argue for it to default to `clone`)

There’s also prior art for this in Electron-based text editors, such as this in VS Code: https://github.com/microsoft/vscode/issues/54074


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5700 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 6 November 2020 02:55:48 UTC