Bug 201336

Summary: CSS invert() filter does not apply to the body element
Product: WebKit Reporter: Nicholas Shanks <nickshanks>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=261806
Attachments:
Description Flags
Reduction none

Nicholas Shanks
Reported 2019-08-30 03:58:07 PDT
Created attachment 377697 [details] Reduction When the BODY element is selected, the CSS invert() filter does not get applied. Changing the CSS selector to ":root", "html", "h1", or "p" applies the filter to the selected element; changing the selector to ":root>*" or "html>*" does not apply the filter, i.e. it is the matched element, not the selector used, that is causing the problem.
Attachments
Reduction (308 bytes, text/html)
2019-08-30 03:58 PDT, Nicholas Shanks
no flags
Radar WebKit Bug Importer
Comment 1 2019-08-30 09:19:30 PDT
Note You need to log in before you can comment on or make changes to this bug.