Re: [csswg-drafts] [css-color-5] What should the behavior of the CSS Color 5 color functions be when passed `currentcolor` as <color> (#6168)

To have a concrete example to discuss (initial value of `text-emphasis-color` is currentColor)

```css
div { color: black; }
p { color: color-mix(in oklab, currentColor 60%, white 40%); }
em { text-emphasis: dot; }
strong { color: red; }
```
```html
<div><p><em>Some <strong>really</strong> emphasized text.</em></div>
```

so on the `p` and `em`, the used value of color will be the result of  `color-mix(in oklab, black 60%, white 40%);` and on the `strong` it will be the result of `color-mix(in oklab, red 60%, white 40%);` right?

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6168#issuecomment-1143745596 using your GitHub account


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

Received on Wednesday, 1 June 2022 15:18:45 UTC