[csswg-drafts] [filter-effects] Should root propagate `filter` to the viewport (#13242)

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

== [filter-effects] Should root propagate `filter` to the viewport ==
In Servo we got a [bug report](https://github.com/servo/servo/issues/41375) because we are not propagating it, but other browsers do.

I don't see https://drafts.csswg.org/filter-effects-1/#FilterProperty saying that it should be propagated, but it makes sense to do it.

```html
<!DOCTYPE html>
<style>
:root {
  background: red;
  border: 10px solid red;
  filter: hue-rotate(120deg);
}
</style>
```

| Servo | Gecko, Blink, WebKit |
| - | - |
| <img width="219" height="120" alt="Image" src="https://github.com/user-attachments/assets/6d8bf64b-59ba-4257-af5d-2960181d40fd" /> | <img width="219" height="120" alt="Image" src="https://github.com/user-attachments/assets/78366b63-c69b-475e-bf59-58d870bf1c6a" /> |

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


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

Received on Thursday, 18 December 2025 17:44:18 UTC