Re: [csswg-drafts] [css-backgrounds] Add `background-opacity` as an alternative to Relative Color (Color Module Level 5) (#8465)

@svgeesus
> Actually no, [looking at the results](https://wpt.fyi/results/css/css-color/parsing?label=master&label=experimental&aligned&view=subtest&q=relative) Safari has 100% passes (2076 / 2076) on RCS in the WPT tests, Chrome and Firefox are also working on it.

Safari has it under Experimental feature which mean it will probably not ship in the next stable release.

> Your example shows that RCS is pretty simple although there is no need to use rgb() there:

I'm not sure what you mean here. You copy pasted the same code block.
Maybe my exemple is wrong, I did not test it. It was more meant to understand my proposal.

> what happens if another stylesheet does 

I don't know what you mean, this exemple was not part of my proposal.
It what will eventually ship, so I have no idea what the behavior should be.

> In your proposal, would the alpha of the color and the background opacity get multiplied together?
> Is this (group) opacity, or an additional alpha value?

I don't know, it would be up to working group to decide, it doesn't matter for me as I would never use it that way.

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


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

Received on Saturday, 18 February 2023 20:26:00 UTC