[fxtf-drafts] [filter-effects-1] What is the visual effect of filter() on the document element?

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

== [filter-effects-1] What is the visual effect of filter() on the document element? ==
WebKit and other browsers disagree about the visual rendering of filter() on the document root element:

`html {
    filter: invert(1);
    background-color: blue;
}`

[https://codepen.io/smfr/pen/LmxZZP](https://codepen.io/smfr/pen/LmxZZP)

Safari renders white text on yellow, Blink/Firefox render white text on blue.

Should the root background be affected by the filter()? I would expect yes, making WebKit behavior correct.

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

Received on Saturday, 28 April 2018 19:09:55 UTC