Skip to content

[filter-effects] Should root propagate filter to the viewport? #13242

@Loirooriol

Description

@Loirooriol

In Servo we got a bug report 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 I guess it makes sense to do it.

<!DOCTYPE html>
<style>
:root {
  background: red;
  border: 10px solid red;
  filter: hue-rotate(120deg);
}
</style>
Servo Gecko, Blink, WebKit
Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions