Bug 258215
| Summary: | clip-path <geometry-box> doesn't support content-box, padding-box, border-box, margin-box for HTML elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Landis <michael4css> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Michael Landis
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111219796>