Open
Description
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-propertiesborder-width
,-color
,-style
,-radius
, and the assortedborder-image
propertiespadding
to support drawingoutline
/border-*
properties further awaybox-decoration-break
(and I would argue for it to default toclone
)
There’s also prior art for this in Electron-based text editors, such as this in VS Code: microsoft/vscode#54074