Re: [csswg-drafts] [css-color-5] Declared value serializations of absolute and relative colors (#10305)

Or to give a concrete example. Take the following element:

```html
<div id=target style="background-color: rgb(from color(srgb 2 1 1) calc(r / 2) g b);"></div>
```

what should the output of the following JS be:

```js
document.getElementById("target").style["background-color"]
```

and should it differ from:

```js
window.getComputedStyle(document.getElementById("target"))["background-color"]
```

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


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

Received on Wednesday, 22 May 2024 18:03:41 UTC