We should support the `clip-path` property: - https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path - https://drafts.fxtf.org/css-masking/#the-clip-path Our underlying rendering engine(s) support arbitrary paths as clips so this mostly be a matter of: - Translating Stylo's [ClipPath](https://docs.rs/stylo/latest/style/values/computed/basic_shape/type.ClipPath.html) into a Kurbo [impl Shape](https://docs.rs/kurbo/latest/kurbo/trait.Shape.html) - Some logic to resolve the path against the specific [geometry-box](https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path#geometry-box) Tricky cases could be left out of the initial implementation.
We should support the
clip-pathproperty:Our underlying rendering engine(s) support arbitrary paths as clips so this mostly be a matter of:
Tricky cases could be left out of the initial implementation.