W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

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

From: Taylor Hunt via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Nov 2020 02:55:46 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-737415675-1604631345-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC