Bug 258215 - clip-path <geometry-box> doesn't support content-box, padding-box, border-box, margin-box for HTML elements
Summary: clip-path <geometry-box> doesn't support content-box, padding-box, border-box...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-16 09:17 PDT by Michael Landis
Modified: 2023-06-23 09:18 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Landis 2023-06-16 09:17:33 PDT
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.
Comment 1 Radar WebKit Bug Importer 2023-06-23 09:18:17 PDT
<rdar://problem/111219796>