NEW 187176
pointer events trigger repaint if use SVG in CSS variable
https://bugs.webkit.org/show_bug.cgi?id=187176
Summary pointer events trigger repaint if use SVG in CSS variable
asci
Reported 2018-06-29 05:35:01 PDT
Created attachment 343909 [details] code from codesandbox example ## Steps to reproduce Basically you need to have SVG image as background Put this image in custom property (CSS variable) Use this CSS variable on some class Use this class on the element Add code to toggle pointer-events on this element Open web inspector and toggle flashes on repaint Toggle pointer events on the element ## What is the expected behavior? no repaints of element ## What went wrong? browser repaints the whole element Here is live example: https://codesandbox.io/s/3r67morj8p
Attachments
code from codesandbox example (3.51 KB, application/zip)
2018-06-29 05:35 PDT, asci
no flags
Radar WebKit Bug Importer
Comment 1 2018-06-29 16:13:57 PDT
Note You need to log in before you can comment on or make changes to this bug.