[Webkit-unassigned] [Bug 196761] New: unprefixed clip-path present, but doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 9 21:29:37 PDT 2019


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

            Bug ID: 196761
           Summary: unprefixed clip-path present, but doesn't work
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jack at greensock.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

The JavaScript element.style.clipPath is present (returns "" instead of undefined), indicating a prefix is NOT needed. However, if you apply a clipPath (without the -webkit- prefix), it doesn't work! Here's a reduced test case:

https://codepen.io/GreenSock/pen/4ec363d7fca960b501b390634fdf2e39?editors=0010

For a non-valid property (like element.style.bogus), undefined is returned (correct). So this clipPath behavior is very confusing (and I'd say clearly a bug). The element.style.clipPath test is passing, but functionality fails. It should either be fully functional in unprefixed form, or element.style.clipPath should return undefined.

Possibly a related thread: https://bugs.webkit.org/show_bug.cgi?id=187888

-- 
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/20190410/5f54a95a/attachment-0001.html>


More information about the webkit-unassigned mailing list