[Webkit-unassigned] [Bug 258215] New: clip-path <geometry-box> doesn't support content-box, padding-box, border-box, margin-box for HTML elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 16 09:17:33 PDT 2023


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

            Bug ID: 258215
           Summary: clip-path <geometry-box> doesn't support content-box,
                    padding-box, border-box, margin-box for HTML elements
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: michael4css at gmail.com

content-box, padding-box, border-box or margin-box causes the clip-path property to be ignored. I'm not sure if they are relevant for SVG, but I'd imagine they should work for HTML.

See the full example list on MDN at https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path#comparison_of_html_and_svg for examples. The cases identified include additional shapes (circles, paths, etc) but it should also work without the additional shapes.

-- 
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/20230616/eabcd209/attachment-0001.htm>


More information about the webkit-unassigned mailing list