[fxtf-drafts] [compositing] mix blend mode does not work in the following configuration, I would like to understand why (#518)

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

== [compositing] mix blend mode does not work in the following configuration, I would like to understand why ==
in the following example I apply the mix-blend-mode
but it gives no effect
The color of the second div on the first is the same as
if we remove the mix-blend-mode property from the div between the two.

    ========= Cs ( source color)
    ========= mix-blend-mode
    ========= Cb( destination color 


**WITH MIX BLEND MODE**

```
#Cb  {
  width: 100px;
  height: 100px;
  background-color: rgba(0,250,0,1);
}
#blending {
  width:100px;
  height:100px;
  mix-blend-mode:screen;
  margin-top:-54px;
  margin-left:24px;
}
#Cs {
  width: 100px;
  height: 100px; 
  margin-top:-74px;
  margin-left:54px;
  background-color: rgba(0,0,155,0.7);
}
```

```
<div id="Cb"></div>
  
<div id="blending"></div>

<div id="Cs"></div>
```
![image](https://user-images.githubusercontent.com/7129968/207979614-5c841821-58ec-4260-b307-8de99074a8e5.png)

**WITHOUT MIX BLEND MODE**

```
#Cb  {
  width: 100px;
  height: 100px;
  background-color: rgba(0,250,0,1);
}
#blending {
  width:100px;
  height:100px;
  ___mix-blend-mode:screen;
  margin-top:-54px;
  margin-left:24px;
}
#Cs {
  width: 100px;
  height: 100px; 
  margin-top:-74px;
  margin-left:54px;
  background-color: rgba(0,0,155,0.7);
}
```

```
<div id="Cb"></div>
  
<div id="blending"></div>

<div id="Cs"></div>
```
![image](https://user-images.githubusercontent.com/7129968/207979842-e4e5e1a9-5f74-4209-af2b-d5ef45e86026.png)


The result is the same.
It's certainly obvious that I misinterpret this property but I can't find where my mistake is


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


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

Received on Thursday, 1 June 2023 19:03:36 UTC