[Webkit-unassigned] [Bug 272888] New: Origin for clip-path: xywh shape is not aligned to the element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 18 03:45:48 PDT 2024


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

            Bug ID: 272888
           Summary: Origin for clip-path: xywh shape is not aligned to the
                    element
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bart at tremby.net

See repro at https://codepen.io/tremby/pen/BaEqYBg

On other browsers (Firefox, Chromium), I see the whole box and its thick border, because the clip-path is set to cover the whole element.

On Safari I see the same thing as long as the element is at the very top left of the viewport (or maybe some other offset parent; I didn't dig this far). But if it's away from the corner like it is in the example, in this case due to margins, it seems like the clip area is the right size and shape, but starting in the top left corner of the document.

-- 
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/20240418/798ae092/attachment.htm>


More information about the webkit-unassigned mailing list