[Webkit-unassigned] [Bug 168651] New: Custom cursor with shadow not rendered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 21 03:15:52 PST 2017


            Bug ID: 168651
           Summary: Custom cursor with shadow not rendered
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gunnar at bittersmann.de

I’ve created a custom cursor:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="-6 -4 12 10" width="24px" height="16px" filter="drop-shadow(0px 2px 1px #666)">
    <g id="border" fill="white">
        <circle cx="0" cy="0" r="1.707"/>
        <polygon points="-6 0, -1.293 -3.707, -1.293 3.707"/>
        <polygon points="6 0, 1.293 -3.707, 1.293 3.707"/>
    <g fill="black">
        <circle cx="0" cy="0" r="1"/>
        <polygon points="-4.667 0, -2 -2, -2 2"/>
        <polygon points="4.667 0, 2 -2, 2 2"/>

and used it in the stylesheet:

    cursor: url('/calendar/styles/ew-scroll.svg') 12 8, all-scroll;

The cursor shows up in Chrome (blurred on Retina displays, but that’s another bug), but no cursor is rendered in Safari, i.e. neither the custom cursor nor the default all-scroll cursor.

When removing the filter attribut, the cursor is visible in Safari.

The behavior is the same when filter is not set via attribute but as a CSS rule in a style element.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170221/dad00d9e/attachment-0001.html>

More information about the webkit-unassigned mailing list