[csswg-drafts] [css-highlight-api] Need clarification on expected default values for style properties (#6375)

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

== [css-highlight-api] Need clarification on expected default values for style properties ==
I didn't find any statement on default values for style properties of ::highlight in the [spec draft](https://drafts.csswg.org/css-highlight-api-1/). There are some default values in the [spec for pseudos](https://drafts.csswg.org/css-pseudo-4/#highlight-ua-styles ) but ::highlight is not in the list. Also in the [spec draft of ::highlight](https://drafts.csswg.org/css-highlight-api-1/) there's no mention of it. 

Should it use no visual effects or should it use for example [Highlight/HighlightText](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/layout_theme.cc;l=593;drc=c06511a314747fab345af58b8523eec1b36caf05;bpv=1;bpt=1) colors instead? I assume it's taking no visual effects as default values (as in when background-color is not specified inside a ::highlight(foo) then the content's background is the same as if there was no ::highlight defined), but maybe it should be explicitly stated?

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


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

Received on Thursday, 10 June 2021 16:53:47 UTC