[Webkit-unassigned] [Bug 187176] New: pointer events trigger repaint if use SVG in CSS variable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 29 05:35:01 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187176

            Bug ID: 187176
           Summary: pointer events trigger repaint if use SVG in CSS
                    variable
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: asci at yandex.ru

Created attachment 343909

  --> https://bugs.webkit.org/attachment.cgi?id=343909&action=review

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180629/6dddf108/attachment.html>


More information about the webkit-unassigned mailing list